From 90e5b0270cea80ecdc857d5f57e7aa8c5a12467b Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 17 May 2021 13:43:00 +0200 Subject: [PATCH] Corrected prototype of function setLinearSolver --- CoreFlows/Models/src/ProblemCoreFlows.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CoreFlows/Models/src/ProblemCoreFlows.cxx b/CoreFlows/Models/src/ProblemCoreFlows.cxx index 8ad77cb..d9f1c64 100755 --- a/CoreFlows/Models/src/ProblemCoreFlows.cxx +++ b/CoreFlows/Models/src/ProblemCoreFlows.cxx @@ -368,9 +368,9 @@ Mesh ProblemCoreFlows::getMesh() return _mesh; } -void ProblemCoreFlows::setLinearSolver(linearSolver kspType, preconditioner pcType) +void ProblemCoreFlows::setLinearSolver(linearSolver kspType, preconditioner pcType, double maxIts) { - //_maxPetscIts=maxIterationsPetsc; + _maxPetscIts=maxIts; // set linear solver algorithm if (kspType==GMRES) _ksptype = (char*)&KSPGMRES; @@ -586,6 +586,7 @@ bool ProblemCoreFlows::solveTimeStep(){ return converged; } + ProblemCoreFlows::~ProblemCoreFlows() { /* -- 2.39.2