36 #ifndef pointFieldDecomposer_H 37 #define pointFieldDecomposer_H 87 return directAddressing_.
size();
102 return directAddressing_;
155 template<
class GeoField>
void operator=(const pointPatchFieldMapperPatchRef &)=delete
Disallow default bitwise assignment.
const labelUList & directAddressing() const
void size(const label)
Override size to be inconsistent with allocated storage.
Point patch field decomposer class.
pointFieldDecomposer(const pointMesh &completeMesh, const pointMesh &procMesh, const labelList &pointAddressing)
Construct from components.
Mesh representing a set of points created from polyMesh.
tmp< GeometricField< Type, pointPatchField, pointMesh > > decomposeField(const GeometricField< Type, pointPatchField, pointMesh > &) const
Decompose point field.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Info<< "Reading field p_rgh\"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);pressureReference pressureReference(p, p_rgh, pimple.dict(), thermo.incompressible());mesh.schemes().setFluxRequired(p_rgh.name());hydrostaticInitialisation(p_rgh, p, rho, U, gh, ghf, pRef, thermo, pimple.dict());Info<< "Creating field dpdt\"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar(p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\"<< endl;volScalarField K("K", 0.5 *magSqr(U));dimensionedScalar initialMass=fvc::domainIntegrate(rho);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Basic pointPatch represents a set of points from the mesh.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
patchFieldDecomposer(const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelList &directAddr)
Construct given addressing.
bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
A class for managing temporary objects.
~pointFieldDecomposer()
Destructor.
Foam::pointPatchFieldMapperPatchRef.
void decomposeFields(const PtrList< GeoField > &fields) const
Decompose a list of fields.