Classes | Public Member Functions | List of all members
fvFieldDecomposer Class Reference

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

Classes

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

Public Member Functions

 fvFieldDecomposer (const fvMesh &completeMesh, const fvMesh &procMesh, const labelList &faceAddressing, const labelList &cellAddressing, const labelList &boundaryAddressing)
 Construct from components. More...
 
 ~fvFieldDecomposer ()
 Destructor. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > decomposeField (const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields=false) const
 Decompose volume field. More...
 
template<class Type >
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > decomposeField (const GeometricField< Type, fvsPatchField, surfaceMesh > &field) const
 Decompose surface field. More...
 
template<class GeoField >
void decomposeFields (const PtrList< GeoField > &fields) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > decomposeField (const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > decomposeField (const GeometricField< Type, fvsPatchField, surfaceMesh > &field) const
 

Detailed Description

Finite Volume volume and surface field decomposer.

Source files

Definition at line 53 of file fvFieldDecomposer.H.

Constructor & Destructor Documentation

◆ fvFieldDecomposer()

fvFieldDecomposer ( const fvMesh completeMesh,
const fvMesh procMesh,
const labelList faceAddressing,
const labelList cellAddressing,
const labelList boundaryAddressing 
)

Construct from components.

Definition at line 116 of file fvFieldDecomposer.C.

References fvMesh::boundary(), forAll, and patchi.

Here is the call graph for this function:

◆ ~fvFieldDecomposer()

Destructor.

Definition at line 189 of file fvFieldDecomposer.C.

References forAll, and patchi.

Referenced by fvFieldDecomposer::processorSurfacePatchFieldDecomposer::weights().

Here is the caller graph for this function:

Member Function Documentation

◆ decomposeField() [1/4]

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

Decompose volume field.

Referenced by fvFieldDecomposer::decomposeField(), and fvFieldDecomposer::processorSurfacePatchFieldDecomposer::weights().

Here is the caller graph for this function:

◆ decomposeField() [2/4]

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

Decompose surface field.

◆ decomposeFields()

void decomposeFields ( const PtrList< GeoField > &  fields) const

Definition at line 322 of file fvFieldDecomposerDecomposeFields.C.

References forAll, and Foam::blockMeshTools::write().

Referenced by fvFieldDecomposer::decomposeField(), and fvFieldDecomposer::processorSurfacePatchFieldDecomposer::weights().

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

◆ decomposeField() [3/4]

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > decomposeField ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const bool  allowUnknownPatchFields 
) const

◆ decomposeField() [4/4]


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