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

Move energyNorm

parent 69f28d0e
No related branches found
No related tags found
No related merge requests found
......@@ -226,6 +226,7 @@ int main() {
coefficientOfFriction, normalStress, nodalIntegrals);
// }}}
EnergyNorm<OperatorType, VectorType> energyNorm(stiffnessMatrix);
{
typedef MyConvexProblem<OperatorType, VectorType, Dune::LinearFunction>
MyConvexProblemType;
......@@ -240,8 +241,6 @@ int main() {
nonlinearGSStep.ignoreNodes_ = &ignoreNodes;
nonlinearGSStep.setProblem(u1, myBlockProblem);
// FIXME: Does this make any sense?
EnergyNorm<OperatorType, VectorType> energyNorm(stiffnessMatrix);
LoopSolver<VectorType> solver(&nonlinearGSStep, solver_maxIterations,
solver_tolerance, &energyNorm,
// Solver::QUIET);
......@@ -256,8 +255,6 @@ int main() {
BlockGSStep<OperatorType, VectorType> blockGSStep(stiffnessMatrix, u2, f);
blockGSStep.ignoreNodes_ = &ignoreNodes;
// FIXME: Does this make any sense?
EnergyNorm<OperatorType, VectorType> energyNorm(stiffnessMatrix);
LoopSolver<VectorType> solver(&blockGSStep, solver_maxIterations,
solver_tolerance, &energyNorm,
// Solver::QUIET);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment