]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Corrected prototype of function setLinearSolver
authormichael <michael@localhost.localdomain>
Mon, 17 May 2021 11:43:00 +0000 (13:43 +0200)
committermichael <michael@localhost.localdomain>
Mon, 17 May 2021 11:43:00 +0000 (13:43 +0200)
CoreFlows/Models/src/ProblemCoreFlows.cxx

index 8ad77cb4ae915f64541eb2ad82b25d3d2bd0f5c9..d9f1c6432f15cd6836bca1cd6a3483ff2c43856e 100755 (executable)
@@ -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()
 {
        /*