]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Corrected errors in previous commits
authormichael <michael@localhost.localdomain>
Fri, 5 Nov 2021 23:16:06 +0000 (00:16 +0100)
committermichael <michael@localhost.localdomain>
Fri, 5 Nov 2021 23:16:06 +0000 (00:16 +0100)
CDMATH/mesh/src/Field.cxx
CoreFlows/Models/src/ProblemCoreFlows.cxx
CoreFlows/Models/src/StationaryDiffusionEquation.cxx

index 6887ea06d7aeb1cfd7d23b1a80602e92468605c0..268af9766c7547116c41330d5ada081e9e6bd836 100755 (executable)
@@ -7,6 +7,7 @@
 
 #include "Node.hxx"
 #include "Cell.hxx"
+#include "Face.hxx"
 #include "Field.hxx"
 #include "MEDFileMesh.hxx"
 #include "MEDLoader.hxx"
index b34f353e61bcb2fef9df263734af849a7e12f859..05ec96bd82fa24a41371db7ec11fc58980ccc6ce 100755 (executable)
@@ -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;
index a2d5c778f1befd5b833694eaceb8afbaf1773410..9e6fdc0cafbf70edc69771b83d405540560f4b77 100755 (executable)
@@ -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;