Go to the documentation of this file.
36 #ifndef fvFieldDecomposer_H
37 #define fvFieldDecomposer_H
75 const label addressingOffset
243 const fvMesh& completeMesh,
263 const bool allowUnknownPatchFields =
false
274 template<
class GeoField>
tmp< GeometricField< Type, fvPatchField, volMesh > > decomposeField(const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields=false) const
Decompose volume field.
labelList directAddressing_
bool hasUnmapped() const
Are there unmapped values.
List< patchFieldDecomposer * > patchFieldDecomposerPtrs_
List of patch field decomposers.
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
labelList directAddressing_
processorSurfacePatchFieldDecomposer(const labelUList &addressingSlice)
Construct given addressing.
const scalarListList & weights() const
fvFieldDecomposer(const fvFieldDecomposer &)
Disallow default bitwise copy construct.
const labelList & boundaryAddressing_
Reference to boundary addressing.
List< processorSurfacePatchFieldDecomposer * > processorSurfacePatchFieldDecomposerPtrs_
~fvFieldDecomposer()
Destructor.
Processor patch field decomposer class. Maps either owner or.
Patch field decomposer class.
void operator=(const fvFieldDecomposer &)
Disallow default bitwise assignment.
bool hasUnmapped() const
Are there unmapped values.
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 decomposeFields(const PtrList< GeoField > &fields) const
const fvMesh & procMesh_
Reference to processor mesh.
bool hasUnmapped() const
Are there unmapped values.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const fvMesh & completeMesh_
Reference to complete mesh.
processorVolPatchFieldDecomposer(const fvMesh &mesh, const labelUList &addressingSlice)
Construct given addressing.
Mesh data needed to do the Finite Volume discretisation.
labelListList addressing_
const labelUList & directAddressing() const
Finite Volume volume and surface field decomposer.
const labelUList & directAddressing() const
patchFieldDecomposer(const labelUList &addressingSlice, const label addressingOffset)
Construct given addressing.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Processor patch field decomposer class. Surface field is assumed.
Foam::fvPatchFieldMapper.
const labelList & cellAddressing_
Reference to cell addressing.
void size(const label)
Override size to be inconsistent with allocated storage.
Generic GeometricField class.
const labelList & faceAddressing_
Reference to face addressing.
const labelListList & addressing() const
List< processorVolPatchFieldDecomposer * > processorVolPatchFieldDecomposerPtrs_