Loading...
Searching...
No Matches
faFieldDecomposer Class Reference

Finite Area area and edge field decomposer. More...

#include <faFieldDecomposer.H>

Classes

class  patchFieldDecomposer
 Patch field decomposer class. More...
class  processorAreaPatchFieldDecomposer
 Processor patch field decomposer class. More...
class  processorEdgePatchFieldDecomposer
 Processor patch field decomposer class. More...
class  fieldsCache

Public Member Functions

 faFieldDecomposer (Foam::zero, const faMesh &procMesh, const labelUList &edgeAddressing, const labelUList &faceAddressing, const labelUList &boundaryAddressing)
 Construct without mappers, added later with reset().
 faFieldDecomposer (const faMesh &completeMesh, const faMesh &procMesh, const labelUList &edgeAddressing, const labelUList &faceAddressing, const labelUList &boundaryAddressing)
 Construct from components using information from the complete mesh.
 faFieldDecomposer (const label nTotalFaces, const UList< labelRange > &boundaryRanges, const labelUList &edgeOwner, const labelUList &edgeNeigbour, const faMesh &procMesh, const labelUList &edgeAddressing, const labelUList &faceAddressing, const labelUList &boundaryAddressing)
 Construct from components without the complete mesh.
 ~faFieldDecomposer ()=default
 Destructor.
bool empty () const noexcept
 True if no mappers have been allocated.
void clear ()
 Remove all mappers.
void reset (const faMesh &completeMesh)
 Reset mappers using information from the complete mesh.
void reset (const label nTotalFaces, const UList< labelRange > &boundaryRanges, const labelUList &edgeOwner, const labelUList &edgeNeigbour)
 Reset mapper using information about the complete mesh.
template<class Type>
tmp< GeometricField< Type, faPatchField, areaMesh > > decomposeField (const GeometricField< Type, faPatchField, areaMesh > &field) const
 Decompose area field.
template<class Type>
tmp< GeometricField< Type, faePatchField, edgeMesh > > decomposeField (const GeometricField< Type, faePatchField, edgeMesh > &field) const
 Decompose surface field.
template<class GeoField>
void decomposeFields (const PtrList< GeoField > &fields) const

Static Public Member Functions

template<class Type, template< class > class PatchField, class GeoMesh>
static void readFields (const typename GeoMesh::Mesh &mesh, const IOobjectList &objects, PtrList< GeometricField< Type, PatchField, GeoMesh > > &fields, const bool readOldTime)
 Read the fields and store on the pointer list.
template<class Mesh, class GeoField>
static void readFields (const Mesh &mesh, const IOobjectList &objects, PtrList< GeoField > &fields)
 Read fields and store on the pointer list.

Detailed Description

Finite Area area and edge field decomposer.

Author Zeljko Tukovic, FSB Zagreb Hrvoje Jasak, Wikki Ltd.

Source files

Definition at line 59 of file faFieldDecomposer.H.

Constructor & Destructor Documentation

◆ faFieldDecomposer() [1/3]

faFieldDecomposer ( Foam::zero ,
const faMesh & procMesh,
const labelUList & edgeAddressing,
const labelUList & faceAddressing,
const labelUList & boundaryAddressing )

Construct without mappers, added later with reset().

◆ faFieldDecomposer() [2/3]

faFieldDecomposer ( const faMesh & completeMesh,
const faMesh & procMesh,
const labelUList & edgeAddressing,
const labelUList & faceAddressing,
const labelUList & boundaryAddressing )

Construct from components using information from the complete mesh.

◆ faFieldDecomposer() [3/3]

faFieldDecomposer ( const label nTotalFaces,
const UList< labelRange > & boundaryRanges,
const labelUList & edgeOwner,
const labelUList & edgeNeigbour,
const faMesh & procMesh,
const labelUList & edgeAddressing,
const labelUList & faceAddressing,
const labelUList & boundaryAddressing )

Construct from components without the complete mesh.

◆ ~faFieldDecomposer()

~faFieldDecomposer ( )
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 faMesh & 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 label nTotalFaces,
const UList< labelRange > & boundaryRanges,
const labelUList & edgeOwner,
const labelUList & edgeNeigbour )

Reset mapper using information about the complete mesh.

References reset().

Here is the call graph for this function:

◆ decomposeField() [1/2]

template<class Type>
tmp< GeometricField< Type, faPatchField, areaMesh > > decomposeField ( const GeometricField< Type, faPatchField, areaMesh > & field) const

Decompose area field.

References decomposeField(), and field().

Referenced by decomposeField(), and decomposeField().

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

◆ decomposeField() [2/2]

template<class Type>
tmp< GeometricField< Type, faePatchField, edgeMesh > > decomposeField ( const GeometricField< Type, faePatchField, edgeMesh > & field) const

Decompose surface field.

References decomposeField(), and field().

Here is the call graph for this function:

◆ decomposeFields()

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

References decomposeFields(), and fields.

Referenced by decomposeFields().

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

◆ readFields() [1/2]

template<class Type, template< class > class PatchField, class GeoMesh>
void readFields ( const typename GeoMesh::Mesh & mesh,
const IOobjectList & objects,
PtrList< GeometricField< Type, PatchField, GeoMesh > > & fields,
const bool readOldTime )
static

Read the fields and store on the pointer list.

References fields, mesh, and readFields().

Referenced by readFields(), and readFields().

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

◆ readFields() [2/2]

template<class Mesh, class GeoField>
void readFields ( const Mesh & mesh,
const IOobjectList & objects,
PtrList< GeoField > & fields )
static

Read fields and store on the pointer list.

References fields, mesh, and readFields().

Here is the call graph for this function:

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