Skip to content
Snippets Groups Projects
Commit 2729c13e authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Move energyNorm

parent d61e33ba
No related branches found
No related tags found
No related merge requests found
...@@ -160,6 +160,7 @@ int main() { ...@@ -160,6 +160,7 @@ int main() {
OperatorType stiffnessMatrix; OperatorType stiffnessMatrix;
OperatorAssembler<P1Basis, P1Basis>(p1Basis, p1Basis) OperatorAssembler<P1Basis, P1Basis>(p1Basis, p1Basis)
.assemble(localStiffness, stiffnessMatrix); .assemble(localStiffness, stiffnessMatrix);
EnergyNorm<OperatorType, VectorType> energyNorm(stiffnessMatrix);
Dune::BitSetVector<dim> ignoreNodes(grid.size(grid.maxLevel(), dim), false); Dune::BitSetVector<dim> ignoreNodes(grid.size(grid.maxLevel(), dim), false);
Dune::BitSetVector<1> neumannNodes(grid.size(grid.maxLevel(), dim), false); Dune::BitSetVector<1> neumannNodes(grid.size(grid.maxLevel(), dim), false);
...@@ -198,7 +199,6 @@ int main() { ...@@ -198,7 +199,6 @@ int main() {
coefficientOfFriction, normalStress, nodalIntegrals); coefficientOfFriction, normalStress, nodalIntegrals);
// }}} // }}}
EnergyNorm<OperatorType, VectorType> energyNorm(stiffnessMatrix);
{ {
typedef MyConvexProblem<OperatorType, VectorType, Dune::LinearFunction> typedef MyConvexProblem<OperatorType, VectorType, Dune::LinearFunction>
MyConvexProblemType; MyConvexProblemType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment