Loading...
Searching...
No Matches
fvFieldDecomposer Class Reference

Finite Volume volume and surface field decomposer. More...

#include <fvFieldDecomposer.H>

Classes

class  patchFieldDecomposer
 Patch field decomposer class. More...
class  processorVolPatchFieldDecomposer
 Processor patch field decomposer class. Maps either owner or. More...
class  processorSurfacePatchFieldDecomposer
 Processor patch field decomposer class. Surface field is assumed. More...
class  fieldsCache

Public Member Functions

 fvFieldDecomposer (Foam::zero, const fvMesh &procMesh, const labelUList &faceAddressing, const labelUList &cellAddressing, const labelUList &boundaryAddressing)
 Construct without mappers, added later with reset().
 fvFieldDecomposer (const fvMesh &completeMesh, const fvMesh &procMesh, const labelUList &faceAddressing, const labelUList &cellAddressing, const labelUList &boundaryAddressing)
 Construct from components using information from the complete mesh.
 fvFieldDecomposer (const UList< labelRange > &boundaryRanges, const labelUList &faceOwner, const labelUList &faceNeigbour, const fvMesh &procMesh, const labelUList &faceAddressing, const labelUList &cellAddressing, const labelUList &boundaryAddressing)
 Construct from components without the complete mesh.
 ~fvFieldDecomposer ()=default
 Destructor.
bool empty () const noexcept
 True if no mappers have been allocated.
void clear ()
 Remove all mappers.
void reset (const fvMesh &completeMesh)
 Reset mappers using information from the complete mesh.
void reset (const UList< labelRange > &boundaryRanges, const labelUList &faceOwner, const labelUList &faceNeigbour)
 Reset mapper using information about the complete mesh.
template<class Type>
tmp< DimensionedField< Type, volMesh > > decomposeField (const DimensionedField< Type, volMesh > &field) const
 Decompose internal field.
template<class Type>
tmp< GeometricField< Type, fvPatchField, volMesh > > decomposeField (const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields=false) const
 Decompose volume field.
template<class Type>
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > decomposeField (const GeometricField< Type, fvsPatchField, surfaceMesh > &field) const
 Decompose surface field.
template<class GeoField>
void decomposeFields (const UPtrList< GeoField > &fields) const
 Decompose list of fields.

Static Public Attributes

static int verbose_
 Output verbosity when writing.

Detailed Description

Finite Volume volume and surface field decomposer.

Source files

Definition at line 55 of file fvFieldDecomposer.H.

Constructor & Destructor Documentation

◆ fvFieldDecomposer() [1/3]

fvFieldDecomposer ( Foam::zero ,
const fvMesh & procMesh,
const labelUList & faceAddressing,
const labelUList & cellAddressing,
const labelUList & boundaryAddressing )

Construct without mappers, added later with reset().

◆ fvFieldDecomposer() [2/3]

fvFieldDecomposer ( const fvMesh & completeMesh,
const fvMesh & procMesh,
const labelUList & faceAddressing,
const labelUList & cellAddressing,
const labelUList & boundaryAddressing )

Construct from components using information from the complete mesh.

◆ fvFieldDecomposer() [3/3]

fvFieldDecomposer ( const UList< labelRange > & boundaryRanges,
const labelUList & faceOwner,
const labelUList & faceNeigbour,
const fvMesh & procMesh,
const labelUList & faceAddressing,
const labelUList & cellAddressing,
const labelUList & boundaryAddressing )

Construct from components without the complete mesh.

◆ ~fvFieldDecomposer()

~fvFieldDecomposer ( )
default

Destructor.

Member Function Documentation

◆ empty()

bool empty ( ) const
noexcept

True if no mappers have been allocated.

References Foam::noexcept.

◆ clear()

void clear ( )

Remove all mappers.

References clear().

Referenced by clear().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset() [1/2]

void reset ( const fvMesh & completeMesh)

Reset mappers using information from the complete mesh.

References reset().

Referenced by reset(), and reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset() [2/2]

void reset ( const UList< labelRange > & boundaryRanges,
const labelUList & faceOwner,
const labelUList & faceNeigbour )

Reset mapper using information about the complete mesh.

References reset().

Here is the call graph for this function:

◆ decomposeField() [1/3]

template<class Type>
tmp< DimensionedField< Type, volMesh > > decomposeField ( const DimensionedField< Type, volMesh > & field) const

Decompose internal field.

References decomposeField(), and field().

Referenced by decomposeField(), decomposeField(), and decomposeField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decomposeField() [2/3]

template<class Type>
tmp< GeometricField< Type, fvPatchField, volMesh > > decomposeField ( const GeometricField< Type, fvPatchField, volMesh > & field,
const bool allowUnknownPatchFields = false ) const

Decompose volume field.

References decomposeField(), and field().

Here is the call graph for this function:

◆ decomposeField() [3/3]

template<class Type>
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > decomposeField ( const GeometricField< Type, fvsPatchField, surfaceMesh > & field) const

Decompose surface field.

References decomposeField(), and field().

Here is the call graph for this function:

◆ decomposeFields()

template<class GeoField>
void decomposeFields ( const UPtrList< GeoField > & fields) const

Decompose list of fields.

References decomposeFields(), and fields.

Referenced by decomposeFields().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ verbose_

int verbose_
static

Output verbosity when writing.

Definition at line 293 of file fvFieldDecomposer.H.


The documentation for this class was generated from the following file: