#include "SMESH_Gen.hxx"#include "SMESH_DriverMesh.hxx"#include "SMDS_Mesh.hxx"#include "SMDS_MeshElement.hxx"#include "SMDS_MeshNode.hxx"#include "SMESHDS_Document.hxx"#include "SMESH_HypoFilter.hxx"#include "SMESH_Mesh.hxx"#include "SMESH_SequentialMesh.hxx"#include "SMESH_ParallelMesh.hxx"#include "SMESH_MesherHelper.hxx"#include "SMESH_subMesh.hxx"#include <utilities.h>#include <Utils_ExceptHandlers.hxx>#include <TopExp_Explorer.hxx>#include <TopoDS.hxx>#include <TopoDS_Iterator.hxx>#include "memoire.h"#include <functional>#include <QString>#include <QProcess>#include <Basics_Utils.hxx>#include <boost/asio.hpp>#include <boost/filesystem.hpp>
Macros | |
| #define | env_sep ':' |
Functions | |
| const std::function< void(SMESH_subMesh *, SMESH_subMesh::compute_event, SMESH_subMesh *, bool, TopTools_IndexedMapOfShape *, TSetOfInt *)> | compute_function ([](SMESH_subMesh *sm, SMESH_subMesh::compute_event event, SMESH_subMesh *shapeSM, bool aShapeOnly, TopTools_IndexedMapOfShape *allowedSubShapes, TSetOfInt *aShapesId) -> void { if(sm->GetComputeState()==SMESH_subMesh::READY_TO_COMPUTE) { sm->SetAllowedSubShapes(fillAllowed(shapeSM, aShapeOnly, allowedSubShapes));sm->ComputeStateEngine(event);sm->SetAllowedSubShapes(nullptr);} if(aShapesId) aShapesId->insert(sm->GetId());}) |
| static bool | checkConformIgnoredAlgos (SMESH_Mesh &aMesh, SMESH_subMesh *aSubMesh, const SMESH_Algo *aGlobIgnoAlgo, const SMESH_Algo *aLocIgnoAlgo, bool &checkConform, set< SMESH_subMesh * > &aCheckedMap, list< SMESH_Gen::TAlgoStateError > &theErrors) |
| static bool | checkMissing (SMESH_Gen *aGen, SMESH_Mesh &aMesh, SMESH_subMesh *aSubMesh, const int aTopAlgoDim, bool *globalChecked, const bool checkNoAlgo, set< SMESH_subMesh * > &aCheckedMap, list< SMESH_Gen::TAlgoStateError > &theErrors) |
| #define env_sep ':' |
|
static |
References checkConformIgnoredAlgos(), SMESH_subMesh::getDependsOnIterator(), SMESH_Hypothesis::GetDim(), SMESHDS_Mesh::GetHypothesis(), SMESH_Mesh::GetMeshDS(), SMESHDS_Hypothesis::GetName(), SMESH_subMesh::GetSubShape(), SMESHDS_Hypothesis::GetType(), SMESH_Hypothesis::HYP_HIDDEN_ALGO, SMESH_Hypothesis::HYP_NOTCONFORM, SMESH_subMesh::IsConform(), SMESH_Mesh::IsMainShape(), SMESH_Algo::NeedDiscreteBoundary(), SMESH_Algo::NeedLowerHyps(), SMESHDS_Hypothesis::PARAM_ALGO, and SMESH_Algo::SupportSubmeshes().
Referenced by checkConformIgnoredAlgos(), and SMESH_Gen::GetAlgoState().
|
static |
References SMESH_Algo::CheckHypothesis(), checkMissing(), SMESH_subMesh::GetAlgo(), SMESH_subMesh::GetAlgoState(), SMESH_subMesh::getDependsOnIterator(), SMESH_Hypothesis::GetDim(), SMESHDS_Hypothesis::GetName(), SMESH_Gen::GetShapeDim(), SMESH_subMesh::GetSubShape(), SMESH_Hypothesis::HYP_BAD_GEOMETRY, SMESH_Hypothesis::HYP_BAD_PARAMETER, SMESH_Hypothesis::HYP_MISSING, SMESH_subMesh::HYP_OK, SMESH_Gen::IsGlobalHypothesis(), MESSAGE, SMESH_subMesh::MISSING_HYP, SMESH_Algo::NeedDiscreteBoundary(), and SMESH_subMesh::NO_ALGO.
Referenced by checkMissing(), and SMESH_Gen::GetAlgoState().
| const std::function< void(SMESH_subMesh *, SMESH_subMesh::compute_event, SMESH_subMesh *, bool, TopTools_IndexedMapOfShape *, TSetOfInt *)> compute_function | ( | [] (SMESH_subMesh *sm, SMESH_subMesh::compute_event event, SMESH_subMesh *shapeSM, bool aShapeOnly, TopTools_IndexedMapOfShape *allowedSubShapes, TSetOfInt *aShapesId) -> void { if(sm->GetComputeState()==SMESH_subMesh::READY_TO_COMPUTE) { sm->SetAllowedSubShapes(fillAllowed(shapeSM, aShapeOnly, allowedSubShapes));sm->ComputeStateEngine(event);sm->SetAllowedSubShapes(nullptr);} if(aShapesId) aShapesId->insert(sm->GetId());} | ) |
References SMESH_subMesh::GetComputeState(), SMESH_subMesh::GetId(), SMESH::if(), and SMESH_subMesh::READY_TO_COMPUTE.
Referenced by SMESH_Gen::parallelComputeSubMeshes().