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

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

Classes

class  patchFieldDecomposer
 
class  processorSurfacePatchFieldDecomposer
 
class  processorVolPatchFieldDecomposer
 

Public Member Functions

 fvFieldDecomposer (const fvFieldDecomposer &)=delete
 
void operator= (const fvFieldDecomposer &)=delete
 
 fvFieldDecomposer (const Foam::zero, const fvMesh &procMesh, const labelList &faceAddressing, const labelList &cellAddressing, const labelList &boundaryAddressing)
 
 fvFieldDecomposer (const fvMesh &completeMesh, const fvMesh &procMesh, const labelList &faceAddressing, const labelList &cellAddressing, const labelList &boundaryAddressing)
 
 fvFieldDecomposer (const List< labelRange > &boundaryRanges, const labelUList &faceOwner, const labelUList &faceNeigbour, const fvMesh &procMesh, const labelList &faceAddressing, const labelList &cellAddressing, const labelList &boundaryAddressing)
 
 ~fvFieldDecomposer ()=default
 
bool empty () const
 
void clear ()
 
void reset (const fvMesh &completeMesh)
 
void reset (const List< labelRange > &boundaryRanges, const labelUList &faceOwner, const labelUList &faceNeigbour)
 
template<class Type >
tmp< DimensionedField< Type, volMesh > > decomposeField (const DimensionedField< Type, volMesh > &field) const
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > decomposeField (const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields=false) const
 
template<class Type >
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > decomposeField (const GeometricField< Type, fvsPatchField, surfaceMesh > &field) const
 
template<class GeoField >
void decomposeFields (const PtrList< GeoField > &fields) const
 
template<class Type >
Foam::tmp< Foam::DimensionedField< Type, Foam::volMesh > > decomposeField (const DimensionedField< Type, volMesh > &field) 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 50 of file fvFieldDecomposer.H.

Constructor & Destructor Documentation

◆ fvFieldDecomposer() [1/4]

fvFieldDecomposer ( const fvFieldDecomposer )
delete

◆ fvFieldDecomposer() [2/4]

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

Definition at line 125 of file fvFieldDecomposer.C.

◆ fvFieldDecomposer() [3/4]

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

Definition at line 146 of file fvFieldDecomposer.C.

◆ fvFieldDecomposer() [4/4]

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

Definition at line 168 of file fvFieldDecomposer.C.

◆ ~fvFieldDecomposer()

~fvFieldDecomposer ( )
default

Member Function Documentation

◆ operator=()

void operator= ( const fvFieldDecomposer )
delete

◆ empty()

bool empty ( ) const

Definition at line 194 of file fvFieldDecomposer.C.

◆ clear()

void clear ( )

Definition at line 200 of file fvFieldDecomposer.C.

◆ reset() [1/2]

void reset ( const fvMesh completeMesh)

Definition at line 285 of file fvFieldDecomposer.C.

References polyMesh::boundaryMesh(), clear(), forAll, fvPatch::patchSlice(), s, Foam::sign(), and polyBoundaryMesh::start().

Here is the call graph for this function:

◆ reset() [2/2]

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

Definition at line 210 of file fvFieldDecomposer.C.

References clear(), forAll, fvPatch::patchSlice(), s, and Foam::sign().

Here is the call graph for this function:

◆ decomposeField() [1/6]

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

◆ decomposeField() [2/6]

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

◆ decomposeField() [3/6]

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

◆ decomposeFields()

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

Definition at line 361 of file fvFieldDecomposerFields.C.

References fields, fld, and Foam::vtk::write().

Here is the call graph for this function:

◆ decomposeField() [4/6]

Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > decomposeField ( const DimensionedField< Type, volMesh > &  field) const

Definition at line 34 of file fvFieldDecomposerFields.C.

References field(), and Foam::New().

Here is the call graph for this function:

◆ decomposeField() [5/6]

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

Definition at line 64 of file fvFieldDecomposerFields.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, field(), forAll, tmp::ref(), and PtrList::set().

Here is the call graph for this function:

◆ decomposeField() [6/6]

Definition at line 193 of file fvFieldDecomposerFields.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, field(), forAll, p, tmp::ref(), and PtrList::set().

Here is the call graph for this function:

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