fvFieldDecomposer Class Reference

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

Classes

class  patchFieldDecomposer
 Patch field decomposer class. More...
 

Public Member Functions

 fvFieldDecomposer (const fvMesh &completeMesh, const PtrList< fvMesh > &procMeshes, const labelListList &faceProcAddressing, const labelListList &cellProcAddressing, const PtrList< surfaceLabelField::Boundary > &faceProcAddressingBf)
 Construct from components. More...
 
 fvFieldDecomposer (const fvFieldDecomposer &)=delete
 Disallow default bitwise copy construction. More...
 
 ~fvFieldDecomposer ()
 Destructor. More...
 
template<class Type >
PtrList< typename VolField< Type >::Internal > decomposeVolInternalField (const IOobject &fieldIoObject) const
 Decompose a volume internal field. More...
 
template<class Type >
PtrList< VolField< Type > > decomposeVolField (const IOobject &fieldIoObject) const
 Decompose a volume field. More...
 
template<class Type >
PtrList< SurfaceField< Type > > decomposeFvSurfaceField (const IOobject &fieldIoObject) const
 Decompose a surface field. More...
 
template<class Type >
void decomposeVolInternalFields (const IOobjectList &objects)
 Read, decompose and write all volume internal fields. More...
 
template<class Type >
void decomposeVolFields (const IOobjectList &objects)
 Read, decompose and write all volume fields. More...
 
template<class Type >
void decomposeFvSurfaceFields (const IOobjectList &objects)
 Read, decompose and write all surface fields. More...
 
void operator= (const fvFieldDecomposer &)=delete
 Disallow default bitwise assignment. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapCellToFace (const labelUList &owner, const labelUList &neighbour, const Field< Type > &field, const labelUList &addressing)
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapFaceToFace (const Field< Type > &field, const labelUList &addressing, const bool isFlux)
 
template<class Type >
Foam::PtrList< typename Foam::VolField< Type >::Internal > decomposeVolInternalField (const IOobject &fieldIoObject) const
 
template<class Type >
Foam::PtrList< Foam::VolField< Type > > decomposeVolField (const IOobject &fieldIoObject) const
 
template<class Type >
Foam::PtrList< Foam::SurfaceField< Type > > decomposeFvSurfaceField (const IOobject &fieldIoObject) const
 

Static Public Member Functions

static bool decomposes (const IOobjectList &objects)
 Return whether anything in the object list gets decomposed. More...
 

Detailed Description

Finite Volume volume and surface field decomposer.

Source files

Definition at line 55 of file fvFieldDecomposer.H.

Constructor & Destructor Documentation

◆ fvFieldDecomposer() [1/2]

fvFieldDecomposer ( const fvMesh completeMesh,
const PtrList< fvMesh > &  procMeshes,
const labelListList faceProcAddressing,
const labelListList cellProcAddressing,
const PtrList< surfaceLabelField::Boundary > &  faceProcAddressingBf 
)

Construct from components.

Definition at line 67 of file fvFieldDecomposer.C.

References boundary(), and forAll.

Here is the call graph for this function:

◆ fvFieldDecomposer() [2/2]

fvFieldDecomposer ( const fvFieldDecomposer )
delete

Disallow default bitwise copy construction.

◆ ~fvFieldDecomposer()

Destructor.

Definition at line 116 of file fvFieldDecomposer.C.

Member Function Documentation

◆ decomposes()

bool decomposes ( const IOobjectList objects)
static

Return whether anything in the object list gets decomposed.

Definition at line 122 of file fvFieldDecomposer.C.

References DO_FV_FIELDS_TYPE, and Foam::FOR_ALL_FIELD_TYPES().

Here is the call graph for this function:

◆ decomposeVolInternalField() [1/2]

PtrList<typename VolField<Type>::Internal> decomposeVolInternalField ( const IOobject fieldIoObject) const

Decompose a volume internal field.

◆ decomposeVolField() [1/2]

PtrList<VolField<Type> > decomposeVolField ( const IOobject fieldIoObject) const

Decompose a volume field.

◆ decomposeFvSurfaceField() [1/2]

PtrList<SurfaceField<Type> > decomposeFvSurfaceField ( const IOobject fieldIoObject) const

Decompose a surface field.

◆ decomposeVolInternalFields()

void decomposeVolInternalFields ( const IOobjectList objects)

Read, decompose and write all volume internal fields.

Definition at line 468 of file fvFieldDecomposerTemplates.C.

References Foam::endl(), fields, forAll, forAllConstIter, Foam::Info, Foam::nl, and objects.

Here is the call graph for this function:

◆ decomposeVolFields()

void decomposeVolFields ( const IOobjectList objects)

Read, decompose and write all volume fields.

Definition at line 498 of file fvFieldDecomposerTemplates.C.

References Foam::endl(), fields, forAll, forAllConstIter, Foam::Info, Foam::nl, and objects.

Here is the call graph for this function:

◆ decomposeFvSurfaceFields()

void decomposeFvSurfaceFields ( const IOobjectList objects)

Read, decompose and write all surface fields.

Definition at line 528 of file fvFieldDecomposerTemplates.C.

References Foam::endl(), fields, forAll, forAllConstIter, Foam::Info, Foam::nl, and objects.

Here is the call graph for this function:

◆ operator=()

void operator= ( const fvFieldDecomposer )
delete

Disallow default bitwise assignment.

◆ mapCellToFace()

Foam::tmp<Foam::Field<Type> > mapCellToFace ( const labelUList owner,
const labelUList neighbour,
const Field< Type > &  field,
const labelUList addressing 
)

Definition at line 37 of file fvFieldDecomposerTemplates.C.

References fld(), forAll, tmp< T >::ref(), and UList< T >::size().

Here is the call graph for this function:

◆ mapFaceToFace()

Foam::tmp<Foam::Field<Type> > mapFaceToFace ( const Field< Type > &  field,
const labelUList addressing,
const bool  isFlux 
)

Definition at line 64 of file fvFieldDecomposerTemplates.C.

References fld(), forAll, Foam::isFlux(), Foam::mag(), tmp< T >::ref(), and UList< T >::size().

Here is the call graph for this function:

◆ decomposeVolInternalField() [2/2]

◆ decomposeVolField() [2/2]

◆ decomposeFvSurfaceField() [2/2]


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