Go to the documentation of this file.
36 #ifndef pointFieldDecomposer_H
37 #define pointFieldDecomposer_H
163 template<
class GeoField>
175 #include "pointFieldDecomposerDecomposeFields.C"
patchFieldDecomposer(const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelList &directAddr)
Construct given addressing.
void decomposeFields(const PtrList< GeoField > &fields) const
A class for managing temporary objects.
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
pointFieldDecomposer(const pointFieldDecomposer &)
Disallow default bitwise copy construct.
labelList directAddressing_
Basic pointPatch represents a set of points from the mesh.
void operator=(const pointFieldDecomposer &)
Disallow default bitwise assignment.
tmp< GeometricField< Type, pointPatchField, pointMesh > > decomposeField(const GeometricField< Type, pointPatchField, pointMesh > &) const
Decompose point field.
const labelList & boundaryAddressing_
Reference to boundary addressing.
const labelUList & directAddressing() const
const pointMesh & completeMesh_
Reference to complete 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 labelList & pointAddressing_
Reference to point addressing.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
Mesh representing a set of points created from polyMesh.
List< patchFieldDecomposer * > patchFieldDecomposerPtrs_
List of patch field decomposers.
Point patch field decomposer class.
bool hasUnmapped_
Does map contain any unmapped values.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const pointMesh & procMesh_
Reference to processor mesh.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void size(const label)
Override size to be inconsistent with allocated storage.
Foam::pointPatchFieldMapperPatchRef.
Generic GeometricField class.
~pointFieldDecomposer()
Destructor.