From: michael Date: Mon, 17 May 2021 11:43:00 +0000 (+0200) Subject: Corrected prototype of function setLinearSolver X-Git-Tag: V9_7_0~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=90e5b0270cea80ecdc857d5f57e7aa8c5a12467b;p=tools%2Fsolverlab.git Corrected prototype of function setLinearSolver --- 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() { /*