Go to the documentation of this file.
154 template<
class GeoField>
160 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 vtkTopo & topo() const
topology
const fvMesh & baseMesh() const
Whole mesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const fvMeshSubset & subsetter() const
const labelList & cellTypes() 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.
Polyhedral cell decomposition for VTK.
const fvMesh & mesh() const
Access either mesh or submesh.
readUpdateState
Enumeration defining the state of the mesh after a read update.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
autoPtr< vtkTopo > topoPtr_
Current decomposition of topology.
const labelList & addPointCellLabels() const
fvMesh & baseMesh_
Reference to mesh.
label nFieldPoints() const
Number of field points.
const fvMesh & subMesh() const
Return reference to subset mesh.
bool useSubMesh() const
Check if running subMesh.
const word setName_
Current cellSet (or empty)
void size(const label)
Override size to be inconsistent with allocated storage.
polyMesh::readUpdateState readUpdate()
Read mesh.
label nFieldCells() const
Number of field cells.
vtkMesh(const vtkMesh &)
Disallow default bitwise copy construct.