From: michael Date: Fri, 5 Nov 2021 23:16:06 +0000 (+0100) Subject: Corrected errors in previous commits X-Git-Tag: V9_8_0~46 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7c19b89787f08ff33474e219f4684164ea7ef3af;p=tools%2Fsolverlab.git Corrected errors in previous commits --- diff --git a/CDMATH/mesh/src/Field.cxx b/CDMATH/mesh/src/Field.cxx index 6887ea0..268af97 100755 --- a/CDMATH/mesh/src/Field.cxx +++ b/CDMATH/mesh/src/Field.cxx @@ -7,6 +7,7 @@ #include "Node.hxx" #include "Cell.hxx" +#include "Face.hxx" #include "Field.hxx" #include "MEDFileMesh.hxx" #include "MEDLoader.hxx" diff --git a/CoreFlows/Models/src/ProblemCoreFlows.cxx b/CoreFlows/Models/src/ProblemCoreFlows.cxx index b34f353..05ec96b 100755 --- a/CoreFlows/Models/src/ProblemCoreFlows.cxx +++ b/CoreFlows/Models/src/ProblemCoreFlows.cxx @@ -494,7 +494,7 @@ void ProblemCoreFlows::setLinearSolver(linearSolver kspType, preconditioner pcTy throw CdmathException("!!! Error : only 'GMRES', 'CG' or 'BCGS' algorithm is acceptable !!!"); } // set preconditioner - if (pcType == NOPC) + if (pcType == NONE) _pctype = (char*)&PCNONE; else if (pcType ==LU) _pctype = (char*)&PCLU; diff --git a/CoreFlows/Models/src/StationaryDiffusionEquation.cxx b/CoreFlows/Models/src/StationaryDiffusionEquation.cxx index a2d5c77..9e6fdc0 100755 --- a/CoreFlows/Models/src/StationaryDiffusionEquation.cxx +++ b/CoreFlows/Models/src/StationaryDiffusionEquation.cxx @@ -713,7 +713,7 @@ void StationaryDiffusionEquation::setLinearSolver(linearSolver kspType, precondi throw CdmathException("!!! Error : only 'GMRES', 'CG' or 'BCGS' algorithm is acceptable !!!"); } // set preconditioner - if (pcType == NOPC) + if (pcType == NONE) _pctype = (char*)&PCNONE; else if (pcType ==LU) _pctype = (char*)&PCLU;