Public Types | Public Member Functions | Static Public Member Functions | List of all members
DistributedDelaunayMesh< Triangulation > Class Template Reference
Inheritance diagram for DistributedDelaunayMesh< Triangulation >:
Inheritance graph
[legend]
Collaboration diagram for DistributedDelaunayMesh< Triangulation >:
Collaboration graph
[legend]

Public Types

typedef Triangulation::Vertex_handle Vertex_handle
 
typedef Triangulation::Cell_handle Cell_handle
 
typedef Triangulation::Point Point
 
typedef Triangulation::Finite_vertices_iterator Finite_vertices_iterator
 
typedef Triangulation::Finite_cells_iterator Finite_cells_iterator
 
typedef Triangulation::All_cells_iterator All_cells_iterator
 
- Public Types inherited from DelaunayMesh< Triangulation >
typedef Triangulation::Cell_handle Cell_handle
 
typedef Triangulation::Vertex_handle Vertex_handle
 
typedef Triangulation::Edge Edge
 
typedef Triangulation::Point Point
 
typedef Triangulation::Facet Facet
 
typedef Triangulation::Finite_vertices_iterator Finite_vertices_iterator
 
typedef Triangulation::Finite_cells_iterator Finite_cells_iterator
 
typedef Triangulation::Finite_facets_iterator Finite_facets_iterator
 

Public Member Functions

 DistributedDelaunayMesh (const Time &runTime)
 
 DistributedDelaunayMesh (const Time &runTime, const word &meshName)
 
 ~DistributedDelaunayMesh ()=default
 
scalar calculateLoadUnbalance () const
 
bool distribute (const boundBox &bb)
 
autoPtr< mapDistributedistribute (const backgroundMeshDecomposition &decomposition, List< Foam::point > &points)
 
void sync (const boundBox &bb)
 
void sync (const boundBox &bb, PtrList< labelPairHashSet > &referralVertices, labelPairHashSet &receivedVertices, bool iterateReferral=true)
 
template<class PointIterator >
labelPairHashSet rangeInsertReferredWithInfo (PointIterator begin, PointIterator end, bool printErrors=true)
 
- Public Member Functions inherited from DelaunayMesh< Triangulation >
 DelaunayMesh (const Time &runTime)
 
 DelaunayMesh (const Time &runTime, const word &meshName)
 
 ~DelaunayMesh ()
 
const Timetime () const
 
void timeCheck (const string &description, const bool check=true) const
 
label getNewCellIndex () const
 
label getNewVertexIndex () const
 
label cellCount () const
 
label vertexCount () const
 
void resetCellCount ()
 
void resetVertexCount ()
 
void reset ()
 
Map< label > insertPoints (const List< Vb > &vertices, const bool reIndex)
 
template<class PointIterator >
Map< label > rangeInsertWithInfo (PointIterator begin, PointIterator end, bool printErrors=false, bool reIndex=true)
 
void printInfo (Ostream &os) const
 
void printVertexInfo (Ostream &os) const
 
autoPtr< polyMeshcreateMesh (const fileName &name, labelPairLookup &vertexMap, labelList &cellMap, const bool writeDelaunayData=true) const
 

Static Public Member Functions

static autoPtr< mapDistributebuildMap (const List< label > &toProc)
 

Detailed Description

template<class Triangulation>
class Foam::DistributedDelaunayMesh< Triangulation >

Source files

Definition at line 54 of file DistributedDelaunayMesh.H.

Member Typedef Documentation

◆ Vertex_handle

typedef Triangulation::Vertex_handle Vertex_handle

Definition at line 60 of file DistributedDelaunayMesh.H.

◆ Cell_handle

typedef Triangulation::Cell_handle Cell_handle

Definition at line 61 of file DistributedDelaunayMesh.H.

◆ Point

typedef Triangulation::Point Point

Definition at line 62 of file DistributedDelaunayMesh.H.

◆ Finite_vertices_iterator

typedef Triangulation::Finite_vertices_iterator Finite_vertices_iterator

Definition at line 65 of file DistributedDelaunayMesh.H.

◆ Finite_cells_iterator

typedef Triangulation::Finite_cells_iterator Finite_cells_iterator

Definition at line 67 of file DistributedDelaunayMesh.H.

◆ All_cells_iterator

typedef Triangulation::All_cells_iterator All_cells_iterator

Definition at line 69 of file DistributedDelaunayMesh.H.

Constructor & Destructor Documentation

◆ DistributedDelaunayMesh() [1/2]

DistributedDelaunayMesh ( const Time runTime)
explicit

◆ DistributedDelaunayMesh() [2/2]

DistributedDelaunayMesh ( const Time runTime,
const word meshName 
)

◆ ~DistributedDelaunayMesh()

Member Function Documentation

◆ calculateLoadUnbalance()

scalar calculateLoadUnbalance ( ) const

◆ buildMap()

static autoPtr<mapDistribute> buildMap ( const List< label > &  toProc)
static

◆ distribute() [1/2]

bool distribute ( const boundBox bb)

◆ distribute() [2/2]

autoPtr<mapDistribute> distribute ( const backgroundMeshDecomposition decomposition,
List< Foam::point > &  points 
)

◆ sync() [1/2]

void sync ( const boundBox bb)

◆ sync() [2/2]

void sync ( const boundBox bb,
PtrList< labelPairHashSet > &  referralVertices,
labelPairHashSet receivedVertices,
bool  iterateReferral = true 
)

◆ rangeInsertReferredWithInfo()

labelPairHashSet rangeInsertReferredWithInfo ( PointIterator  begin,
PointIterator  end,
bool  printErrors = true 
)

The documentation for this class was generated from the following file: