Guard MEFISTO code with version check against SMESH.

This commit is contained in:
Alexander Neumann
2023-12-17 22:58:04 +01:00
committed by Chris Hennes
parent 71df82dad3
commit 2bf42925f5
7 changed files with 24 additions and 4 deletions

View File

@@ -354,6 +354,7 @@ public:
Py::Object getNumLayers(const Py::Tuple& args);
};
#if SMESH_VERSION_MAJOR <= 9 && SMESH_VERSION_MINOR < 10
class StdMeshers_MEFISTO_2DPy: public SMESH_HypothesisPy<StdMeshers_MEFISTO_2DPy>
{
public:
@@ -361,6 +362,7 @@ public:
StdMeshers_MEFISTO_2DPy(int hypId, SMESH_Gen* gen);
~StdMeshers_MEFISTO_2DPy();
};
#endif
class StdMeshers_MaxElementVolumePy: public SMESH_HypothesisPy<StdMeshers_MaxElementVolumePy>
{
@@ -693,6 +695,7 @@ public:
Py::Object getNumLayers(const Py::Tuple& args);
};
#if SMESH_VERSION_MAJOR <= 9 && SMESH_VERSION_MINOR < 10
class StdMeshers_MEFISTO_2DPy: public SMESH_HypothesisPy<StdMeshers_MEFISTO_2DPy>
{
public:
@@ -700,6 +703,7 @@ public:
StdMeshers_MEFISTO_2DPy(int hypId, int studyId, SMESH_Gen* gen);
~StdMeshers_MEFISTO_2DPy() override;
};
#endif
class StdMeshers_MaxElementVolumePy: public SMESH_HypothesisPy<StdMeshers_MaxElementVolumePy>
{