97 return setName_.size();
122 template<
class GeoField>
128 subFld.
ref().rename(fld.name());
const fvMesh & mesh() const
Access either mesh or submesh.
T & ref() const
Return non-const reference or generate a fatal error.
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
const fvMesh & subMesh() const
Return reference to subset mesh.
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))
A class for handling words, derived from string.
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...
static tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &, const fvMesh &sMesh, const labelList &patchMap, const labelList &cellMap, const labelList &faceMap)
Map volume field.
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.
void operator=(const vtkMesh &)=delete
Disallow default bitwise assignment.