Public Member Functions | Private Member Functions | Private Attributes
vtkMesh Class Reference

Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it. More...

Collaboration diagram for vtkMesh:
Collaboration graph
[legend]

Public Member Functions

 vtkMesh (fvMesh &baseMesh, const word &setName="")
 Construct from components. More...
 
const fvMeshbaseMesh () const
 Whole mesh. More...
 
const fvMeshSubsetsubsetter () const
 
bool useSubMesh () const
 Check if running subMesh. More...
 
const fvMeshmesh () const
 Access either mesh or submesh. More...
 
polyMesh::readUpdateState readUpdate ()
 Read mesh. More...
 
template<class GeoField >
tmp< GeoField > interpolate (const GeoField &fld) const
 Map volume field (does in fact do very little interpolation;. More...
 
 vtkMesh (fvMesh &baseMesh, const word &setName="")
 Construct from components. More...
 
const fvMeshbaseMesh () const
 Whole mesh. More...
 
const fvMeshSubsetsubsetter () const
 
bool useSubMesh () const
 Check if running subMesh. More...
 
const vtkTopotopo () const
 topology More...
 
const fvMeshmesh () const
 Access either mesh or submesh. More...
 
label nFieldCells () const
 Number of field cells. More...
 
label nFieldPoints () const
 Number of field points. More...
 
polyMesh::readUpdateState readUpdate ()
 Read mesh. More...
 
template<class GeoField >
tmp< GeoField > interpolate (const GeoField &fld) const
 Map volume field (does in fact do very little interpolation;. More...
 
 vtkMesh (fvMesh &baseMesh, const word &setName="")
 Construct from components. More...
 
const fvMeshbaseMesh () const
 Whole mesh. More...
 
const fvMeshSubsetsubsetter () const
 
bool useSubMesh () const
 Check if running subMesh. More...
 
const vtkTopotopo () const
 topology More...
 
const fvMeshmesh () const
 Access either mesh or submesh. More...
 
label nFieldCells () const
 Number of field cells. More...
 
label nFieldPoints () const
 Number of field points. More...
 
polyMesh::readUpdateState readUpdate ()
 Read mesh. More...
 
template<class GeoField >
tmp< GeoField > interpolate (const GeoField &fld) const
 Map volume field (does in fact do very little interpolation;. More...
 
 vtkMesh (fvMesh &baseMesh, const word &setName="")
 Construct from components. More...
 
const fvMeshbaseMesh () const
 Whole mesh. More...
 
const fvMeshSubsetsubsetter () const
 
bool useSubMesh () const
 Check if running subMesh. More...
 
const vtkTopotopo () const
 topology More...
 
const fvMeshmesh () const
 Access either mesh or submesh. More...
 
label nFieldCells () const
 Number of field cells. More...
 
label nFieldPoints () const
 Number of field points. More...
 
polyMesh::readUpdateState readUpdate ()
 Read mesh. More...
 
template<class GeoField >
tmp< GeoField > interpolate (const GeoField &fld) const
 Map volume field (does in fact do very little interpolation;. More...
 
 vtkMesh (fvMesh &baseMesh, const word &setName="")
 Construct from components. More...
 
const fvMeshbaseMesh () const
 Whole mesh. More...
 
const fvMeshSubsetsubsetter () const
 
bool useSubMesh () const
 Check if running subMesh. More...
 
const vtkTopotopo () const
 topology More...
 
const fvMeshmesh () const
 Access either mesh or submesh. More...
 
label nFieldCells () const
 Number of field cells. More...
 
label nFieldPoints () const
 Number of field points. More...
 
polyMesh::readUpdateState readUpdate ()
 Read mesh. More...
 
template<class GeoField >
tmp< GeoField > interpolate (const GeoField &fld) const
 Map volume field (does in fact do very little interpolation;. More...
 

Private Member Functions

 vtkMesh (const vtkMesh &)
 Disallow default bitwise copy construct. More...
 
void operator= (const vtkMesh &)
 Disallow default bitwise assignment. More...
 
 vtkMesh (const vtkMesh &)
 Disallow default bitwise copy construct. More...
 
void operator= (const vtkMesh &)
 Disallow default bitwise assignment. More...
 
 vtkMesh (const vtkMesh &)
 Disallow default bitwise copy construct. More...
 
void operator= (const vtkMesh &)
 Disallow default bitwise assignment. More...
 
 vtkMesh (const vtkMesh &)
 Disallow default bitwise copy construct. More...
 
void operator= (const vtkMesh &)
 Disallow default bitwise assignment. More...
 
 vtkMesh (const vtkMesh &)
 Disallow default bitwise copy construct. More...
 
void operator= (const vtkMesh &)
 Disallow default bitwise assignment. More...
 

Private Attributes

fvMeshbaseMesh_
 Reference to mesh. More...
 
fvMeshSubset subsetter_
 Subsetting engine + sub-fvMesh. More...
 
const word setName_
 Current cellSet (or empty) More...
 
autoPtr< vtkTopotopoPtr_
 Current decomposition of topology. More...
 

Detailed Description

Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it.

Source files

Source files

Source files

Source files

Source files

Definition at line 52 of file vtkMesh.H.

Constructor & Destructor Documentation

◆ vtkMesh() [1/10]

vtkMesh ( const vtkMesh )
private

Disallow default bitwise copy construct.

◆ vtkMesh() [2/10]

vtkMesh ( fvMesh baseMesh,
const word setName = "" 
)

Construct from components.

Definition at line 34 of file vtkMesh.C.

References Foam::endl(), and Foam::Info.

Here is the call graph for this function:

◆ vtkMesh() [3/10]

vtkMesh ( const vtkMesh )
private

Disallow default bitwise copy construct.

◆ vtkMesh() [4/10]

vtkMesh ( fvMesh baseMesh,
const word setName = "" 
)

Construct from components.

◆ vtkMesh() [5/10]

vtkMesh ( const vtkMesh )
private

Disallow default bitwise copy construct.

◆ vtkMesh() [6/10]

vtkMesh ( fvMesh baseMesh,
const word setName = "" 
)

Construct from components.

◆ vtkMesh() [7/10]

vtkMesh ( const vtkMesh )
private

Disallow default bitwise copy construct.

◆ vtkMesh() [8/10]

vtkMesh ( fvMesh baseMesh,
const word setName = "" 
)

Construct from components.

◆ vtkMesh() [9/10]

vtkMesh ( const vtkMesh )
private

Disallow default bitwise copy construct.

◆ vtkMesh() [10/10]

vtkMesh ( fvMesh baseMesh,
const word setName = "" 
)

Construct from components.

Member Function Documentation

◆ operator=() [1/5]

void operator= ( const vtkMesh )
private

Disallow default bitwise assignment.

◆ baseMesh() [1/5]

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 92 of file vtkMesh.H.

References vtkMesh::baseMesh_.

Referenced by main().

Here is the caller graph for this function:

◆ subsetter() [1/5]

const fvMeshSubset& subsetter ( ) const
inline

Definition at line 97 of file vtkMesh.H.

References vtkMesh::subsetter_.

◆ useSubMesh() [1/5]

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 103 of file vtkMesh.H.

References vtkMesh::setName_.

Referenced by vtkMesh::interpolate(), and vtkMesh::mesh().

Here is the caller graph for this function:

◆ mesh() [1/5]

const fvMesh& mesh ( ) const
inline

Access either mesh or submesh.

Definition at line 119 of file vtkMesh.H.

References vtkMesh::baseMesh_, fvMeshSubset::subMesh(), vtkMesh::subsetter_, and vtkMesh::useSubMesh().

Referenced by main(), vtkMesh::nFieldPoints(), vtkMesh::topo(), writeFuns::write(), Foam::writeFaceSet(), lagrangianWriter::writeIOField(), patchWriter::writePatchIDs(), and Foam::writeSurfFields().

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

◆ readUpdate() [1/5]

Read mesh.

Definition at line 62 of file vtkMesh.C.

References vtkMesh::baseMesh_, Foam::endl(), Foam::Info, fvMesh::readUpdate(), fvMeshSubset::setLargeCellSubset(), vtkMesh::setName_, vtkMesh::subsetter_, vtkMesh::topoPtr_, and polyMesh::UNCHANGED.

Referenced by main().

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

◆ interpolate() [1/5]

tmp<GeoField> interpolate ( const GeoField &  fld) const
inline

Map volume field (does in fact do very little interpolation;.

just copied from fvMeshSubset)

Definition at line 153 of file vtkMesh.H.

References fld(), fvMeshSubset::interpolate(), vtkMesh::subsetter_, and vtkMesh::useSubMesh().

Referenced by Foam::readFields().

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

◆ operator=() [2/5]

void operator= ( const vtkMesh )
private

Disallow default bitwise assignment.

◆ baseMesh() [2/5]

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 93 of file vtkMesh.H.

References vtkMesh::baseMesh_.

◆ subsetter() [2/5]

const fvMeshSubset& subsetter ( ) const
inline

Definition at line 98 of file vtkMesh.H.

References vtkMesh::subsetter_.

◆ useSubMesh() [2/5]

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 104 of file vtkMesh.H.

References vtkMesh::setName_.

◆ topo() [1/4]

const vtkTopo& topo ( ) const
inline

topology

Definition at line 110 of file vtkMesh.H.

References vtkMesh::mesh(), and vtkMesh::topoPtr_.

Referenced by vtkMesh::nFieldCells(), vtkMesh::nFieldPoints(), and writeFuns::write().

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

◆ mesh() [2/5]

const fvMesh& mesh ( ) const
inline

Access either mesh or submesh.

Definition at line 120 of file vtkMesh.H.

References vtkMesh::baseMesh_, fvMeshSubset::subMesh(), vtkMesh::subsetter_, and vtkMesh::useSubMesh().

Here is the call graph for this function:

◆ nFieldCells() [1/4]

label nFieldCells ( ) const
inline

Number of field cells.

Definition at line 133 of file vtkMesh.H.

References vtkTopo::cellTypes(), List::size(), and vtkMesh::topo().

Referenced by main().

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

◆ nFieldPoints() [1/4]

label nFieldPoints ( ) const
inline

Number of field points.

Definition at line 139 of file vtkMesh.H.

References vtkTopo::addPointCellLabels(), vtkMesh::mesh(), primitiveMesh::nPoints(), List::size(), and vtkMesh::topo().

Referenced by main().

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

◆ readUpdate() [2/5]

polyMesh::readUpdateState readUpdate ( )

Read mesh.

◆ interpolate() [2/5]

tmp<GeoField> interpolate ( const GeoField &  fld) const
inline

Map volume field (does in fact do very little interpolation;.

just copied from fvMeshSubset)

Definition at line 154 of file vtkMesh.H.

References fld(), fvMeshSubset::interpolate(), vtkMesh::subsetter_, and vtkMesh::useSubMesh().

Here is the call graph for this function:

◆ operator=() [3/5]

void operator= ( const vtkMesh )
private

Disallow default bitwise assignment.

◆ baseMesh() [3/5]

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 93 of file vtkMesh.H.

References vtkMesh::baseMesh_.

◆ subsetter() [3/5]

const fvMeshSubset& subsetter ( ) const
inline

Definition at line 98 of file vtkMesh.H.

References vtkMesh::subsetter_.

◆ useSubMesh() [3/5]

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 104 of file vtkMesh.H.

References vtkMesh::setName_.

◆ topo() [2/4]

const vtkTopo& topo ( ) const
inline

topology

Definition at line 110 of file vtkMesh.H.

References vtkMesh::mesh(), and vtkMesh::topoPtr_.

Here is the call graph for this function:

◆ mesh() [3/5]

const fvMesh& mesh ( ) const
inline

Access either mesh or submesh.

Definition at line 120 of file vtkMesh.H.

References vtkMesh::baseMesh_, fvMeshSubset::subMesh(), vtkMesh::subsetter_, and vtkMesh::useSubMesh().

Here is the call graph for this function:

◆ nFieldCells() [2/4]

label nFieldCells ( ) const
inline

Number of field cells.

Definition at line 133 of file vtkMesh.H.

References vtkTopo::cellTypes(), List::size(), and vtkMesh::topo().

Here is the call graph for this function:

◆ nFieldPoints() [2/4]

label nFieldPoints ( ) const
inline

Number of field points.

Definition at line 139 of file vtkMesh.H.

References vtkTopo::addPointCellLabels(), vtkMesh::mesh(), primitiveMesh::nPoints(), List::size(), and vtkMesh::topo().

Here is the call graph for this function:

◆ readUpdate() [3/5]

polyMesh::readUpdateState readUpdate ( )

Read mesh.

◆ interpolate() [3/5]

tmp<GeoField> interpolate ( const GeoField &  fld) const
inline

Map volume field (does in fact do very little interpolation;.

just copied from fvMeshSubset)

Definition at line 154 of file vtkMesh.H.

References fld(), fvMeshSubset::interpolate(), vtkMesh::subsetter_, and vtkMesh::useSubMesh().

Here is the call graph for this function:

◆ operator=() [4/5]

void operator= ( const vtkMesh )
private

Disallow default bitwise assignment.

◆ baseMesh() [4/5]

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 93 of file vtkMesh.H.

References vtkMesh::baseMesh_.

◆ subsetter() [4/5]

const fvMeshSubset& subsetter ( ) const
inline

Definition at line 98 of file vtkMesh.H.

References vtkMesh::subsetter_.

◆ useSubMesh() [4/5]

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 104 of file vtkMesh.H.

References vtkMesh::setName_.

◆ topo() [3/4]

const vtkTopo& topo ( ) const
inline

topology

Definition at line 110 of file vtkMesh.H.

References vtkMesh::mesh(), and vtkMesh::topoPtr_.

Here is the call graph for this function:

◆ mesh() [4/5]

const fvMesh& mesh ( ) const
inline

Access either mesh or submesh.

Definition at line 120 of file vtkMesh.H.

References vtkMesh::baseMesh_, fvMeshSubset::subMesh(), vtkMesh::subsetter_, and vtkMesh::useSubMesh().

Here is the call graph for this function:

◆ nFieldCells() [3/4]

label nFieldCells ( ) const
inline

Number of field cells.

Definition at line 133 of file vtkMesh.H.

References vtkTopo::cellTypes(), List::size(), and vtkMesh::topo().

Here is the call graph for this function:

◆ nFieldPoints() [3/4]

label nFieldPoints ( ) const
inline

Number of field points.

Definition at line 139 of file vtkMesh.H.

References vtkTopo::addPointCellLabels(), vtkMesh::mesh(), primitiveMesh::nPoints(), List::size(), and vtkMesh::topo().

Here is the call graph for this function:

◆ readUpdate() [4/5]

polyMesh::readUpdateState readUpdate ( )

Read mesh.

◆ interpolate() [4/5]

tmp<GeoField> interpolate ( const GeoField &  fld) const
inline

Map volume field (does in fact do very little interpolation;.

just copied from fvMeshSubset)

Definition at line 154 of file vtkMesh.H.

References fld(), fvMeshSubset::interpolate(), vtkMesh::subsetter_, and vtkMesh::useSubMesh().

Here is the call graph for this function:

◆ operator=() [5/5]

void operator= ( const vtkMesh )
private

Disallow default bitwise assignment.

◆ baseMesh() [5/5]

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 93 of file vtkMesh.H.

References vtkMesh::baseMesh_.

◆ subsetter() [5/5]

const fvMeshSubset& subsetter ( ) const
inline

Definition at line 98 of file vtkMesh.H.

References vtkMesh::subsetter_.

◆ useSubMesh() [5/5]

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 104 of file vtkMesh.H.

References vtkMesh::setName_.

◆ topo() [4/4]

const vtkTopo& topo ( ) const
inline

topology

Definition at line 110 of file vtkMesh.H.

References vtkMesh::mesh(), and vtkMesh::topoPtr_.

Here is the call graph for this function:

◆ mesh() [5/5]

const fvMesh& mesh ( ) const
inline

Access either mesh or submesh.

Definition at line 120 of file vtkMesh.H.

References vtkMesh::baseMesh_, fvMeshSubset::subMesh(), vtkMesh::subsetter_, and vtkMesh::useSubMesh().

Here is the call graph for this function:

◆ nFieldCells() [4/4]

label nFieldCells ( ) const
inline

Number of field cells.

Definition at line 133 of file vtkMesh.H.

References vtkTopo::cellTypes(), List::size(), and vtkMesh::topo().

Here is the call graph for this function:

◆ nFieldPoints() [4/4]

label nFieldPoints ( ) const
inline

Number of field points.

Definition at line 139 of file vtkMesh.H.

References vtkTopo::addPointCellLabels(), vtkMesh::mesh(), primitiveMesh::nPoints(), List::size(), and vtkMesh::topo().

Here is the call graph for this function:

◆ readUpdate() [5/5]

polyMesh::readUpdateState readUpdate ( )

Read mesh.

◆ interpolate() [5/5]

tmp<GeoField> interpolate ( const GeoField &  fld) const
inline

Map volume field (does in fact do very little interpolation;.

just copied from fvMeshSubset)

Definition at line 154 of file vtkMesh.H.

References fld(), fvMeshSubset::interpolate(), vtkMesh::subsetter_, and vtkMesh::useSubMesh().

Here is the call graph for this function:

Field Documentation

◆ baseMesh_

fvMesh & baseMesh_
private

Reference to mesh.

Definition at line 57 of file vtkMesh.H.

Referenced by vtkMesh::baseMesh(), vtkMesh::mesh(), and vtkMesh::readUpdate().

◆ subsetter_

fvMeshSubset subsetter_
private

Subsetting engine + sub-fvMesh.

Definition at line 60 of file vtkMesh.H.

Referenced by vtkMesh::interpolate(), vtkMesh::mesh(), vtkMesh::readUpdate(), and vtkMesh::subsetter().

◆ setName_

const word setName_
private

Current cellSet (or empty)

Definition at line 63 of file vtkMesh.H.

Referenced by vtkMesh::readUpdate(), and vtkMesh::useSubMesh().

◆ topoPtr_

autoPtr< vtkTopo > topoPtr_
mutableprivate

Current decomposition of topology.

Definition at line 67 of file vtkMesh.H.

Referenced by vtkMesh::readUpdate(), and vtkMesh::topo().


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