36 #ifndef pointFieldDecomposer_H 37 #define pointFieldDecomposer_H 86 return directAddressing_.
size();
101 return directAddressing_;
163 template<
class GeoField>
Basic pointPatch represents a set of points from the mesh.
tmp< GeometricField< Type, pointPatchField, pointMesh > > decomposeField(const GeometricField< Type, pointPatchField, pointMesh > &) const
Decompose point field.
Info<< "Creating field dpdt\n"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n"<< endl;volScalarField K("K", 0.5 *magSqr(U));volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p-rho *gh;mesh.setFluxRequired(p_rgh.name());multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
~pointFieldDecomposer()
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void size(const label)
Override size to be inconsistent with allocated storage.
Mesh representing a set of points created from polyMesh.
void decomposeFields(const PtrList< GeoField > &fields) const
Foam::pointPatchFieldMapperPatchRef.
Point patch field decomposer class.
patchFieldDecomposer(const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelList &directAddr)
Construct given addressing.
const labelUList & directAddressing() const
bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
Generic GeometricField class.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A class for managing temporary objects.