From 7c19b89787f08ff33474e219f4684164ea7ef3af Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 6 Nov 2021 00:16:06 +0100 Subject: [PATCH] Corrected errors in previous commits --- CDMATH/mesh/src/Field.cxx | 1 + CoreFlows/Models/src/ProblemCoreFlows.cxx | 2 +- CoreFlows/Models/src/StationaryDiffusionEquation.cxx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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; -- 2.39.2