All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cellShapeControlMesh Class Reference
Inheritance diagram for cellShapeControlMesh:
Collaboration diagram for cellShapeControlMesh:

Public Types

typedef CellSizeDelaunay::Cell_handle Cell_handle
 
typedef CellSizeDelaunay::Vertex_handle Vertex_handle
 
typedef CellSizeDelaunay::Point Point
 
- Public Types inherited from DistributedDelaunayMesh< CellSizeDelaunay >
typedef CellSizeDelaunay ::Vertex_handle Vertex_handle
 
typedef CellSizeDelaunay ::Cell_handle Cell_handle
 
typedef CellSizeDelaunay ::Point Point
 
typedef CellSizeDelaunay ::Finite_vertices_iterator Finite_vertices_iterator
 
typedef CellSizeDelaunay ::Finite_cells_iterator Finite_cells_iterator
 
typedef CellSizeDelaunay ::All_cells_iterator All_cells_iterator
 
typedef DelaunayMesh< CellSizeDelaunay >::labelPairHashSet labelPairHashSet
 
- Public Types inherited from DelaunayMesh< CellSizeDelaunay >
typedef CellSizeDelaunay ::Cell_handle Cell_handle
 
typedef CellSizeDelaunay ::Vertex_handle Vertex_handle
 
typedef CellSizeDelaunay ::Edge Edge
 
typedef CellSizeDelaunay ::Point Point
 
typedef CellSizeDelaunay ::Facet Facet
 
typedef CellSizeDelaunay ::Finite_vertices_iterator Finite_vertices_iterator
 
typedef CellSizeDelaunay ::Finite_cells_iterator Finite_cells_iterator
 
typedef CellSizeDelaunay ::Finite_facets_iterator Finite_facets_iterator
 
typedef HashSet< Pair< label >, FixedList< label, 2 >::Hash<> > labelPairHashSet
 
typedef HashTable< label, labelPair, FixedList< label, 2 >::Hash<> > labelTolabelPairHashTable
 

Public Member Functions

 ClassName ("cellShapeControlMesh")
 Runtime type information. More...
 
 cellShapeControlMesh (const Time &runTime)
 
 cellShapeControlMesh (const cellShapeControlMesh &)=delete
 Disallow default bitwise copy construction. More...
 
 ~cellShapeControlMesh ()
 Destructor. More...
 
const Timetime () const
 
void barycentricCoords (const Foam::point &pt, barycentric &bary, Cell_handle &ch) const
 Calculate and return the barycentric coordinates for. More...
 
boundBox bounds () const
 
label removePoints ()
 
tmp< pointFieldcellCentres () const
 Get the centres of all the tets. More...
 
Vertex_handle insert (const Foam::point &pt, const scalar &size, const triad &alignment, const Foam::indexedVertexEnum::vertexType type=Vb::vtInternal)
 
Vertex_handle insertFar (const Foam::point &pt)
 
void distribute (const backgroundMeshDecomposition &decomposition)
 
tensorField dumpAlignments () const
 
void writeTriangulation ()
 
void write () const
 
label estimateCellCount (const autoPtr< backgroundMeshDecomposition > &decomposition) const
 
