Go to the documentation of this file.
84 forAll(superCells, superCellI)
86 label origCellI = superCells[superCellI];
88 insert(vvf[origCellI], fField);
90 write(os, binary, fField);
107 const label nTotPoints =
mesh.nPoints() + addPointCellLabels.
size();
116 forAll(addPointCellLabels, api)
118 label origCellI = addPointCellLabels[api];
122 write(os, binary, fField);
140 const label nTotPoints =
mesh.nPoints() + addPointCellLabels.
size();
149 forAll(addPointCellLabels, api)
151 label origCellI = addPointCellLabels[api];
153 insert(vvf[origCellI], fField);
155 write(os, binary, fField);
159 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
186 write(os, binary, flds[i], vMesh);
static void write(std::ostream &, const bool binary, const GeometricField< Type, pointPatchField, pointMesh > &, const vtkMesh &)
Write pointField on all mesh points. Interpolate to cell centre.
#define forAll(list, i)
Loop across all elements in list.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Type interpolatePointToCell(const GeometricField< Type, pointPatchField, pointMesh > &ptf, const label celli)
rDeltaT dimensionedInternalField()
Interpolates (averages) the vertex values to the cell center.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it.
const vtkTopo & topo() const
topology
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 labelList & superCells() const
static void write(std::ostream &, const bool, DynamicList< floatScalar > &)
Write floats ascii or binary.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
Mesh data needed to do the Finite Volume discretisation.
Polyhedral cell decomposition for VTK.
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Interpolate volField using inverse distance weighting.
const fvMesh & mesh() const
Access either mesh or submesh.
const labelList & addPointCellLabels() const
Traits class for primitives.
void size(const label)
Override size to be inconsistent with allocated storage.
Generic GeometricField class.
Interpolate from cell centres to points (vertices) using inverse distance weighting.
static void insert(const point &, DynamicList< floatScalar > &dest)
Append point to given DynamicList.
timeIndices insert(timeIndex, timeDirs[timeI].value())
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...