From 358861e9de527880370f57d4605e66751ad051be Mon Sep 17 00:00:00 2001 From: Alex_Mueller Date: Mon, 27 May 2024 15:54:37 +0200 Subject: [PATCH] Aktualisieren von iks006_nonlinear2DSolid.cpp --- src/iks006_nonlinear2DSolid.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/iks006_nonlinear2DSolid.cpp b/src/iks006_nonlinear2DSolid.cpp index ce2a5bb..4b1c428 100644 --- a/src/iks006_nonlinear2DSolid.cpp +++ b/src/iks006_nonlinear2DSolid.cpp @@ -203,7 +203,7 @@ using FEType = decltype(makeFE(basis, sk)); { auto linSolver = Ikarus::LinearSolver(Ikarus::SolverTypeTag::sd_UmfPackLU); NewtonRaphsonConfig nrConfig{ - .parameters = {.tol = tol_, .maxIter = 100}, + .parameters = {.tol = 1e-8, .maxIter = 100}, .linearSolver = linSolver }; Ikarus::NonlinearSolverFactory nrFactory(nrConfig); @@ -234,11 +234,6 @@ using FEType = decltype(makeFE(basis, sk)); lc.nonlinearSolver().subscribeAll(nonLinearSolverObserver); lc.subscribeAll(vtkWriter); - const auto& nonLinOp= lc.nonlinearSolver().nonLinearOperator(); - std::cout << "Energy before: " << nonLinOp.value() << std::endl; - lc.run(); - nonLinOp.update<0>(); - std::cout << "Energy after: " << nonLinOp.value() << std::endl; // Postprocessing auto displacementFunction =