void operator= (const cellShapeControlMesh &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from DistributedDelaunayMesh< CellSizeDelaunay >
 DistributedDelaunayMesh (const Time &runTime)
 Construct from components. More...
 
 DistributedDelaunayMesh (const Time &runTime, const word &meshName)
 
 DistributedDelaunayMesh (const DistributedDelaunayMesh< CellSizeDelaunay > &)=delete
 Disallow default bitwise copy construction. More...
 
 ~DistributedDelaunayMesh ()
 Destructor. More...
 
scalar calculateLoadUnbalance () const
 
bool distribute (const boundBox &bb)
 
autoPtr< mapDistributedistribute (const backgroundMeshDecomposition &decomposition, List< Foam::point > &points)
 
void sync (const boundBox &bb)
 Refer vertices so that the processor interfaces are consistent. More...
 
void sync (const boundBox &bb, PtrList< labelPairHashSet > &referralVertices, labelPairHashSet &receivedVertices, bool iterateReferral=true)
 Refer vertices so that the processor interfaces are consistent. More...
 
labelPairHashSet rangeInsertReferredWithInfo (PointIterator begin, PointIterator end, bool printErrors=true)
 Inserts points into the triangulation if the point is within. More...
 
void operator= (const DistributedDelaunayMesh< CellSizeDelaunay > &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from DelaunayMesh< CellSizeDelaunay >
 DelaunayMesh (const Time &runTime)
 Construct from components. More...
 
 DelaunayMesh (const Time &runTime, const word &meshName)
 
 DelaunayMesh (const DelaunayMesh< CellSizeDelaunay > &)=delete
 Disallow default bitwise copy construction. More...
 
 ~DelaunayMesh ()
 Destructor. More...
 
const Timetime () const
 Return a reference to the Time object. More...
 
void timeCheck (const string &description, const bool check=true) const
 Write the cpuTime to screen. More...
 
label getNewCellIndex () const
 Create a new unique cell index and return. More...
 
label getNewVertexIndex () const
 Create a new unique vertex index and return. More...
 
label cellCount () const
 Return the cell count (the next unique cell index) More...
 
label vertexCount () const
 Return the vertex count (the next unique vertex index) More...
 
void resetCellCount ()
 Set the cell count to zero. More...
 
void resetVertexCount ()
 Set the vertex count to zero. More...
 
void reset ()
 Clear the entire triangulation. More...
 
Map< labelinsertPoints (const List< Vb > &vertices, const bool reIndex)
 Insert the list of vertices (calls rangeInsertWithInfo) More...
 
Map< labelrangeInsertWithInfo (PointIterator begin, PointIterator end, bool printErrors=false, bool reIndex=true)
 Function inserting points into a triangulation and setting the. More...
 
void printInfo (Ostream &os) const
 Write mesh statistics to stream. More...
 
void printVertexInfo (Ostream &os) const
 Write vertex statistics in the form of a table to stream. More...
 
autoPtr< polyMeshcreateMesh (const fileName &name, labelTolabelPairHashTable &vertexMap, labelList &cellMap, const bool writeDelaunayData=true) const
 Create an fvMesh from the triangulation. More...
 
void operator= (const DelaunayMesh< CellSizeDelaunay > &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Attributes

static word meshSubDir
 Return the mesh sub-directory name (usually "cellShapeControlMesh") More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DistributedDelaunayMesh< CellSizeDelaunay >
static autoPtr< mapDistributebuildMap (const List< label > &toProc)
 Build a mapDistribute for the supplied destination processor data. More...
 

Detailed Description

Member Typedef Documentation

◆ Cell_handle

typedef CellSizeDelaunay::Cell_handle Cell_handle

Definition at line 67 of file cellShapeControlMesh.H.

◆ Vertex_handle

typedef CellSizeDelaunay::Vertex_handle Vertex_handle

Definition at line 68 of file cellShapeControlMesh.H.

◆ Point

typedef CellSizeDelaunay::Point Point

Definition at line 69 of file cellShapeControlMesh.H.

Constructor & Destructor Documentation

◆ cellShapeControlMesh() [1/2]

cellShapeControlMesh ( const Time runTime)
explicit

◆ cellShapeControlMesh() [2/2]

Disallow default bitwise copy construction.

◆ ~cellShapeControlMesh()

Destructor.

Member Function Documentation

◆ ClassName()

ClassName ( "cellShapeControlMesh"  )

Runtime type information.

◆ time()

◆ barycentricCoords()

void barycentricCoords ( const Foam::point pt,
barycentric bary,
Cell_handle ch 
) const

Calculate and return the barycentric coordinates for.

interpolating quantities on the background mesh

Referenced by cellShapeControlMesh::time().

Here is the caller graph for this function:

◆ bounds()

boundBox bounds ( ) const

Referenced by cellShapeControlMesh::time().

Here is the caller graph for this function:

◆ removePoints()

Referenced by cellShapeControlMesh::time().

Here is the caller graph for this function:

◆ cellCentres()

tmp<pointField> cellCentres ( ) const

Get the centres of all the tets.

Referenced by cellShapeControlMesh::time().

Here is the caller graph for this function:

◆ insert()

Foam::cellShapeControlMesh::Vertex_handle insert ( const Foam::point pt,
const scalar &  size,
const triad alignment,
const Foam::indexedVertexEnum::vertexType  type = Vb::vtInternal 
)
inline

Definition at line 29 of file cellShapeControlMeshI.H.

References Foam::vtkWriteOps::insert(), cellShapeControlMesh::insertFar(), Foam::type(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().

Referenced by cellShapeControlMesh::time().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ insertFar()

Foam::cellShapeControlMesh::Vertex_handle insertFar ( const Foam::point pt)
inline

Definition at line 51 of file cellShapeControlMeshI.H.

References Foam::vtkWriteOps::insert(), indexedVertexEnum::vtFar, Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().

Referenced by cellShapeControlMesh::insert(), and cellShapeControlMesh::time().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ distribute()

void distribute ( const backgroundMeshDecomposition decomposition)

Referenced by cellShapeControlMesh::time().

Here is the caller graph for this function:

◆ dumpAlignments()

tensorField dumpAlignments ( ) const

Referenced by cellShapeControlMesh::time().

Here is the caller graph for this function:

◆ writeTriangulation()

void writeTriangulation ( )

Referenced by cellShapeControlMesh::time().

Here is the caller graph for this function:

◆ write()

void write ( ) const

Referenced by cellShapeControlMesh::time().

Here is the caller graph for this function:

◆ estimateCellCount()

label estimateCellCount ( const autoPtr< backgroundMeshDecomposition > &  decomposition) const

Referenced by cellShapeControlMesh::time().

Here is the caller graph for this function:

◆ operator=()

void operator= ( const cellShapeControlMesh )
delete

Disallow default bitwise assignment.

Referenced by cellShapeControlMesh::time().

Here is the caller graph for this function:

Member Data Documentation

◆ meshSubDir

word meshSubDir
static

Return the mesh sub-directory name (usually "cellShapeControlMesh")

Definition at line 87 of file cellShapeControlMesh.H.


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