36 #ifndef fvFieldDecomposer_H 37 #define fvFieldDecomposer_H 75 const label addressingOffset
83 return directAddressing_.
size();
99 return directAddressing_;
129 return directAddressing_.
size();
145 return directAddressing_;
172 return addressing_.
size();
203 const fvMesh& completeMesh_;
221 processorVolPatchFieldDecomposerPtrs_;
224 processorSurfacePatchFieldDecomposerPtrs_;
243 const fvMesh& completeMesh,
263 const bool allowUnknownPatchFields =
false 274 template<
class GeoField>
Mesh data needed to do the Finite Volume discretisation.
Patch field decomposer class.
Processor patch field decomposer class. Maps either owner or.
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...
void decomposeFields(const PtrList< GeoField > &fields) const
virtual const scalarListList & weights() const
~fvFieldDecomposer()
Destructor.
patchFieldDecomposer(const labelUList &addressingSlice, const label addressingOffset)
Construct given addressing.
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.
Foam::fvPatchFieldMapper.
tmp< GeometricField< Type, fvPatchField, volMesh > > decomposeField(const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields=false) const
Decompose volume field.
const labelUList & directAddressing() const
bool hasUnmapped() const
Are there unmapped values.
Processor patch field decomposer class. Surface field is assumed.
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...
virtual const labelListList & addressing() const
Finite Volume volume and surface field decomposer.
A class for managing temporary objects.