Skip to content
Snippets Groups Projects
Commit 4a779594 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

bugfix

[[Imported from SVN: r664]]
parent 39ab75dc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment