Go to the documentation of this file.
153 template<
class GeoField>
159 subFld().rename(
fld.name());
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.
A class for handling words, derived from string.
void operator=(const vtkMesh &)
Disallow default bitwise assignment.
A class for managing temporary objects.
Post-processing mesh subset tool. Given the original mesh and the list of selected cells,...
fvMeshSubset subsetter_
Subsetting engine + sub-fvMesh.
Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it.
tmp< GeoField > interpolate(const GeoField &fld) const
Map volume field (does in fact do very little interpolation;.
const fvMesh & baseMesh() const
Whole 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))
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const
Access either mesh or submesh.
readUpdateState
Enumeration defining the state of the mesh after a read update.
fvMesh & baseMesh_
Reference to mesh.
const fvMesh & subMesh() const
Return reference to subset mesh.
bool useSubMesh() const
Check if running subMesh.
const word setName_
Current cellSet (or empty)
polyMesh::readUpdateState readUpdate()
Read mesh.
vtkMesh(const vtkMesh &)
Disallow default bitwise copy construct.