#include <SMESH_ParallelMesh.hxx>

Public Types | |
| typedef TopTools_IndexedDataMapOfShapeListOfShape | TAncestorMap |
| Return data map of descendant to ancestor shapes. More... | |
| typedef boost::shared_ptr< SMDS_Iterator< SMESH_Group * > > | GroupIteratorPtr |
Public Member Functions | |
| SMESH_ParallelMesh (int theLocalId, SMESH_Gen *theGen, bool theIsEmbeddedMode, SMESHDS_Document *theDocument) | |
| ~SMESH_ParallelMesh () | |
| void | Lock () override |
| void | Unlock () override |
| void | wait () override |
| void | InitPoolThreads () |
| boost::asio::thread_pool * | GetPool () |
| void | DeletePoolThreads () |
| int | GetPoolNbThreads () |
| Get the number of Threads to be used for the pool of Threads. More... | |
| bool | keepingTmpFolfer () |
| Checking if we should keep the temporary folder They are kept if the variable SMESH_KEEP_TMP is set to higher than 0. More... | |
| void | CreateTmpFolder () |
| Build folder for parallel computation. More... | |
| void | DeleteTmpFolder () |
| Delete temporary folder used for parallel computation. More... | |
| boost::filesystem::path | GetTmpFolder () |
| void | cleanup () |
| bool | IsParallel () override |
| int | GetParallelElement () override |
| Get the element associated to the dimension of the parallelism. More... | |
| int | GetDumpElement () |
| Get the element associated to the dimension of the parallelism. More... | |
| int | GetParallelismMethod () |
| void | SetParallelismMethod (int aMethod) |
| int | GetParallelismDimension () |
| void | SetParallelismDimension (int aDim) |
| int | GetNbThreads () |
| void | SetNbThreads (long nbThreads) |
| Set Number of thread for multithread run. More... | |
| std::string | GetResource () |
| void | SetResource (std::string aResource) |
| int | GetNbProc () |
| void | SetNbProc (long nbProc) |
| int | GetNbProcPerNode () |
| void | SetNbProcPerNode (long nbProcPerNodes) |
| int | GetNbNode () |
| void | SetNbNode (long nbNodes) |
| std::string | GetWcKey () |
| void | SetWcKey (std::string wcKey) |
| std::string | GetWalltime () |
| void | SetWalltime (std::string walltime) |
| bool | ComputeSubMeshes (SMESH_Gen *gen, SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, const ::MeshDimension aDim, TSetOfInt *aShapesId, TopTools_IndexedMapOfShape *allowedSubShapes, SMESH_subMesh::compute_event &computeEvent, const bool includeSelf, const bool complexShapeFirst, const bool aShapeOnly) override |
| void | ShapeToMesh (const TopoDS_Shape &aShape) |
| Set geometry to be meshed. More... | |
| TopoDS_Shape | GetShapeToMesh () const |
| Return geometry to be meshed. More... | |
| bool | HasShapeToMesh () const |
| Return true if there is a geometry to be meshed, not PseudoShape() More... | |
| void | UndefShapeToMesh () |
| double | GetShapeDiagonalSize () const |
| Return diagonal size of bounding box of shape to mesh. More... | |
| void | Load () |
| Load mesh from study file. More... | |
| void | Clear () |
| Remove all nodes and elements. More... | |
| void | ClearSubMesh (const int theShapeId) |
| Remove all nodes and elements of indicated shape. More... | |
| int | UNVToMesh (const char *theFileName) |
| consult DriverMED_R_SMESHDS_Mesh::ReadStatus for returned value More... | |
| int | MEDToMesh (const char *theFileName, const char *theMeshName) |
| std::string | STLToMesh (const char *theFileName) |
| int | CGNSToMesh (const char *theFileName, const int theMeshIndex, std::string &theMeshName) |
| Reads the given mesh from the CGNS file. More... | |
| SMESH_ComputeErrorPtr | GMFToMesh (const char *theFileName, bool theMakeRequiredGroups=true) |
| Fill its data by reading a GMF file. More... | |
| SMESH_Hypothesis::Hypothesis_Status | AddHypothesis (const TopoDS_Shape &aSubShape, int anHypId, std::string *error=0) |
| SMESH_Hypothesis::Hypothesis_Status | RemoveHypothesis (const TopoDS_Shape &aSubShape, int anHypId) |
| const std::list< const SMESHDS_Hypothesis * > & | GetHypothesisList (const TopoDS_Shape &aSubShape) const |
| const SMESH_Hypothesis * | GetHypothesis (const TopoDS_Shape &aSubShape, const SMESH_HypoFilter &aFilter, const bool andAncestors, TopoDS_Shape *assignedTo=0) const |
| Return the hypothesis assigned to the shape. More... | |
| const SMESH_Hypothesis * | GetHypothesis (const SMESH_subMesh *aSubMesh, const SMESH_HypoFilter &aFilter, const bool andAncestors, TopoDS_Shape *assignedTo=0) const |
| Return the hypothesis assigned to the shape of a sub-mesh. More... | |
| SMESH_Hypothesis * | GetHypothesis (const int aHypID) const |
| Return a hypothesis by its ID. More... | |
| int | GetHypotheses (const TopoDS_Shape &aSubShape, const SMESH_HypoFilter &aFilter, std::list< const SMESHDS_Hypothesis * > &aHypList, const bool andAncestors, std::list< TopoDS_Shape > *assignedTo=0) const |
| Return hypotheses assigned to the shape. More... | |
| int | GetHypotheses (const SMESH_subMesh *aSubMesh, const SMESH_HypoFilter &aFilter, std::list< const SMESHDS_Hypothesis * > &aHypList, const bool andAncestors, std::list< TopoDS_Shape > *assignedTo=0) const |
| Return hypotheses assigned to the shape of a sub-mesh. More... | |
| SMESH_Hypothesis::Hypothesis_Status | CheckHypothesesOnSubMeshes (SMESH_subMesh *subMesh, const SMESH_Hypothesis *anHyp, const SMESH_subMesh::algo_event event) const |
| Iterates hypothesis for all sub-meshes of the given sub-mesh and checks algo state with the given event. More... | |
| const std::list< SMESHDS_Command * > & | GetLog () |
| void | ClearLog () |
| int | GetId () const |
| bool | MeshExists (int meshId) const |
| Return true if a mesh with given id exists. More... | |
| SMESH_Mesh * | FindMesh (int meshId) const |
| Return a mesh by id. More... | |
| SMESHDS_Mesh * | GetMeshDS () |
| const SMESHDS_Mesh * | GetMeshDS () const |
| SMESH_Gen * | GetGen () |
| SMESH_subMesh * | GetSubMesh (const TopoDS_Shape &aSubShape) |
| Get or Create the SMESH_subMesh object implementation. More... | |
| SMESH_subMesh * | GetSubMeshContaining (const TopoDS_Shape &aSubShape) const |
| Get the SMESH_subMesh object implementation. More... | |
| SMESH_subMesh * | GetSubMeshContaining (const int aShapeID) const |
| Get the SMESH_subMesh object implementation. More... | |
| std::list< SMESH_subMesh * > | GetGroupSubMeshesContaining (const TopoDS_Shape &shape) const |
| Return submeshes of groups containing the given subshape. More... | |
| void | NotifySubMeshesHypothesisModification (const SMESH_Hypothesis *theChangedHyp) |
| Say all submeshes that theChangedHyp has been modified. More... | |
| bool | IsUsedHypothesis (SMESHDS_Hypothesis *anHyp, const SMESH_subMesh *aSubMesh) |
| Return True if anHyp is used to mesh aSubShape. More... | |
| bool | IsNotConformAllowed () const |
| check if a hypothesis allowing notconform mesh is present More... | |
| bool | IsMainShape (const TopoDS_Shape &theShape) const |
| TopoDS_Shape | GetShapeByEntry (const std::string &entry) const |
| const TopTools_ListOfShape & | GetAncestors (const TopoDS_Shape &theSubShape) const |
| Return list of ancestors of theSubShape in the order that lower dimension shapes come first. More... | |
| void | SetAutoColor (bool theAutoColor) |
| Auto color functionality. More... | |
| bool | GetAutoColor () |
| void | SetIsModified (bool isModified) |
| Set the flag meaning that the mesh has been edited "manually". More... | |
| bool | GetIsModified () const |
| bool | HasModificationsToDiscard () const |
| Return true if the mesh has been edited since a total re-compute and those modifications may prevent successful partial re-compute. More... | |
| bool | IsComputedOK () |
| Return true if all sub-meshes are computed OK - to update an icon. More... | |
| const TAncestorMap & | GetAncestorMap () const |
| bool | HasDuplicatedGroupNamesMED () |
| Check group names for duplications. More... | |
| MEDCoupling::MCAuto< MEDCoupling::DataArrayByte > | ExportMEDCoupling (const char *theMeshName=NULL, bool theAutoGroups=true, const SMESHDS_Mesh *theMeshPart=0, bool theAutoDimension=false, bool theAddODOnVertices=false, double theZTolerance=-1., bool theSaveNumbers=true) |
| Same as SMESH_Mesh::ExportMED except for file and theVersion. More... | |
| void | ExportMED (const char *theFile, const char *theMeshName=NULL, bool theAutoGroups=true, int theVersion=-1, const SMESHDS_Mesh *theMeshPart=0, bool theAutoDimension=false, bool theAddODOnVertices=false, double theZTolerance=-1., bool theSaveNumbers=true) |
| Export the mesh to a med file. More... | |
| void | ExportDAT (const char *file, const SMESHDS_Mesh *meshPart=0, const bool renumber=true) |
| Export the mesh to a DAT file. More... | |
| void | ExportUNV (const char *file, const SMESHDS_Mesh *meshPart=0, const bool renumber=true) |
| Export the mesh to an UNV file. More... | |
| void | ExportSTL (const char *file, const bool isascii, const char *name=0, const SMESHDS_Mesh *meshPart=0) |
| Export the mesh to an STL file. More... | |
| void | ExportCGNS (const char *file, const SMESHDS_Mesh *mesh, const char *meshName=0, const bool groupElemsByType=false) |
| Export the mesh to the CGNS file. More... | |
| void | ExportStructuredCGNS (const char *file, const SMESHDS_Mesh *mesh, const char *meshName=0) |
| Export the mesh to the StructuredCGNS file. More... | |
| void | ExportGMF (const char *file, const SMESHDS_Mesh *mesh, bool withRequiredGroups=true) |
| Export the mesh to a GMF file. More... | |
| double | GetComputeProgress () const |
| Return a ratio of "compute cost" of computed sub-meshes to the whole "compute cost". More... | |
| smIdType | NbNodes () const |
| Return number of nodes in the mesh. More... | |
| smIdType | Nb0DElements () const |
| Return number of edges of given order in the mesh. More... | |
| smIdType | NbBalls () const |
| Return number of ball elements in the mesh. More... | |
| smIdType | NbEdges (SMDSAbs_ElementOrder order=ORDER_ANY) const |
| Return number of edges of given order in the mesh. More... | |
| smIdType | NbFaces (SMDSAbs_ElementOrder order=ORDER_ANY) const |
| Return number of faces of given order in the mesh. More... | |
| smIdType | NbTriangles (SMDSAbs_ElementOrder order=ORDER_ANY) const |
| Return the number of faces in the mesh. More... | |
| smIdType | NbQuadrangles (SMDSAbs_ElementOrder order=ORDER_ANY) const |
| Return the number nodes faces in the mesh. More... | |
| smIdType | NbBiQuadQuadrangles () const |
| Return number of biquadratic quadrangles in the mesh. More... | |
| smIdType | NbBiQuadTriangles () const |
| Return number of biquadratic triangles in the mesh. More... | |
| smIdType | NbPolygons (SMDSAbs_ElementOrder order=ORDER_ANY) const |
| Return the number of polygonal faces in the mesh. More... | |
| smIdType | NbVolumes (SMDSAbs_ElementOrder order=ORDER_ANY) const |
| Return number of volumes of given order in the mesh. More... | |
| smIdType | NbTetras (SMDSAbs_ElementOrder order=ORDER_ANY) const |
| Return number of tetrahedrons of given order in the mesh. More... | |
| smIdType | NbHexas (SMDSAbs_ElementOrder order=ORDER_ANY) const |
| Return number of hexahedrons of given order in the mesh. More... | |
| smIdType | NbTriQuadraticHexas () const |
| Return number of triquadratic hexahedrons in the mesh. More... | |
| smIdType | NbPyramids (SMDSAbs_ElementOrder order=ORDER_ANY) const |
| Return number of pyramids of given order in the mesh. More... | |
| smIdType | NbPrisms (SMDSAbs_ElementOrder order=ORDER_ANY) const |
| Return number of prisms (penthahedrons) of given order in the mesh. More... | |
| smIdType | NbQuadPrisms () const |
| smIdType | NbBiQuadPrisms () const |
| smIdType | NbHexagonalPrisms () const |
| Return number of hexagonal prisms in the mesh. More... | |
| smIdType | NbPolyhedrons () const |
| Return number of polyhedrons in the mesh. More... | |
| smIdType | NbSubMesh () const |
| Return number of submeshes in the mesh. More... | |
| size_t | NbGroup () const |
| int | NbMeshes () const |
| Returns number of meshes in the Study, that is supposed to be equal to SMESHDS_Document::NbMeshes() More... | |
| SMESH_Group * | AddGroup (const SMDSAbs_ElementType theType, const char *theName, const int theId=-1, const TopoDS_Shape &theShape=TopoDS_Shape(), const SMESH_PredicatePtr &thePredicate=SMESH_PredicatePtr()) |
| SMESH_Group * | AddGroup (SMESHDS_GroupBase *groupDS) |
| Creates a group based on an existing SMESHDS group. More... | |
| GroupIteratorPtr | GetGroups () const |
| Return iterator on all existing groups. More... | |
| std::list< int > | GetGroupIds () const |
| Return IDs of all groups. More... | |
| SMESH_Group * | GetGroup (const int theGroupID) const |
| Return a group by ID. More... | |
| bool | RemoveGroup (const int theGroupID) |
| SMESH_Group * | ConvertToStandalone (int theGroupID) |
| Convert group on geometry into standalone group. More... | |
| void | SetCallUp (TCallUp *upCaller) |
| Set a caller of methods at level of CORBA API implementation. More... | |
| bool | SynchronizeGroups () |
| Creates SMESH_Groups for not wrapped SMESHDS_Groups. More... | |
| SMDSAbs_ElementType | GetElementType (const smIdType id, const bool iselem) |
| void | ClearMeshOrder () |
| remove submesh order from Mesh More... | |
| void | SetMeshOrder (const TListOfListOfInt &theOrder) |
| remove submesh order from Mesh More... | |
| const TListOfListOfInt & | GetMeshOrder () const |
| return submesh order if any More... | |
| bool | SortByMeshOrder (std::vector< SMESH_subMesh * > &theListToSort) const |
| sort submeshes according to stored mesh order More... | |
| bool | IsOrderOK (const SMESH_subMesh *smBefore, const SMESH_subMesh *smAfter) const |
| Return true if given order of sub-meshes is OK. More... | |
| std::ostream & | Dump (std::ostream &save) |
Static Public Member Functions | |
| static double | GetShapeDiagonalSize (const TopoDS_Shape &aShape) |
| Return diagonal size of bounding box of a shape. More... | |
| static const TopoDS_Solid & | PseudoShape () |
| Return a solid which is returned by GetShapeToMesh() if a real geometry to be meshed was not set. More... | |
Protected Member Functions | |
| SMESH_ParallelMesh () | |
| SMESH_ParallelMesh (const SMESH_ParallelMesh &aMesh) | |
Protected Attributes | |
| int | _id |
| int | _groupId |
| int | _nbSubShapes |
| bool | _isShapeToMesh |
| SMESHDS_Document * | _document |
| SMESHDS_Mesh * | _meshDS |
| SMESH_Gen * | _gen |
| std::map< int, SMESH_Group * > | _mapGroup |
| SubMeshHolder * | _subMeshHolder |
| bool | _isAutoColor |
| bool | _isModified |
| modified since last total re-compute, issue 0020693 More... | |
| double | _shapeDiagonal |
| diagonal size of bounding box of shape to mesh More... | |
| TopTools_IndexedDataMapOfShapeListOfShape | _mapAncestors |
| std::vector< SMESH_subMesh * > | _ancestorSubMeshes |
| TListOfListOfInt | _subMeshOrder |
| TCallUp * | _callUp |
Private Member Functions | |
| void | exportMEDCommmon (DriverMED_W_SMESHDS_Mesh &myWriter, const char *theMeshName, bool theAutoGroups, const SMESHDS_Mesh *meshPart, bool theAutoDimension, bool theAddODOnVertices, double theZTolerance, bool theSaveNumbers) |
| Export the mesh to a writer. More... | |
| void | fillAncestorsMap (const TopoDS_Shape &theShape) |
| fill _mapAncestors More... | |
| void | getAncestorsSubMeshes (const TopoDS_Shape &theSubShape, std::vector< SMESH_subMesh * > &theSubMeshes) const |
| sort submeshes according to stored mesh order More... | |
Private Attributes | |
| boost::mutex | _my_lock |
| boost::asio::thread_pool * | _pool = nullptr |
| boost::filesystem::path | tmp_folder |
| int | _method = ParallelismMethod::MultiThread |
| int | _paraDim = 3 |
| int | _NbThreads = std::thread::hardware_concurrency() |
| int | _nbProc = 1 |
| int | _nbProcPerNode = 1 |
| int | _nbNode = 1 |
| std::string | _resource = "" |
| std::string | _wcKey = "P11N0:SALOME" |
| std::string | _walltime = "01:00:00" |
|
inherited |
|
inherited |
Return data map of descendant to ancestor shapes.
| SMESH_ParallelMesh::SMESH_ParallelMesh | ( | int | theLocalId, |
| SMESH_Gen * | theGen, | ||
| bool | theIsEmbeddedMode, | ||
| SMESHDS_Document * | theDocument | ||
| ) |
References CreateTmpFolder(), and MESSAGE.
| SMESH_ParallelMesh::~SMESH_ParallelMesh | ( | ) |
References cleanup().
|
protected |
|
protected |
|
inherited |
References SMESH_Mesh::_groupId, SMESH_Mesh::_mapGroup, SMESHDS_Mesh::AddGroup(), SMESH_Group::GetGroupDS(), and SMESH_Mesh::GetMeshDS().
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), StdMeshers_ViscousLayers::CreateGroup(), SMESH_Mesh_i::createGroup(), SMESH_MeshEditor::CreateHoleSkin(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), SMESH_MeshEditor::generateGroups(), StdMeshers_Import_1D::importMesh(), SMESH_Mesh::MEDToMesh(), and SMESH_Mesh::UNVToMesh().
|
inherited |
Creates a group based on an existing SMESHDS group.
Group ID should be unique
References SMESH_Mesh::_groupId, SMESH_Mesh::_mapGroup, SMESHDS_Mesh::AddGroup(), SMESH_Group::GetGroupDS(), SMESHDS_GroupBase::GetID(), and SMESH_Mesh::GetMeshDS().
|
inherited |
References SMESH_subMesh::ADD_ALGO, SMESH_subMesh::ADD_FATHER_ALGO, SMESH_subMesh::ADD_FATHER_HYP, SMESH_subMesh::ADD_HYP, SMESH_subMesh::AlgoStateEngine(), SMESH_subMesh::CheckConcurrentHypothesis(), SMESH_Mesh::CheckHypothesesOnSubMeshes(), SMESH_subMesh::DumpAlgoState(), SMESH_subMesh::GetComputeError(), SMESH_subMesh::getDependsOnIterator(), SMESH_Hypothesis::GetDim(), SMESH_Mesh::GetHypothesis(), SMESH_subMesh::GetId(), SMESH_Mesh::GetMeshDS(), SMESHDS_Hypothesis::GetName(), SMESH_Gen::GetShapeDim(), SMESH_Mesh::GetSubMesh(), SMESHDS_Hypothesis::GetType(), SMESH_Mesh::HasModificationsToDiscard(), SMESH_Hypothesis::HYP_BAD_SUBSHAPE, SMESH_Hypothesis::HYP_CONCURRENT, SMESH_Hypothesis::HYP_INCOMPATIBLE, SMESH_subMesh::IsApplicableHypothesis(), SMESH_Mesh::IsMainShape(), SMESH_Hypothesis::IsStatusFatal(), MESSAGE, SMDS_Mesh::Modified(), SMESHDS_Hypothesis::PARAM_ALGO, SMESH_subMesh::REMOVE_ALGO, SMESH_subMesh::REMOVE_HYP, and SMESH_subMesh::SubMeshesAlgoStateEngine().
Referenced by SMESH_Mesh_i::addHypothesis(), SMESH_Mesh_i::CheckGeomGroupModif(), and SMESH_Mesh_i::CheckGeomModif().
|
inherited |
Reads the given mesh from the CGNS file.
| theFileName | - name of the file |
| int | - Driver_Mesh::Status |
References SMESH_Mesh::_meshDS, Driver_Mesh::DRS_FAIL, Driver_Mesh::GetMeshName(), DriverCGNS_Read::Perform(), Driver_Mesh::SetFile(), Driver_SMESHDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), and SMESH_Mesh::SynchronizeGroups().
Referenced by SMESH_Mesh_i::ImportCGNSFile().
|
inherited |
Iterates hypothesis for all sub-meshes of the given sub-mesh and checks algo state with the given event.
The goal is to address hypothesis those are not directly affected by changing of an algorithm of the given sub-shape. It is essential to rebuild propagation chains of such hypotheses, otherwise the chains are being cleared after editing of the algorithm and never rebuilt again.
| subMesh | - the main sub-mesh to check sub-meshes of |
| anHyp | - the hypothesis changed on the given sub-mesh, we need to skip it from checking |
| event | - the given event |
| SMESH_Hypothesis::Hypothesis_Status | - HYP_OK if no errors found, otherwise the most severe error |
References SMESH_subMesh::GetAlgo(), SMESH_Algo::GetCompatibleHypoFilter(), SMESH_subMesh::getDependsOnIterator(), SMESH_Mesh::GetHypotheses(), SMESH_Mesh::GetHypothesis(), SMESHDS_Hypothesis::GetName(), SMESH::HYP_OK, and SMESH_subMesh::SubMeshesAlgoStateEngine().
Referenced by SMESH_Mesh::AddHypothesis().
| void SMESH_ParallelMesh::cleanup | ( | ) |
References DeletePoolThreads(), DeleteTmpFolder(), keepingTmpFolfer(), and MESSAGE.
Referenced by SMESH_Gen::parallelComputeSubMeshes(), and ~SMESH_ParallelMesh().
|
inherited |
Remove all nodes and elements.
References SMESH_Mesh::_isModified, SMESH_Mesh::_meshDS, SMESH_subMesh::CHECK_COMPUTE_STATE, SMESH_subMesh::CLEAN, SMESHDS_Mesh::ClearMesh(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh::GetShapeToMesh(), SMESH_Mesh::GetSubMeshContaining(), SMESH_Mesh::HasShapeToMesh(), and SMDS_Mesh::Modified().
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh_i::Clear(), SMESH_MeshEditor_i::FillHole(), SMESH_MeshEditor_i::getPreviewMesh(), and SMESH_Mesh::NotifySubMeshesHypothesisModification().
|
inherited |
References SMESH_Mesh::_meshDS, SMESHDS_Script::Clear(), and SMESHDS_Mesh::GetScript().
Referenced by SMESH_Mesh_i::ClearLog(), and SMESH_Mesh_i::GetLog().
|
inherited |
remove submesh order from Mesh
References SMESH_Mesh::_subMeshOrder.
|
inherited |
Remove all nodes and elements of indicated shape.
References SMESH_subMesh::CHECK_COMPUTE_STATE, SMESH_subMesh::CLEAN, and SMESH_Mesh::GetSubMeshContaining().
Referenced by SMESH_Mesh_i::ClearSubMesh().
|
overridevirtual |
Reimplemented from SMESH_Mesh.
References InitPoolThreads(), and SMESH_Gen::parallelComputeSubMeshes().
|
inherited |
Convert group on geometry into standalone group.
References SMESH_Mesh::_mapGroup, SMESHDS_Group::Add(), SMESHDS_Mesh::AddGroup(), SMESHDS_GroupBase::GetColor(), SMESHDS_GroupBase::GetElements(), SMESH_Group::GetGroupDS(), SMESH_Mesh::GetMeshDS(), SMESH_Group::GetName(), SMESHDS_GroupBase::GetType(), SMESHDS_Mesh::RemoveGroup(), and SMESHDS_GroupBase::SetColor().
Referenced by SMESH_Mesh_i::ConvertToStandalone().
| void SMESH_ParallelMesh::CreateTmpFolder | ( | ) |
| void SMESH_ParallelMesh::DeletePoolThreads | ( | ) |
Referenced by cleanup().
| void SMESH_ParallelMesh::DeleteTmpFolder | ( | ) |
Delete temporary folder used for parallel computation.
References MESSAGE, and tmp_folder.
Referenced by cleanup().
|
inherited |
Referenced by SMESH_Mesh_i::Dump().
|
inherited |
Export the mesh to the CGNS file.
References SMESH_Mesh::_mapGroup, Driver_Mesh::DRS_FAIL, Driver_Mesh::DRS_OK, Driver_Mesh::DRS_TOO_LARGE_MESH, Driver_Mesh::GetError(), SMESH_Group::GetGroupDS(), SMESH_Group::GetName(), SMESHDS_Mesh::GetPersistentId(), DriverCGNS_Write::Perform(), DriverCGNS_Write::SetElementsByType(), Driver_Mesh::SetFile(), Driver_SMESHDS_Mesh::SetMesh(), Driver_Mesh::SetMeshName(), SMESHDS_GroupBase::SetStoreName(), SMESH_CATCH, SMESH_TRY, and SMESH::throwSalomeEx().
Referenced by SMESH_Mesh_i::ExportCGNS().
|
inherited |
Export the mesh to a DAT file.
References SMESH_Mesh::_id, SMESH_Mesh::_meshDS, Driver_Mesh::DRS_TOO_LARGE_MESH, DriverDAT_W_SMDS_Mesh::Perform(), Driver_Mesh::SetFile(), Driver_SMDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), DriverDAT_W_SMDS_Mesh::SetRenumber(), SMESH_CATCH, SMESH_TRY, and SMESH::throwSalomeEx().
Referenced by SMESH_Mesh_i::ExportDAT(), and SMESH_Mesh_i::ExportPartToDAT().
|
inherited |
Export the mesh to a GMF file.
References Driver_Mesh::DRS_TOO_LARGE_MESH, DriverGMF_Write::Perform(), DriverGMF_Write::SetExportRequiredGroups(), Driver_Mesh::SetFile(), Driver_SMESHDS_Mesh::SetMesh(), SMESH_CATCH, SMESH_TRY, and SMESH::throwSalomeEx().
Referenced by SMESH_Mesh_i::ExportGMF().
|
inherited |
Export the mesh to a med file.
| [in] | theFile | - name of the MED file |
| [in] | theMeshName | - name of this mesh |
| [in] | theAutoGroups | - boolean parameter for creating/not creating the groups Group_On_All_Nodes, Group_On_All_Faces, ... ; the typical use is auto_groups=false. |
| [in] | theVersion | - define the minor (xy, where version is x.y.z) of MED file format. If theVersion is equal to -1, the minor version is not changed (default). |
| [in] | theMeshPart | - mesh data to export |
| [in] | theAutoDimension | - if true, a space dimension of a MED mesh can be either
|
| [in] | theAddODOnVertices | - to create 0D elements on all vertices |
| [in] | theZTolerance | - tolerance in Z direction. If Z coordinate of a node is close to zero within a given tolerance, the coordinate is set to zero. If ZTolerance is negative, the node coordinates are kept as is. |
| [in] | theSaveNumbers | : enable saving numbers of nodes and cells. |
References SMESH_Mesh::exportMEDCommmon(), MESSAGE, and DriverMED_W_SMESHDS_Mesh::SetFile().
Referenced by SMESH_Mesh_i::ExportMED(), SMESH_DriverMesh::exportMesh(), and MEDFileSpeCls::exportTo().
|
privateinherited |
Export the mesh to a writer.
References SMESH_Mesh::_id, SMESH_Mesh::_mapGroup, SMESH_Mesh::_meshDS, DriverMED_W_SMESHDS_Mesh::AddGroup(), DriverMED_W_SMESHDS_Mesh::AddGroupOf0DElems(), DriverMED_W_SMESHDS_Mesh::AddGroupOfBalls(), DriverMED_W_SMESHDS_Mesh::AddGroupOfEdges(), DriverMED_W_SMESHDS_Mesh::AddGroupOfFaces(), DriverMED_W_SMESHDS_Mesh::AddGroupOfNodes(), DriverMED_W_SMESHDS_Mesh::AddGroupOfVolumes(), DriverMED_W_SMESHDS_Mesh::AddODOnVertices(), Driver_Mesh::DRS_OK, Driver_Mesh::DRS_TOO_LARGE_MESH, SMESH_Group::GetGroupDS(), SMESH_Group::GetName(), SMESHDS_GroupBase::GetType(), MAX_MED_GROUP_NAME_LENGTH, DriverMED_W_SMESHDS_Mesh::Perform(), DriverMED_W_SMESHDS_Mesh::SetAutoDimension(), Driver_SMESHDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), Driver_Mesh::SetMeshName(), DriverMED_W_SMESHDS_Mesh::SetSaveNumbers(), SMESHDS_GroupBase::SetStoreName(), DriverMED_W_SMESHDS_Mesh::SetZTolerance(), SMESH_CATCH, SMESH_TRY, and SMESH::throwSalomeEx().
Referenced by SMESH_Mesh::ExportMED(), and SMESH_Mesh::ExportMEDCoupling().
|
inherited |
Same as SMESH_Mesh::ExportMED except for file and theVersion.
References SMESH_Mesh::exportMEDCommmon(), and DriverMED_W_SMESHDS_Mesh_Mem::getData().
Referenced by SMESH_Mesh_i::ExportMEDCoupling(), and MEDFileMemSpeCls::exportTo().
|
inherited |
Export the mesh to an STL file.
References SMESH_Mesh::_id, SMESH_Mesh::_meshDS, Driver_Mesh::DRS_TOO_LARGE_MESH, DriverSTL_W_SMDS_Mesh::Perform(), Driver_Mesh::SetFile(), DriverSTL_W_SMDS_Mesh::SetIsAscii(), Driver_SMDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), DriverSTL_W_SMDS_Mesh::SetName(), SMESH_CATCH, SMESH_TRY, and SMESH::throwSalomeEx().
Referenced by SMESH_Mesh_i::ExportPartToSTL(), and SMESH_Mesh_i::ExportSTL().
|
inherited |
Export the mesh to the StructuredCGNS file.
References SMESH_Mesh::_meshDS, Driver_Mesh::DRS_OK, Driver_Mesh::DRS_TOO_LARGE_MESH, Driver_Mesh::GetError(), DriverStructuredCGNS_Write::Perform(), Driver_Mesh::SetFile(), Driver_SMESHDS_Mesh::SetMesh(), Driver_Mesh::SetMeshName(), SMESH_CATCH, SMESH_TRY, and SMESH::throwSalomeEx().
Referenced by SMESH_Mesh_i::ExportStructuredCGNS().
|
inherited |
Export the mesh to an UNV file.
References SMESH_Mesh::_id, SMESH_Mesh::_mapGroup, SMESH_Mesh::_meshDS, DriverUNV_W_SMDS_Mesh::AddGroup(), Driver_Mesh::DRS_TOO_LARGE_MESH, SMESH_Group::GetGroupDS(), SMESH_Group::GetName(), DriverUNV_W_SMDS_Mesh::Perform(), Driver_Mesh::SetFile(), Driver_SMDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), DriverUNV_W_SMDS_Mesh::SetRenumber(), SMESHDS_GroupBase::SetStoreName(), SMESH_CATCH, SMESH_TRY, and SMESH::throwSalomeEx().
Referenced by SMESH_Mesh_i::ExportPartToUNV(), and SMESH_Mesh_i::ExportUNV().
|
privateinherited |
fill _mapAncestors
References SMESH_Mesh::_mapAncestors, SMESH_Mesh::fillAncestorsMap(), and SMESH_Mesh::GetShapeToMesh().
Referenced by SMESH_Mesh::fillAncestorsMap(), SMESH_Mesh::GetSubMesh(), and SMESH_Mesh::ShapeToMesh().
|
inherited |
Return a mesh by id.
References SMESH_Mesh::_gen, SMESH_Mesh::_id, and SMESH_Gen::GetStudyContext().
Referenced by SMESH_subMesh::deleteOwnListeners(), and SMESH_subMesh::loadDependentMeshes().
|
inherited |
Referenced by StdMeshers_ProjectionUtils::FindSubShapeAssociation().
|
inherited |
Return list of ancestors of theSubShape in the order that lower dimension shapes come first.
References SMESH_Mesh::_mapAncestors.
Referenced by SMESH_subMesh::CheckConcurrentHypothesis(), StdMeshers_Projection_1D::CheckHypothesis(), SMESH_Pattern::clearMesh(), StdMeshers_Projection_2D::Compute(), StdMeshers_ProjectionUtils::FindSubShapeAssociation(), SMESH_subMesh::GetAncestors(), SMESH_MesherHelper::GetAncestors(), SMESH_Mesh::getAncestorsSubMeshes(), StdMeshers_ProjectionUtils::GetEdgeByVertices(), SMESH_Gen_i::GetHypothesisParameterValues(), SMESH_MesherHelper::GetNodeUV(), StdMeshers_ProjectionUtils::GetPropagationEdge(), SMESH_ProxyMesh::GetProxyNode(), SMESH_Pattern::getSubmeshWithElements(), and SMESH_MesherHelper::NbAncestors().
|
privateinherited |
sort submeshes according to stored mesh order
| theListToSort | in out list to be sorted |
References SMESH_Mesh::GetAncestors(), SMESH_Mesh::GetSubMeshContaining(), and SMESH_Mesh::SortByMeshOrder().
|
inherited |
References SMESH_Mesh::_isAutoColor.
Referenced by SMESH_Mesh_i::GetAutoColor().
|
inherited |
Return a ratio of "compute cost" of computed sub-meshes to the whole "compute cost".
References SMESH_Mesh::_gen, SMESH_subMesh::DependsOn(), SMESH_subMesh::FAILED_TO_COMPUTE, SMESH_subMesh::GetAlgo(), SMESH_subMesh::GetComputeCost(), SMESH_subMesh::GetComputeState(), SMESH_Gen::GetCurrentSubMesh(), SMESH_Mesh::GetId(), SMESH_subMesh::GetId(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::IsEmpty(), and OCC_CATCH_SIGNALS.
Referenced by SMESH_Mesh_i::GetComputeProgress().
| int SMESH_ParallelMesh::GetDumpElement | ( | ) |
Get the element associated to the dimension of the parallelism.
References _paraDim.
Referenced by SMESH_Gen::parallelComputeSubMeshes().
|
inherited |
References SMESH_Mesh::_meshDS, and SMDS_Mesh::GetElementType().
Referenced by SMESH_Mesh_i::GetElementType().
|
inherited |
Referenced by SMESH_subMesh::AlgoStateEngine(), StdMeshers_Regular_1D::CheckHypothesis(), StdMeshers_Hexa_3D::Compute(), ComputePentahedralMesh(), SMESH_subMesh::ComputeStateEngine(), StdMeshers_Hexa_3D::Evaluate(), EvaluatePentahedralMesh(), SMESH_Mesh_i::findConcurrentSubMeshes(), VISCOUS_2D::_ViscousBuilder2D::findEdgesWithLayers(), SMESH_subMesh::GetAlgo(), TNodeDistributor::GetDistributor(), StdMeshers_CompositeSegment_1D::GetFaceSide(), SMESH_MesherHelper::GetGen(), and StdMeshers_ProjectionUtils::MakeComputed().
|
inherited |
Return a group by ID.
References SMESH_Mesh::_mapGroup.
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), and SMESH_GroupBase_i::GetSmeshGroup().
|
inherited |
Return IDs of all groups.
References SMESH_Mesh::_mapGroup.
Referenced by SMESH_Gen_i::CreateDualMesh(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), and SMESH_MeshEditor::generateGroups().
|
inherited |
Return iterator on all existing groups.
References SMESH_Mesh::_mapGroup.
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), SMESH_Gen_i::CopyMesh(), StdMeshers_ViscousLayers::CreateGroup(), SMESH_Mesh_i::CreateGroupServants(), SMESH_MeshEditor::CreateHoleSkin(), SMESH_MeshEditor::generateGroups(), StdMeshers_Import_1D::importMesh(), and StdMeshers_ImportSource1D::RestoreGroups().
|
inherited |
Return submeshes of groups containing the given subshape.
Return sub-meshes of groups containing the given sub-shape.
References SMESH_Mesh::_subMeshHolder, SMESHDS_TSubMeshHolder< SUBMESH >::GetIterator(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::GetSubMeshDS(), SMESH_subMesh::GetSubShape(), SMESHDS_SubMesh::IsComplexSubmesh(), and SMESH_MesherHelper::IsSubShape().
|
inherited |
Return hypotheses assigned to the shape of a sub-mesh.
| aSubShape | - the sub-mesh to check |
| aFilter | - the hypothesis filter |
| aHypList | - the list of the found hypotheses |
| andAncestors | - flag to check hypos assigned to ancestors of the shape |
| int | - number of unique hypos in aHypList |
References SMESH_Mesh::_meshDS, cSMESH_Hyp, SMESH_subMesh::GetAncestors(), SMESHDS_Mesh::GetHypothesis(), SMESHDS_Hypothesis::GetName(), SMESH_subMesh::GetSubShape(), SMESH_Hypothesis::IsAuxiliary(), SMESH_HypoFilter::IsOk(), and SMESH_Mesh::SortByMeshOrder().
|
inherited |
Return hypotheses assigned to the shape.
| aSubShape | - the shape to check |
| aFilter | - the hypothesis filter |
| aHypList | - the list of the found hypotheses |
| andAncestors | - flag to check hypos assigned to ancestors of the shape |
| int | - number of unique hypos in aHypList |
References SMESH_Mesh::GetHypotheses(), and SMESH_Mesh::GetSubMesh().
Referenced by SMESH_Mesh::CheckHypothesesOnSubMeshes(), StdMeshers_Regular_1D::CheckHypothesis(), VISCOUS_2D::findHyps(), SMESH_Mesh::GetHypotheses(), SMESH_Algo::GetUsedHypothesis(), StdMeshers_Regular_1D::GetUsedHypothesis(), SMESH_Mesh::IsUsedHypothesis(), StdMeshers_ProjectionUtils::MakeComputed(), and SMESH_Mesh::NotifySubMeshesHypothesisModification().
|
inherited |
Return a hypothesis by its ID.
References SMESH_Mesh::_gen, SMESH_Gen::GetStudyContext(), and studyContextStruct::mapHypothesis.
|
inherited |
Return the hypothesis assigned to the shape of a sub-mesh.
| aSubMesh | - the sub-mesh to check |
| aFilter | - the hypothesis filter |
| andAncestors | - flag to check hypos assigned to ancestors of the shape |
| assignedTo | - to return the shape the found hypo is assigned to |
| SMESH_Hypothesis* | - the first hypo passed through aFilter |
References SMESH_Mesh::_meshDS, cSMESH_Hyp, SMESH_subMesh::GetAncestors(), SMESHDS_Mesh::GetHypothesis(), SMESH_subMesh::GetSubShape(), SMESH_HypoFilter::IsOk(), and SMESH_Mesh::SortByMeshOrder().
|
inherited |
Return the hypothesis assigned to the shape.
| aSubShape | - the shape to check |
| aFilter | - the hypothesis filter |
| andAncestors | - flag to check hypos assigned to ancestors of the shape |
| assignedTo | - to return the shape the found hypo is assigned to |
| SMESH_Hypothesis* | - the first hypo passed through aFilter |
References SMESH_Mesh::GetHypothesis(), and SMESH_Mesh::GetSubMesh().
Referenced by SMESH_Mesh::AddHypothesis(), SMESH_subMesh::AlgoStateEngine(), SMESH_Mesh::CheckHypothesesOnSubMeshes(), SMESH_subMesh::cleanDependsOn(), StdMeshers_CompositeHexa_3D::Compute(), StdMeshers_RadialQuadrangle_1D2D::computeLayerPositions(), VISCOUS_3D::_ViscousBuilder::findSolidsWithLayers(), SMESH_Gen::GetAlgo(), TNodeDistributor::GetDistributor(), StdMeshers_Quadrangle_2D::getEnforcedUV(), SMESH_Mesh::GetHypothesis(), SMESH_MesherHelper::GetShapeOfHypothesis(), SMESH_subMesh::getSimilarAttached(), StdMeshers_Regular_1D::getVertexHyp(), SMESH_Gen::IsGlobalHypothesis(), SMESH_Mesh::IsNotConformAllowed(), StdMeshers_ProjectionUtils::SourceNotComputedError(), and SMESH_Mesh_i::~SMESH_Mesh_i().
|
inherited |
|
inherited |
|
inherited |
Referenced by SMESH_subMesh::ComputeStateEngine(), and SMESH_Gen_i::Save().
|
inherited |
References SMESH_Mesh::_meshDS, SMESHDS_Script::GetCommands(), and SMESHDS_Mesh::GetScript().
Referenced by SMESH_Mesh_i::GetLog().
|
inherited |
Referenced by SMESH_Gen_i::_GetInside(), SMESH_Mesh::AddGroup(), SMESH_Mesh::AddHypothesis(), SMESH_Mesh_i::addHypothesis(), SMESH_Gen_i::AddHypothesisToShape(), SMESH_MeshEditor_i::AddNodeOnSegment(), StdMeshers_RenumberHelper::AddReplacingNode(), SMESH_subMesh::AlgoStateEngine(), SMESH_Pattern_i::ApplyToHexahedrons(), SMESH_Pattern_i::ApplyToMeshFaces(), SMESH_Mesh_i::BaryCenter(), checkConformIgnoredAlgos(), StdMeshers_Cartesian_VL::ViscousBuilder::CheckGeometryMaps(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), StdMeshers_Quadrangle_2D::checkNbEdgesForEvaluate(), cleanSubMesh(), SMESH_Mesh::Clear(), SMESH_Mesh_i::ClearSubMesh(), clearSubMesh(), SMESH_Gen_i::Compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Hexa_3D::Compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_PolyhedronPerSolid_3D::Compute(), StdMeshers_Prism_3D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_RadialPrism_3D::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_QuadToTriaAdaptor::Compute(), StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), StdMeshers_Regular_1D::computeInternalParameters(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), SMESH_subMesh::ComputeStateEngine(), SMESH_Gen_i::ConcatenateCommon(), SMESH_Mesh::ConvertToStandalone(), SMESH_Gen_i::CopyMesh(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_Mesh_i::CreateDimGroup(), SMESH_Gen_i::CreateDualMesh(), SMESH_Pattern::createElements(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), SMESH_MeshEditor::CreateHoleSkin(), SMESH_Gen_i::CreateMeshesFromCGNS(), SMESH_Gen_i::CreateMeshesFromGMF(), SMESH_Gen_i::CreateMeshesFromMED(), SMESH_Gen_i::CreateMeshesFromMESHIO(), SMESH_Gen_i::CreateMeshesFromSTL(), SMESH_Gen_i::CreateMeshesFromUNV(), StdMeshers_Penta_3D::CreateNode(), SMESH_subMesh::CreateSubMeshDS(), SMESH_MeshEditor_i::declareMeshModified(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), SMESH_Mesh_i::ElemNbEdges(), SMESH_Mesh_i::ElemNbFaces(), StdMeshers_Projection_1D::Evaluate(), SMESH_Mesh_i::ExportPartToMEDCommon(), SMESH_Mesh_i::ExportStructuredCGNS(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), SMESH_MeshEditor::ExtrusionAlongTrack(), SMESH_Mesh_i::FaceGroupsSeparatedByEdges(), SMESH_MeshEditor_i::FillHole(), StdMeshers_CompositeHexa_3D::findBoxFaces(), SMESH_Mesh_i::FindElementByNodes(), SMESH_Pattern::findExistingNodes(), SMESH_Gen_i::FindGeometryByMeshElement(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), StdMeshers_Penta_3D::FindNodeOnShape(), SMESH_MeshEditor_i::FindSharpEdges(), StdMeshers_ProjectionUtils::FindSubShapeAssociation(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_MeshEditor::generateGroups(), SMESH_Gen::GetAlgoState(), SMESH_Mesh_i::GetBallDiameter(), SMESH_subMesh::getCollection(), SMESH_Gen_i::GetComputeErrors(), StdMeshers_PrismAsBlock::TSideFace::GetEdge(), StdMeshers_FaceSide::GetEdgeNodes(), SMESH_Mesh_i::GetElementGeomType(), SMESH_Mesh_i::GetElementPosition(), SMESH_Mesh_i::GetElements(), SMESH_Mesh_i::GetElementsByNodes(), SMESH_Mesh_i::GetElementsByType(), SMESH_Mesh_i::GetElementShape(), SMESH_Mesh_i::GetElementsId(), SMESH_Mesh_i::GetElemFaceNodes(), SMESH_Mesh_i::GetElemNbNodes(), SMESH_Mesh_i::GetElemNode(), SMESH_Mesh_i::GetElemNodes(), SMESH_Mesh_i::GetFaceNormal(), StdMeshers_CompositeSegment_1D::GetFaceSide(), StdMeshers_FaceSide::GetFaceWires(), SMESH_MeshEditor::GetHexaFacetsToSplit(), SMESH_Hypothesis::GetMeshByPersistentID(), SMESH_MeshEditor::GetMeshDS(), VISCOUS_2D::_ViscousBuilder2D::getMeshDS(), SMESH_MesherHelper::GetMeshDS(), SMESH_ProxyMesh::GetMeshDS(), VISCOUS_3D::_ViscousBuilder::getMeshDS(), SMESH_Mesh_i::GetMeshInfo(), SMESH_Mesh_i::GetMeshOrder(), SMESH_Gen_i::GetMeshOrSubmeshByShape(), SMESH_Mesh_i::GetNbElementsByType(), SMESH_Mesh_i::GetNodeInverseElements(), SMESH_Mesh_i::GetNodePosition(), SMESH_Mesh_i::GetNodesId(), SMESH_Mesh_i::GetNodeXYZ(), VISCOUS_3D::_SolidData::GetShapeEdges(), SMESH_Mesh_i::GetShapeID(), SMESH_Mesh_i::GetShapeIDForElem(), SMESH_Mesh_i::GetShapeToMesh(), SMESH_Gen_i::GetSoleSubMeshUsingHyp(), StdMeshers_ImportSource1D::GetSourceMeshes(), StdMeshers_ImportSource1D::GetSourceSubMeshes(), SMESH_Mesh_i::GetSubMesh(), SMESH_subMesh::GetSubMeshDS(), SMESH_Pattern::getSubmeshWithElements(), SMESH_Mesh_i::GetVtkUgStream(), StdMeshers_Import_1D::importMesh(), SMESH_subMesh::IsConform(), SMESH_Gen::IsGlobalHypothesis(), SMESH_Mesh_i::IsMediumNode(), SMESH_Mesh_i::IsMediumNodeOfAnyElem(), SMESH_subMesh::IsMeshComputed(), SMESH_Mesh_i::IsPoly(), SMESH_Mesh_i::IsQuadratic(), SMESH_MesherHelper::IsStructured(), SMESH_MesherHelper::IsSubShape(), StdMeshers_QuadToTriaAdaptor::LimitHeight(), SMESH_Gen_i::Load(), SMESH_Pattern::Load(), StdMeshers_Penta_3D::MakeBlock(), SMESH_MeshEditor_i::MakeBoundaryElements(), SMESH_MeshEditor_i::MakeBoundaryMesh(), SMESH_Pattern_i::MakeMesh(), SMESH_Pattern::MakeMesh(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), StdMeshers_Penta_3D::MakeNodes(), StdMeshers_Cartesian_VL::ViscousBuilder::MakeOffsetSolid(), SMESH_MeshEditor_i::MakePolyLine(), StdMeshers_Cartesian_VL::ViscousBuilder::MakeViscousLayers(), StdMeshers_Penta_3D::MakeVolumeMesh(), MeshPtr2SMDSMesh(), SMESH_MeshEditor_i::mirror(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESH_MeshEditor_i::MoveNode(), SMESH_Mesh_i::newGroupShape(), SMESH_Mesh::NotifySubMeshesHypothesisModification(), SMESH_MeshEditor_i::Offset(), SMESH_MeshEditor::Offset(), SMESH_Gen::parallelComputeSubMeshes(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_PreMeshInfo::readSubMeshInfo(), SMESH_Gen_i::ReloadMeshesFromCGNS(), SMESH_Gen_i::ReloadMeshesFromGMF(), SMESH_Gen_i::ReloadMeshesFromMED(), SMESH_Gen_i::ReloadMeshesFromMESHIO(), SMESH_Gen_i::ReloadMeshesFromSTL(), SMESH_Gen_i::ReloadMeshesFromUNV(), SMESH_Gen_i::ReloadMeshFromFile(), MeshEditor_I::TPreviewMesh::Remove(), MeshEditor_I::TPreviewMesh::RemoveAll(), SMESH_Mesh::RemoveGroup(), SMESH_Mesh_i::RemoveGroupWithContents(), SMESH_Mesh::RemoveHypothesis(), SMESH_MeshEditor_i::RemoveNodeWithReconnection(), SMESH_Mesh_i::ReplaceShape(), StdMeshers_ViscousLayers2D::RestoreListeners(), SMESH_MeshEditor_i::rotate(), SMESH_Gen_i::Save(), SMESH_PreMeshInfo::SaveToFile(), SMESH_MeshEditor_i::scale(), StdMeshers_Adaptive1D::SetParametersByMesh(), StdMeshers_Geometric1D::SetParametersByMesh(), SMESH_Client::SMESH_Client(), SMESH_MeshPartDS::SMESH_MeshPartDS(), StdMeshers_FaceSide::StdMeshers_FaceSide(), SMESH_MeshEditor::Transform(), SMESH_MeshEditor_i::translate(), SMESH_Algo::VertexNode(), StdMeshers_Cartesian_VL::ViscousBuilder::ViscousBuilder(), and SMESH_Mesh_i::~SMESH_Mesh_i().
|
inherited |
|
inherited |
return submesh order if any
References SMESH_Mesh::_subMeshOrder.
Referenced by SMESH_Mesh_i::GetMeshOrder(), SMESH_Mesh_i::IsUnorderedSubMesh(), and SMESH_Gen_i::Save().
| int SMESH_ParallelMesh::GetNbNode | ( | ) |
Referenced by SMESH_ParallelMesh_i::GetNbNode().
| int SMESH_ParallelMesh::GetNbProc | ( | ) |
Referenced by SMESH_ParallelMesh_i::GetNbProc().
| int SMESH_ParallelMesh::GetNbProcPerNode | ( | ) |
Referenced by SMESH_ParallelMesh_i::GetNbProcPerNode().
| int SMESH_ParallelMesh::GetNbThreads | ( | ) |
Referenced by SMESH_ParallelMesh_i::GetNbThreads().
|
overridevirtual |
Get the element associated to the dimension of the parallelism.
Reimplemented from SMESH_Mesh.
References _paraDim.
| int SMESH_ParallelMesh::GetParallelismDimension | ( | ) |
Referenced by SMESH_ParallelMesh_i::GetParallelismDimension(), and SMESH_Gen::parallelComputeSubMeshes().
| int SMESH_ParallelMesh::GetParallelismMethod | ( | ) |
Referenced by SMESH_ParallelMesh_i::GetParallelismMethod(), and SMESH_Gen::parallelComputeSubMeshes().
| boost::asio::thread_pool * SMESH_ParallelMesh::GetPool | ( | ) |
Referenced by SMESH_Gen::parallelComputeSubMeshes().
| int SMESH_ParallelMesh::GetPoolNbThreads | ( | ) |
Get the number of Threads to be used for the pool of Threads.
References _method, _nbNode, _nbProc, _nbProcPerNode, _NbThreads, MultiNode, and MultiThread.
| std::string SMESH_ParallelMesh::GetResource | ( | ) |
Referenced by SMESH_Gen::send_mesh().
|
inherited |
References SMESH_Mesh::_callUp, and SMESH_Mesh::TCallUp::GetShapeByEntry().
Referenced by StdMeshers_BlockRenumber::CheckHypothesis(), and StdMeshers_BlockRenumber::IsSolidIncluded().
|
inherited |
Return diagonal size of bounding box of shape to mesh.
References SMESH_Mesh::_isShapeToMesh, SMESH_Mesh::_shapeDiagonal, SMESH_Mesh::GetShapeDiagonalSize(), and SMESH_Mesh::GetShapeToMesh().
Referenced by StdMeshers_Regular_1D::CheckHypothesis(), SMESH_Gen_i::GetHypothesisParameterValues(), SMESH_Mesh::GetShapeDiagonalSize(), and StdMeshers_NumberOfLayers::SetParametersByDefaults().
|
staticinherited |
Return diagonal size of bounding box of a shape.
References SMESHUtils::Add(), and OCC_CATCH_SIGNALS.
|
inherited |
Return geometry to be meshed.
(It may be a PseudoShape()!)
References SMESH_Mesh::_meshDS, and SMESHDS_Mesh::ShapeToMesh().
Referenced by SMESH_Mesh_i::addHypothesis(), SMESH_Mesh::Clear(), SMESH_Gen_i::Compute(), StdMeshers_QuadToTriaAdaptor::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_Prism_3D::computeBase(), SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_Mesh::fillAncestorsMap(), VISCOUS_3D::_ViscousBuilder::findFacesWithLayers(), VISCOUS_3D::_ViscousBuilder::findSolidsWithLayers(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Gen::GetAlgo(), SMESH_subMesh::GetAncestors(), SMESH_Mesh_i::GetHypothesisList(), SMESH_Mesh_i::GetNodePosition(), SMESH_Mesh::GetShapeDiagonalSize(), StdMeshers_ImportSource1D::GetSourceSubMeshes(), SMESH_Mesh_i::GetSubMesh(), SMESH_Gen_i::Load(), SMESH_ProxyMesh::NbFaces(), VISCOUS_2D::_ViscousBuilder2D::refine(), SMESH_Mesh_i::removeHypothesis(), SMESH_Mesh_i::ReplaceShape(), StdMeshers_ViscousLayers2D::RestoreListeners(), and MeshEditor_I::TSearchersDeleter::Set().
|
inherited |
Get or Create the SMESH_subMesh object implementation.
References SMESH_Mesh::_meshDS, SMESH_Mesh::_nbSubShapes, SMESH_Mesh::_subMeshHolder, SMESHDS_TSubMeshHolder< SUBMESH >::Add(), SMESHDS_Mesh::AddCompoundSubmesh(), SMESH_Mesh::fillAncestorsMap(), SMESHDS_TSubMeshHolder< SUBMESH >::Get(), SMESH_subMesh::getDependsOnIterator(), SMESH_Mesh::GetSubMesh(), SMESHDS_Mesh::IndexToShape(), and SMESHDS_Mesh::ShapeToIndex().
Referenced by SMESH_Mesh::AddHypothesis(), StdMeshers_Prism_3D::assocOrProjBottom2Top(), StdMeshers_Quadrangle_2D::check(), SMESH_subMesh::checkComputeError(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), StdMeshers_Import_1D::CheckHypothesis(), StdMeshers_Quadrangle_2D::checkNbEdgesForEvaluate(), StdMeshers_Prism_3D::compute(), StdMeshers_CompositeSegment_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_PolyhedronPerSolid_3D::Compute(), StdMeshers_Prism_3D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_Quadrangle_2D::Compute(), StdMeshers_RadialQuadrangle_1D2D::Compute(), StdMeshers_UseExisting_2D::Compute(), StdMeshers_UseExisting_1D::Compute(), StdMeshers_ViscousLayers2D::Compute(), StdMeshers_ViscousLayers::Compute(), StdMeshers_Prism_3D::computeBase(), StdMeshers_RadialQuadrangle_1D2D::computeLayerPositions(), ComputePentahedralMesh(), StdMeshers_Quadrangle_2D::computeQuadDominant(), SMESH_subMesh::ComputeStateEngine(), StdMeshers_Prism_3D::computeWalls(), SMESH_Pattern::createElements(), SMESH_Mesh_i::createSubMesh(), VISCOUS_2D::_ViscousBuilder2D::error(), VISCOUS_3D::_ViscousBuilder::error(), StdMeshers_CompositeHexa_3D::Evaluate(), StdMeshers_Hexa_3D::Evaluate(), StdMeshers_HexaFromSkin_3D::Evaluate(), StdMeshers_Import_1D::Evaluate(), StdMeshers_Import_1D2D::Evaluate(), StdMeshers_Penta_3D::Evaluate(), StdMeshers_PolygonPerFace_2D::Evaluate(), StdMeshers_PolyhedronPerSolid_3D::Evaluate(), StdMeshers_Prism_3D::Evaluate(), StdMeshers_Projection_1D::Evaluate(), StdMeshers_Projection_1D2D::Evaluate(), StdMeshers_Projection_2D::Evaluate(), StdMeshers_Projection_3D::Evaluate(), StdMeshers_Quadrangle_2D::Evaluate(), StdMeshers_RadialPrism_3D::Evaluate(), StdMeshers_RadialQuadrangle_1D2D::Evaluate(), StdMeshers_Regular_1D::Evaluate(), StdMeshers_Quadrangle_2D::evaluateQuadPref(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), VISCOUS_3D::_ViscousBuilder::findFacesWithLayers(), VISCOUS_2D::_ProxyMeshHolder::FindProxyMeshOfFace(), VISCOUS_3D::_ViscousBuilder::findSolidsWithLayers(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Gen::GetAlgo(), SMESH_Gen::GetAlgoState(), SMESH_subMesh::GetAncestors(), SMESH_subMesh::getCollection(), SMESH_Gen_i::GetComputeErrors(), StdMeshers_Quadrangle_2D::getEnforcedUV(), SMESH_Mesh::GetHypotheses(), SMESH_Mesh::GetHypothesis(), VISCOUS_3D::_ViscousListener::GetSolidMesh(), StdMeshers_ImportSource1D::GetSourceSubMeshes(), SMESH_Mesh::GetSubMesh(), StdMeshers_Prism_3D::initPrism(), SMESH_subMesh::insertDependence(), SMESH_MeshEditor_i::LinearAnglesVariation(), SMESH_Gen_i::Load(), StdMeshers_ProjectionUtils::MakeComputed(), VISCOUS_3D::_ViscousBuilder::makeEdgesOnShape(), VISCOUS_3D::_ViscousBuilder::makeLayer(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), StdMeshers_Prism_3D::makeQuadsForOutInProjection(), StdMeshers_Cartesian_VL::ViscousBuilder::MakeViscousLayers(), SMESH_Algo::NumberOfPoints(), SMESH_Gen::parallelComputeSubMeshes(), StdMeshers_Prism_3D::project2dMesh(), StdMeshers_Prism_3D::projectBottomToTop(), VISCOUS_2D::_ViscousBuilder2D::refine(), VISCOUS_3D::_ViscousBuilder::refine(), SMESH_Mesh::RemoveHypothesis(), VISCOUS_2D::_ViscousBuilder2D::removeMeshFaces(), VISCOUS_3D::_ViscousListener::RemoveSolidMesh(), StdMeshers_ViscousLayers2D::RestoreListeners(), SMESH_Gen::sequentialComputeSubMeshes(), MeshEditor_I::TSearchersDeleter::Set(), StdMeshers_ProjectionUtils::SetEventListener(), VISCOUS_2D::_ViscousBuilder2D::shrink(), VISCOUS_3D::_ViscousBuilder::shrink(), VISCOUS_3D::ToClearSubWithMain(), and StdMeshers_Prism_3D::toSM().
|
inherited |
Get the SMESH_subMesh object implementation.
Don't create it, return null if it does not exist.
References SMESH_Mesh::_subMeshHolder, and SMESHDS_TSubMeshHolder< SUBMESH >::Get().
|
inherited |
Get the SMESH_subMesh object implementation.
Don't create it, return null if it does not exist.
References SMESH_Mesh::_meshDS, SMESH_Mesh::GetSubMeshContaining(), and SMESHDS_Mesh::ShapeToIndex().
Referenced by SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh::Clear(), StdMeshers_Penta_3D::ClearMeshOnFxy1(), SMESH_Mesh::ClearSubMesh(), clearSubMesh(), StdMeshers_Regular_1D::computeInternalParameters(), SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_Pattern::createElements(), SMESH_subMesh::deleteOwnListeners(), SMESH_subMesh::DependsOn(), VISCOUS_3D::_ViscousBuilder::error(), StdMeshers_Hexa_3D::Evaluate(), StdMeshers_Penta_3D::FindNodeOnShape(), VISCOUS_3D::_ViscousBuilder::findPeriodicFaces(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_subMesh::GetAncestors(), SMESH_Mesh::getAncestorsSubMeshes(), SMESH_Gen_i::GetBadInputElements(), SMESH_Mesh::GetComputeProgress(), SMESH_Mesh::GetGroupSubMeshesContaining(), StdMeshers_Propagation::GetPropagationSource(), StdMeshers_ImportSource1D::GetSourceSubMeshes(), SMESH_Mesh::GetSubMeshContaining(), SMESH_Mesh_i::GetSubMeshElementsId(), SMESH_Mesh_i::GetSubMeshElementType(), SMESH_Mesh_i::GetSubMeshNodesId(), StdMeshers_Import_1D::getSubMeshOfCopiedMesh(), StdMeshers_Prism_3D::initPrism(), SMESH_Mesh::IsComputedOK(), StdMeshers_Penta_3D::MakeBlock(), SMESH_Mesh_i::MakeGroupsOfBadInputElements(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), StdMeshers_Penta_3D::MakeNodes(), StdMeshers_Penta_3D::MakeVolumeMesh(), SMESH_MeshEditor::MergeNodes(), SMESH_Gen_i::Precompute(), SMESH_Mesh_i::removeSubMesh(), SMESH_subMesh::removeSubMeshElementsAndNodes(), SMESH_Mesh_i::ReplaceShape(), SMESH_Mesh::SortByMeshOrder(), MeshEditor_I::TSearchersDeleter::Unset(), SMESH_Gen_i::UpdateIcons(), and SMESH_Mesh::~SMESH_Mesh().
| boost::filesystem::path SMESH_ParallelMesh::GetTmpFolder | ( | ) |
Referenced by SMESH_Gen::parallelComputeSubMeshes(), and SMESH_Gen::send_mesh().
| std::string SMESH_ParallelMesh::GetWalltime | ( | ) |
| std::string SMESH_ParallelMesh::GetWcKey | ( | ) |
|
inherited |
Fill its data by reading a GMF file.
References SMESH_Mesh::_meshDS, Driver_Mesh::GetError(), DriverGMF_Read::Perform(), Driver_Mesh::SetFile(), DriverGMF_Read::SetMakeRequiredGroups(), Driver_SMESHDS_Mesh::SetMesh(), and SMESH_Mesh::SynchronizeGroups().
Referenced by SMESH_Mesh_i::ImportGMFFile().
|
inherited |
Check group names for duplications.
Check if any groups of the same type have equal names.
Consider maximum group name length stored in MED file
References SMESH_Mesh::_mapGroup, SMESH_Group::GetGroupDS(), SMESH_Group::GetName(), SMESHDS_GroupBase::GetType(), and MAX_MED_GROUP_NAME_LENGTH.
Referenced by SMESH_Mesh_i::HasDuplicatedGroupNamesMED().
|
inherited |
Return true if the mesh has been edited since a total re-compute and those modifications may prevent successful partial re-compute.
As a side effect reset _isModified flag if mesh is empty
References SMESH_Mesh::_isModified, SMESH_Mesh::_subMeshHolder, SMESHDS_TSubMeshHolder< SUBMESH >::GetIterator(), SMESH_subMesh::GetSubShape(), SMESH_subMesh::IsMeshComputed(), and SMESH_Mesh::NbNodes().
Referenced by SMESH_Mesh::AddHypothesis(), StdMeshers_FaceSide::GetEdgeNodes(), SMESH_Mesh_i::HasModificationsToDiscard(), SMESH_Mesh::NotifySubMeshesHypothesisModification(), SMESH_Mesh::RemoveHypothesis(), SMESH_Mesh::SetIsModified(), and SMESH_Algo::VertexNode().
|
inherited |
Return true if there is a geometry to be meshed, not PseudoShape()
Referenced by SMESH_subMesh::AlgoStateEngine(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Mesh::Clear(), SMESH_subMesh::ComputeStateEngine(), SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_subMesh::DependsOn(), SMESH_subMesh::Evaluate(), SMESH_Mesh_i::ExportPartToMEDCommon(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_Gen::GetAlgo(), SMESH_Gen::GetAlgoState(), SMESH_ProxyMesh::GetFaces(), SMESH_Mesh_i::GetHypothesisList(), StdMeshers_ImportSource1D::GetSourceSubMeshes(), SMESH_Mesh_i::HasShapeToMesh(), SMESH_subMesh::IsApplicableHypothesis(), SMESH_MesherHelper::IsQuadraticSubMesh(), SMESH_Gen_i::Load(), SMESH_MeshEditor::MakeBoundaryMesh(), SMESH_Mesh_i::MakeGroupsOfBadInputElements(), SMESH_Pattern::MakeMesh(), SMESH_ProxyMesh::NbFaces(), SMESH_Gen::parallelComputeSubMeshes(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_Mesh_i::RemoveHypothesis(), SMESH_Mesh_i::removeHypothesis(), StdMeshers_ViscousLayers2D::RestoreListeners(), SMESH_Gen_i::Save(), SMESH_Gen::sequentialComputeSubMeshes(), SMESH_ProxyMesh::shapeIndex(), and SMESH_MesherHelper::SMESH_MesherHelper().
| void SMESH_ParallelMesh::InitPoolThreads | ( | ) |
Referenced by ComputeSubMeshes().
|
inherited |
Return true if all sub-meshes are computed OK - to update an icon.
References SMESH_subMesh::COMPUTE_OK, SMESH_subMesh::FAILED_TO_COMPUTE, SMESH_subMesh::GetComputeState(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::IsAlwaysComputed(), SMESH_Mesh::NbNodes(), SMESH_subMesh::NOT_READY, and SMESH_subMesh::READY_TO_COMPUTE.
Referenced by SMESH_Mesh_i::IsComputedOK().
|
inherited |
|
inherited |
check if a hypothesis allowing notconform mesh is present
References SMESH_Mesh::_meshDS, SMESH_Mesh::GetHypothesis(), SMESH_HypoFilter::HasName(), MESSAGE, and SMESHDS_Mesh::ShapeToMesh().
Referenced by SMESH_subMesh::AlgoStateEngine(), SMESH_subMesh::ComputeStateEngine(), and SMESH_Gen::GetAlgoState().
|
inherited |
Return true if given order of sub-meshes is OK.
References SMESH_Mesh::_subMeshOrder, and SMESH_subMesh::GetId().
Referenced by SMESH_Gen::GetAlgo().
|
overridevirtual |
Reimplemented from SMESH_Mesh.
|
inherited |
Return True if anHyp is used to mesh aSubShape.
References SMESH_subMesh::GetAlgo(), SMESH_Algo::GetCompatibleHypoFilter(), SMESH_Mesh::GetHypotheses(), SMESHDS_Hypothesis::GetType(), SMESH_subMesh::IsApplicableHypothesis(), SMESH_Hypothesis::IsAuxiliary(), and SMESHDS_Hypothesis::PARAM_ALGO.
Referenced by SMESH_subMesh::AlgoStateEngine(), and SMESH_Mesh::NotifySubMeshesHypothesisModification().
| bool SMESH_ParallelMesh::keepingTmpFolfer | ( | ) |
Checking if we should keep the temporary folder They are kept if the variable SMESH_KEEP_TMP is set to higher than 0.
Referenced by cleanup().
|
inherited |
Load mesh from study file.
References SMESH_Mesh::_callUp, and SMESH_Mesh::TCallUp::Load().
|
overridevirtual |
Reimplemented from SMESH_Mesh.
|
inherited |
References SMESH_Mesh::_isShapeToMesh, SMESH_Mesh::_meshDS, SMESH_Mesh::AddGroup(), SMESHDS_Mesh::CompactMesh(), Driver_Mesh::GetError(), DriverMED_R_SMESHDS_Mesh::GetGroup(), SMESH_Group::GetGroupDS(), DriverMED_R_SMESHDS_Mesh::GetGroupNamesAndTypes(), SMDS_Mesh::Modified(), DriverMED_R_SMESHDS_Mesh::Perform(), Driver_Mesh::SetFile(), Driver_SMESHDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), DriverMED_R_SMESHDS_Mesh::SetMeshName(), and SMESHDS_GroupBase::SetStoreName().
Referenced by SMESH_Mesh_i::ImportMEDFile(), and SMESH_DriverMesh::importMesh().
|
inherited |
Return true if a mesh with given id exists.
References SMESH_Mesh::_document, and SMESHDS_Document::GetMesh().
Referenced by SMESH_subMesh::GetEventListenerData().
|
inherited |
Return number of edges of given order in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::Nb0DElements().
Referenced by SMESH_Mesh_i::GetTypes(), and SMESH_Mesh_i::Nb0DElements().
|
inherited |
Return number of ball elements in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbBalls().
Referenced by SMESH_Mesh_i::GetTypes(), and SMESH_Mesh_i::NbBalls().
|
inherited |
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbBiQuadPrisms().
Referenced by SMESH_MesherHelper::FixQuadraticElements().
|
inherited |
Return number of biquadratic quadrangles in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbBiQuadQuadrangles().
Referenced by SMESH_MesherHelper::FixQuadraticElements(), and SMESH_Mesh_i::NbBiQuadQuadrangles().
|
inherited |
Return number of biquadratic triangles in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbBiQuadTriangles().
Referenced by SMESH_MesherHelper::FixQuadraticElements(), and SMESH_Mesh_i::NbBiQuadTriangles().
|
inherited |
Return number of edges of given order in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbEdges().
Referenced by SMESH_MeshEditor::ExtrusionAlongTrack(), SMESH_MeshEditor::ExtrusionSweep(), SMESH_MeshEditor::FindCoincidentNodes(), SMESH_Mesh_i::FindElementByNodes(), SMESH_Mesh_i::GetTypes(), SMESH_MesherHelper::IsQuadraticMesh(), SMESH_Pattern_i::MakeMesh(), SMESH_Mesh_i::NbEdges(), SMESH_Mesh_i::NbEdgesOfOrder(), and SMESH_MeshEditor::RotationSweep().
|
inherited |
Return number of faces of given order in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbFaces().
Referenced by StdMeshers_HexaFromSkin_3D::Evaluate(), SMESH_MeshEditor::ExtrusionSweep(), SMESH_MeshEditor::FindCoincidentNodes(), SMESH_Mesh_i::FindElementByNodes(), SMESH_ProxyMesh::GetFaces(), SMESH_Mesh_i::GetTypes(), SMESH_MesherHelper::IsQuadraticMesh(), SMESH_MesherHelper::IsQuadraticSubMesh(), SMESH_Pattern_i::MakeMesh(), SMESH_MeshEditor_i::MakePolyLine(), SMESH_MeshEditor_i::MakeSlot(), SMESH_Mesh_i::NbFaces(), SMESH_Mesh_i::NbFacesOfOrder(), SMESH_MeshEditor_i::Reorient2D(), and SMESH_MeshEditor::RotationSweep().
|
inherited |
Referenced by SMESH_MeshEditor_i::ExtrusionAlongPathObjects().
|
inherited |
Return number of hexagonal prisms in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbHexPrisms().
Referenced by SMESH_Mesh_i::NbHexagonalPrisms().
|
inherited |
Return number of hexahedrons of given order in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbHexas().
Referenced by SMESH_MeshEditor::GetHexaFacetsToSplit(), SMESH_Mesh_i::NbHexas(), and SMESH_Mesh_i::NbHexasOfOrder().
|
inherited |
Returns number of meshes in the Study, that is supposed to be equal to SMESHDS_Document::NbMeshes()
References SMESH_Mesh::_document, and SMESHDS_Document::NbMeshes().
Referenced by SMESH_Mesh_i::~SMESH_Mesh_i().
|
inherited |
Return number of nodes in the mesh.
References SMESH_Mesh::_meshDS, and SMDS_Mesh::NbNodes().
Referenced by SMESH_subMesh::cleanDependsOn(), SMESH_Mesh_i::GetTypes(), SMESH_Mesh::HasModificationsToDiscard(), SMESH_Mesh::IsComputedOK(), SMESH_Pattern_i::MakeMesh(), SMESH_Mesh_i::NbNodes(), SMESH_Mesh::NotifySubMeshesHypothesisModification(), and SMESH_MeshEditor_i::RemoveOrphanNodes().
|
inherited |
Return the number of polygonal faces in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbPolygons().
Referenced by SMESH_Mesh_i::NbPolygons(), and SMESH_Mesh_i::NbPolygonsOfOrder().
|
inherited |
Return number of polyhedrons in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbPolyhedrons().
Referenced by SMESH_Mesh_i::NbPolyhedrons().
|
inherited |
Return number of prisms (penthahedrons) of given order in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbPrisms().
Referenced by SMESH_Mesh_i::NbPrisms(), and SMESH_Mesh_i::NbPrismsOfOrder().
|
inherited |
Return number of pyramids of given order in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbPyramids().
Referenced by SMESH_Mesh_i::NbPyramids(), and SMESH_Mesh_i::NbPyramidsOfOrder().
|
inherited |
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbQuadPrisms().
|
inherited |
Return the number nodes faces in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbQuadrangles().
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), StdMeshers_Prism_3D::Compute(), SMESH_Mesh_i::NbQuadrangles(), SMESH_Mesh_i::NbQuadranglesOfOrder(), and VISCOUS_3D::_ViscousBuilder::shrink().
|
inherited |
Return number of submeshes in the mesh.
References SMESH_Mesh::_meshDS, and SMDS_Mesh::NbSubMesh().
|
inherited |
Return number of tetrahedrons of given order in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbTetras().
Referenced by SMESH_Mesh_i::NbTetras(), and SMESH_Mesh_i::NbTetrasOfOrder().
|
inherited |
Return the number of faces in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbTriangles().
Referenced by StdMeshers_Hexa_3D::Compute(), SMESH_Mesh_i::NbTriangles(), SMESH_Mesh_i::NbTrianglesOfOrder(), and VISCOUS_3D::_ViscousBuilder::shrink().
|
inherited |
Return number of triquadratic hexahedrons in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbTriQuadHexas().
Referenced by SMESH_MesherHelper::FixQuadraticElements(), and SMESH_Mesh_i::NbTriQuadraticHexas().
|
inherited |
Return number of volumes of given order in the mesh.
References SMESH_Mesh::_meshDS, SMDS_Mesh::GetMeshInfo(), and SMDS_MeshInfo::NbVolumes().
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), SMESH_MeshEditor::ExtrusionSweep(), SMESH_MeshEditor::FindCoincidentNodes(), SMESH_Mesh_i::FindElementByNodes(), SMESH_Mesh_i::GetTypes(), SMESH_Pattern::Load(), SMESH_Pattern_i::MakeMesh(), SMESH_Mesh_i::NbVolumes(), SMESH_Mesh_i::NbVolumesOfOrder(), and SMESH_MeshEditor::RotationSweep().
|
inherited |
Say all submeshes that theChangedHyp has been modified.
References SMESH_Mesh::_callUp, SMESH_Mesh::_meshDS, SMESH_Mesh::_subMeshHolder, SMESH_Mesh::Clear(), SMESH_subMesh::COMPUTE_OK, SMESH_Hypothesis::DataDependOnParams(), SMESH_subMesh::FAILED_TO_COMPUTE, SMESH_subMesh::GetAlgo(), SMESH_subMesh::GetAlgoState(), SMESH_Algo::GetCompatibleHypoFilter(), SMESH_subMesh::GetComputeState(), SMESH_Mesh::GetHypotheses(), SMESHDS_Hypothesis::GetID(), SMESHDS_TSubMeshHolder< SUBMESH >::GetIterator(), SMESH_Mesh::GetMeshDS(), SMESH_subMesh::GetSubShape(), SMESH_Mesh::HasModificationsToDiscard(), SMESH_Mesh::TCallUp::HypothesisModified(), SMESH_subMesh::IsApplicableHypothesis(), SMESH_Hypothesis::IsAuxiliary(), SMESH_subMesh::IsEmpty(), SMESH_Mesh::TCallUp::IsLoaded(), SMESH_HypoFilter::IsOk(), SMESH_Mesh::IsUsedHypothesis(), SMESH_subMesh::MISSING_HYP, SMESH_subMesh::MODIF_HYP, SMDS_Mesh::Modified(), SMDS_Mesh::NbElements(), SMDS_Mesh::NbNodes(), and SMESH_Mesh::NbNodes().
Referenced by SMESH_Hypothesis::NotifySubMeshesHypothesisModification().
|
staticinherited |
Return a solid which is returned by GetShapeToMesh() if a real geometry to be meshed was not set.
Referenced by SMESH_Gen_i::CancelCompute(), SMESH_Gen_i::Compute(), SMESH_Gen_i::Evaluate(), SMESH_Gen_i::GetAlgoState(), SMESH_Gen_i::GetComputeErrors(), SMESH_Gen_i::GetMeshOrSubmeshByShape(), SMESH_Gen_i::Load(), SMESH_Mesh::ShapeToMesh(), and SMESH_Mesh::SMESH_Mesh().
|
inherited |
|
inherited |
References SMESH_Mesh::_gen, SMESH_subMesh::AlgoStateEngine(), SMESH_subMesh::CheckConcurrentHypothesis(), SMESH_subMesh::DumpAlgoState(), SMESH_subMesh::getDependsOnIterator(), SMESH_Hypothesis::GetDim(), SMESH_Mesh::GetMeshDS(), SMESH_Gen::GetShapeDim(), SMESH_Gen::GetStudyContext(), SMESH_Mesh::GetSubMesh(), SMESHDS_Hypothesis::GetType(), SMESH_Mesh::HasModificationsToDiscard(), SMESH_Hypothesis::HYP_CONCURRENT, SMESH_Hypothesis::HYP_OK, SMESH_subMesh::IsApplicableHypothesis(), SMESH_Mesh::IsMainShape(), SMESH_Hypothesis::IsStatusFatal(), studyContextStruct::mapHypothesis, MESSAGE, SMDS_Mesh::Modified(), SMESHDS_Hypothesis::PARAM_ALGO, SMESH_subMesh::REMOVE_ALGO, SMESH_subMesh::REMOVE_FATHER_ALGO, SMESH_subMesh::REMOVE_FATHER_HYP, SMESH_subMesh::REMOVE_HYP, and SMESH_subMesh::SubMeshesAlgoStateEngine().
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::removeHypothesis(), SMESH_Mesh_i::removeSubMesh(), and SMESH_Gen_i::Save().
|
inherited |
Auto color functionality.
References SMESH_Mesh::_isAutoColor.
Referenced by SMESH_Gen_i::Load(), and SMESH_Mesh_i::SetAutoColor().
|
inherited |
Set a caller of methods at level of CORBA API implementation.
The set upCaller will be deleted by SMESH_Mesh
References SMESH_Mesh::_callUp.
Referenced by SMESH_Mesh_i::SetImpl().
|
inherited |
Set the flag meaning that the mesh has been edited "manually".
It is to set to false after Clear() and to set to true by MeshEditor
References SMESH_Mesh::_isModified, and SMESH_Mesh::HasModificationsToDiscard().
Referenced by SMESH_MeshEditor_i::declareMeshModified(), SMESH_Pattern_i::MakeMesh(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_Mesh_i::RemoveGroupWithContents(), SMESH_MeshEditor_i::SetMeshElementOnShape(), SMESH_MeshEditor_i::SetNodeOnEdge(), SMESH_MeshEditor_i::SetNodeOnFace(), and SMESH_MeshEditor_i::SetNodeOnVertex().
|
inherited |
remove submesh order from Mesh
References SMESH_Mesh::_subMeshOrder.
Referenced by SMESH_Gen_i::Load(), and SMESH_Mesh_i::SetMeshOrder().
| void SMESH_ParallelMesh::SetNbNode | ( | long | nbNodes | ) |
Referenced by SMESH_ParallelMesh_i::SetNbNode().
| void SMESH_ParallelMesh::SetNbProc | ( | long | nbProc | ) |
Referenced by SMESH_ParallelMesh_i::SetNbProc().
| void SMESH_ParallelMesh::SetNbProcPerNode | ( | long | nbProcPerNodes | ) |
Referenced by SMESH_ParallelMesh_i::SetNbProcPerNode().
| void SMESH_ParallelMesh::SetNbThreads | ( | long | nbThreads | ) |
Set Number of thread for multithread run.
References _NbThreads.
Referenced by SMESH_ParallelMesh_i::SetNbThreads().
| void SMESH_ParallelMesh::SetParallelismDimension | ( | int | aDim | ) |
Referenced by SMESH_ParallelMesh_i::SetParallelismDimension().
| void SMESH_ParallelMesh::SetParallelismMethod | ( | int | aMethod | ) |
Referenced by SMESH_ParallelMesh_i::SetParallelismMethod().
| void SMESH_ParallelMesh::SetResource | ( | std::string | aResource | ) |
Referenced by SMESH_ParallelMesh_i::SetResource().
| void SMESH_ParallelMesh::SetWalltime | ( | std::string | walltime | ) |
Referenced by SMESH_ParallelMesh_i::SetWalltime().
| void SMESH_ParallelMesh::SetWcKey | ( | std::string | wcKey | ) |
Referenced by SMESH_ParallelMesh_i::SetWcKey().
|
inherited |
Set geometry to be meshed.
References SMESH_Mesh::_isModified, SMESH_Mesh::_isShapeToMesh, SMESH_Mesh::_mapAncestors, SMESH_Mesh::_mapGroup, SMESH_Mesh::_meshDS, SMESH_Mesh::_nbSubShapes, SMESH_Mesh::_shapeDiagonal, SMESH_Mesh::_subMeshHolder, SMESHDS_TSubMeshHolder< SUBMESH >::DeleteAll(), SMESH_Mesh::fillAncestorsMap(), SMESHDS_Mesh::MaxShapeIndex(), MESSAGE, SMESH_Mesh::PseudoShape(), SMESHDS_Mesh::RemoveGroup(), and SMESHDS_Mesh::ShapeToMesh().
Referenced by SMESH_MeshEditor_i::AddNodeOnSegment(), SMESH_Mesh_i::CheckGeomGroupModif(), SMESH_Mesh_i::CheckGeomModif(), SMESH_Gen_i::Save(), and SMESH_Mesh_i::SetShape().
|
inherited |
sort submeshes according to stored mesh order
| theListToSort | in out list to be sorted |
References SMESH_Mesh::_subMeshOrder, SMESHDS_SubMesh::GetID(), and SMESH_Mesh::GetSubMeshContaining().
Referenced by SMESH_Mesh::getAncestorsSubMeshes(), SMESH_Mesh::GetHypotheses(), SMESH_Mesh::GetHypothesis(), and StdMeshers_ProjectionUtils::MakeComputed().
|
inherited |
|
inherited |
Creates SMESH_Groups for not wrapped SMESHDS_Groups.
| bool | - true if new SMESH_Groups have been created |
References SMESH_Mesh::_groupId, SMESH_Mesh::_mapGroup, SMESH_Mesh::_meshDS, SMESHDS_Mesh::GetGroups(), and SMESHDS_GroupBase::GetID().
Referenced by SMESH_Mesh::CGNSToMesh(), and SMESH_Mesh::GMFToMesh().
|
inherited |
|
overridevirtual |
Reimplemented from SMESH_Mesh.
|
inherited |
consult DriverMED_R_SMESHDS_Mesh::ReadStatus for returned value
References SMESH_Mesh::_isShapeToMesh, SMESH_Mesh::_mapGroup, SMESH_Mesh::_meshDS, SMESH_Mesh::AddGroup(), DriverUNV_R_SMDS_Mesh::GetGroupNamesMap(), SMDS_MeshGroup::GetType(), DriverUNV_R_SMDS_Mesh::Perform(), Driver_Mesh::SetFile(), Driver_SMDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), SMESHDS_GroupBase::SetStoreName(), and SMESHDS_Group::SMDSGroup().
Referenced by SMESH_Mesh_i::ImportUNVFile().
|
overridevirtual |
Reimplemented from SMESH_Mesh.
|
mutableprotectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_Mesh::MeshExists(), SMESH_Mesh::NbMeshes(), SMESH_Mesh::SMESH_Mesh(), and SMESH_Mesh::~SMESH_Mesh().
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_Mesh::AddGroup(), and SMESH_Mesh::SynchronizeGroups().
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_Mesh::GetAutoColor(), SMESH_Mesh::SetAutoColor(), and SMESH_Mesh::SMESH_Mesh().
|
protectedinherited |
modified since last total re-compute, issue 0020693
Referenced by SMESH_Mesh::Clear(), SMESH_Mesh::HasModificationsToDiscard(), SMESH_Mesh::SetIsModified(), SMESH_Mesh::ShapeToMesh(), and SMESH_Mesh::SMESH_Mesh().
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_Mesh::fillAncestorsMap(), SMESH_Mesh::GetAncestors(), and SMESH_Mesh::ShapeToMesh().
|
protectedinherited |
Referenced by SMESH_Mesh::AddGroup(), SMESH_Mesh::ConvertToStandalone(), SMESH_Mesh::ExportCGNS(), SMESH_Mesh::exportMEDCommmon(), SMESH_Mesh::ExportUNV(), SMESH_Mesh::GetGroup(), SMESH_Mesh::GetGroupIds(), SMESH_Mesh::GetGroups(), SMESH_Mesh::HasDuplicatedGroupNamesMED(), SMESH_Mesh::RemoveGroup(), SMESH_Mesh::ShapeToMesh(), SMESH_Mesh::SynchronizeGroups(), SMESH_Mesh::UNVToMesh(), and SMESH_Mesh::~SMESH_Mesh().
|
protectedinherited |
Referenced by SMESH_Mesh::CGNSToMesh(), SMESH_Mesh::Clear(), SMESH_Mesh::ClearLog(), MeshEditor_I::TPreviewMesh::Copy(), SMESH_Mesh::ExportDAT(), SMESH_Mesh::exportMEDCommmon(), SMESH_Mesh::ExportSTL(), SMESH_Mesh::ExportStructuredCGNS(), SMESH_Mesh::ExportUNV(), SMESH_Mesh::GetElementType(), SMESH_Mesh::GetHypotheses(), SMESH_Mesh::GetHypothesis(), SMESH_Mesh::GetHypothesisList(), SMESH_Mesh::GetLog(), SMESH_Mesh::GetShapeToMesh(), SMESH_Mesh::GetSubMesh(), SMESH_Mesh::GetSubMeshContaining(), SMESH_Mesh::GMFToMesh(), SMESH_Mesh::IsMainShape(), SMESH_Mesh::IsNotConformAllowed(), SMESH_Mesh::MEDToMesh(), SMESH_Mesh::Nb0DElements(), SMESH_Mesh::NbBalls(), SMESH_Mesh::NbBiQuadPrisms(), SMESH_Mesh::NbBiQuadQuadrangles(), SMESH_Mesh::NbBiQuadTriangles(), SMESH_Mesh::NbEdges(), SMESH_Mesh::NbFaces(), SMESH_Mesh::NbHexagonalPrisms(), SMESH_Mesh::NbHexas(), SMESH_Mesh::NbNodes(), SMESH_Mesh::NbPolygons(), SMESH_Mesh::NbPolyhedrons(), SMESH_Mesh::NbPrisms(), SMESH_Mesh::NbPyramids(), SMESH_Mesh::NbQuadPrisms(), SMESH_Mesh::NbQuadrangles(), SMESH_Mesh::NbSubMesh(), SMESH_Mesh::NbTetras(), SMESH_Mesh::NbTriangles(), SMESH_Mesh::NbTriQuadraticHexas(), SMESH_Mesh::NbVolumes(), SMESH_Mesh::NotifySubMeshesHypothesisModification(), SMESH_Mesh::ShapeToMesh(), SMESH_Mesh::SMESH_Mesh(), SMESH_Mesh_Test::SMESH_Mesh_Test(), SMESH_Mesh::STLToMesh(), SMESH_Mesh::SynchronizeGroups(), MeshEditor_I::TPreviewMesh::TPreviewMesh(), SMESH_Mesh::UNVToMesh(), and SMESH_Mesh::~SMESH_Mesh().
|
private |
Referenced by GetPoolNbThreads().
|
private |
|
private |
Referenced by GetPoolNbThreads().
|
private |
Referenced by GetPoolNbThreads().
|
private |
Referenced by GetPoolNbThreads().
|
protectedinherited |
Referenced by SMESH_Mesh::GetSubMesh(), and SMESH_Mesh::ShapeToMesh().
|
private |
Referenced by GetPoolNbThreads(), and SetNbThreads().
|
private |
Referenced by GetDumpElement(), and GetParallelElement().
|
private |
|
private |
|
protectedinherited |
diagonal size of bounding box of shape to mesh
Referenced by SMESH_Mesh::GetShapeDiagonalSize(), SMESH_Mesh::ShapeToMesh(), and SMESH_Mesh::SMESH_Mesh().
|
protectedinherited |
|
protectedinherited |
|
private |
|
private |
|
private |
Referenced by CreateTmpFolder(), and DeleteTmpFolder().