fvFieldDecomposer Class Reference

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

Classes

class  patchFieldDecomposer
 Patch field decomposer class. 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 (const fvFieldDecomposer &)=delete
 Disallow default bitwise copy construction. 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
 
void operator= (const fvFieldDecomposer &)=delete
 Disallow default bitwise assignment. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapField (const Field< Type > &field, const labelUList &mapAndSign, const bool applyFlip)
 
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() [1/2]

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

Construct from components.

Definition at line 123 of file fvFieldDecomposer.C.

References fvMesh::boundary(), forAll, fvPatch::patch(), fvFieldDecomposer::patchFieldDecomposer::patchFieldDecomposer(), and patchi.

Referenced by fvFieldDecomposer::processorVolPatchFieldDecomposer::processorVolPatchFieldDecomposer().

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

◆ fvFieldDecomposer() [2/2]

fvFieldDecomposer ( const fvFieldDecomposer )
delete

Disallow default bitwise copy construction.

◆ ~fvFieldDecomposer()

Destructor.

Definition at line 184 of file fvFieldDecomposer.C.

References forAll, and patchi.

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::mapField().

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 369 of file fvFieldDecomposerDecomposeFields.C.

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

Referenced by fvFieldDecomposer::decomposeField().

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

◆ operator=()

void operator= ( const fvFieldDecomposer )
delete

Disallow default bitwise assignment.

◆ mapField()

Foam::tmp<Foam::Field<Type> > mapField ( const Field< Type > &  field,
const labelUList mapAndSign,
const bool  applyFlip 
)

Definition at line 37 of file fvFieldDecomposerDecomposeFields.C.

References fvFieldDecomposer::decomposeField(), fld(), forAll, Foam::mag(), Field< Type >::map(), tmp< T >::ref(), and UList< T >::size().

Here is the call graph for this function:

◆ decomposeField() [3/4]

◆ decomposeField() [4/4]


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