Version: 9.16.0
SMESH_SequentialMesh.hxx
Go to the documentation of this file.
1// Copyright (C) 2007-2026 CEA, EDF, OPEN CASCADE
2//
3// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5//
6// This library is free software; you can redistribute it and/or
7// modify it under the terms of the GNU Lesser General Public
8// License as published by the Free Software Foundation; either
9// version 2.1 of the License, or (at your option) any later version.
10//
11// This library is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14// Lesser General Public License for more details.
15//
16// You should have received a copy of the GNU Lesser General Public
17// License along with this library; if not, write to the Free Software
18// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19//
20// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21//
22
23// File : SMESH_SequentialMesh.hxx
24// Author : Yoann AUDOUIN, EDF
25// Module : SMESH
26//
27#ifndef _SMESH_SEQUENTIALMESH_HXX_
28#define _SMESH_SEQUENTIALMESH_HXX_
29
30#include "SMESH_Mesh.hxx"
31
32#include "SMESH_Gen.hxx"
33#include "SMESH_subMesh.hxx"
34
36{
37 public:
38 SMESH_SequentialMesh(int theLocalId,
39 SMESH_Gen* theGen,
40 bool theIsEmbeddedMode,
41 SMESHDS_Document* theDocument);
42
43 virtual ~SMESH_SequentialMesh();
44
45 void Lock() override {};
46 void Unlock() override {};
47
48 void wait() override {};
49
50 bool IsParallel() override {return false;};
51 int GetParallelElement() override {return 0;};
52
53 bool ComputeSubMeshes (
54 SMESH_Gen* gen,
55 SMESH_Mesh & aMesh,
56 const TopoDS_Shape & aShape,
58 TSetOfInt* aShapesId /*=0*/,
59 TopTools_IndexedMapOfShape* allowedSubShapes,
60 SMESH_subMesh::compute_event &computeEvent,
61 const bool includeSelf,
62 const bool complexShapeFirst,
63 const bool aShapeOnly) override;
64
65 protected:
68};
69#endif
std::set< int > TSetOfInt
Definition: SMESH_Gen.hxx:65
MeshDimension
Definition: SMESH_Hypothesis.hxx:40
#define SMESH_EXPORT
Definition: SMESH_SMESH.hxx:37
Definition: SMESHDS_Document.hxx:38
Definition: SMESH_Gen.hxx:68
Definition: SMESH_Mesh.hxx:80
virtual 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)
Definition: SMESH_Mesh.hxx:410
Definition: SMESH_SequentialMesh.hxx:36
void Unlock() override
Definition: SMESH_SequentialMesh.hxx:46
SMESH_SequentialMesh()
Definition: SMESH_SequentialMesh.hxx:66
SMESH_SequentialMesh(const SMESH_SequentialMesh &aMesh)
Definition: SMESH_SequentialMesh.hxx:67
bool IsParallel() override
Definition: SMESH_SequentialMesh.hxx:50
void wait() override
Definition: SMESH_SequentialMesh.hxx:48
void Lock() override
Definition: SMESH_SequentialMesh.hxx:45
int GetParallelElement() override
Definition: SMESH_SequentialMesh.hxx:51
compute_event
Definition: SMESH_subMesh.hxx:116