62 fvMeshSubset subsetter_;
68 mutable autoPtr<vtkTopo> topoPtr_;
100 return setName_.size();
106 if (topoPtr_.empty())
118 return subsetter_.subMesh();
147 template<
class GeoField>
153 subFld.
ref().rename(fld.name());
const labelList & addPointCellLabels() const
const fvMesh & mesh() const
Access either mesh or submesh.
label nFieldCells() const
Number of field cells.
T & ref() const
Return non-const reference or generate a fatal error.
void size(const label)
Override size to be inconsistent with allocated storage.
const labelList & cellTypes() const
label nFieldPoints() const
Number of field points.
vtkMesh(fvMesh &baseMesh, const word &setName="")
Construct from components.
tmp< GeoField > interpolate(const GeoField &fld) const
Map volume field (does in fact do very little interpolation;.
polyMesh::readUpdateState readUpdate()
Read mesh.
const fvMeshSubset & subsetter() const
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Polyhedral cell decomposition for VTK.
bool useSubMesh() const
Check if running subMesh.
Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it...
Post-processing mesh subset tool. Given the original mesh and the list of selected cells...
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & baseMesh() const
Whole mesh.
readUpdateState
Enumeration defining the state of the mesh after a read update.
A class for managing temporary objects.
const vtkTopo & topo() const
topology
void operator=(const vtkMesh &)=delete
Disallow default bitwise assignment.