From 4a7795948fbfa54aa998932922b9daff4e62b9b1 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Thu, 5 Jan 2006 17:18:16 +0000 Subject: [PATCH] bugfix [[Imported from SVN: r664]] --- staticrod2.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staticrod2.cc b/staticrod2.cc index eb9fad82..81905c49 100644 --- a/staticrod2.cc +++ b/staticrod2.cc @@ -186,7 +186,7 @@ int main (int argc, char *argv[]) try MatrixType hessianMatrix; RodAssembler<GridType,4> rodAssembler(grid); - rodAssembler.setParameters(1, 100, 100); + rodAssembler.setParameters(1, 350000, 350000); MatrixIndexSet indices(grid.size(toplevel,1), grid.size(toplevel,1)); rodAssembler.getNeighborsPerVertex(indices); @@ -278,7 +278,7 @@ int main (int argc, char *argv[]) try corr = contactMMGStep.getSol(); printf("infinity norm of the correction: %g\n", corr.infinity_norm()); - if (corr[0].infinity_norm() < 1e-5 && corr[1].infinity_norm() < 1e-5) { + if (corr.infinity_norm()) { std::cout << "CORRECTION IS SMALL ENOUGH" << std::endl; break; } -- GitLab