Classes | Public Member Functions | Static Public Member Functions | List of all members
faFieldDecomposer Class Reference

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

Classes

class  patchFieldDecomposer
 
class  processorAreaPatchFieldDecomposer
 
class  processorEdgePatchFieldDecomposer
 

Public Member Functions

 faFieldDecomposer (const Foam::zero, const faMesh &procMesh, const labelList &edgeAddressing, const labelList &faceAddressing, const labelList &boundaryAddressing)
 
 faFieldDecomposer (const faMesh &completeMesh, const faMesh &procMesh, const labelList &edgeAddressing, const labelList &faceAddressing, const labelList &boundaryAddressing)
 
 faFieldDecomposer (const label nTotalFaces, const List< labelRange > &boundaryRanges, const labelUList &edgeOwner, const labelUList &edgeNeigbour, const faMesh &procMesh, const labelList &edgeAddressing, const labelList &faceAddressing, const labelList &boundaryAddressing)
 
 ~faFieldDecomposer ()=default
 
bool empty () const
 
void clear ()
 
void reset (const faMesh &completeMesh)
 
void reset (const label nTotalFaces, const List< labelRange > &boundaryRanges, const labelUList &edgeOwner, const labelUList &edgeNeigbour)
 
template<class Type >
tmp< GeometricField< Type, faPatchField, areaMesh > > decomposeField (const GeometricField< Type, faPatchField, areaMesh > &field) const
 
template<class Type >
tmp< GeometricField< Type, faePatchField, edgeMesh > > decomposeField (const GeometricField< Type, faePatchField, edgeMesh > &field) const
 
template<class GeoField >
void decomposeFields (const PtrList< GeoField > &fields) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::faPatchField, Foam::areaMesh > > decomposeField (const GeometricField< Type, faPatchField, areaMesh > &field) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::faePatchField, Foam::edgeMesh > > decomposeField (const GeometricField< Type, faePatchField, edgeMesh > &field) 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)
 
template<class Mesh , class GeoField >
static void readFields (const Mesh &mesh, const IOobjectList &objects, PtrList< GeoField > &fields)
 

Detailed Description

Finite Area area and edge field decomposer.

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

Source files

Definition at line 57 of file faFieldDecomposer.H.

Constructor & Destructor Documentation

◆ faFieldDecomposer() [1/3]

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

Definition at line 152 of file faFieldDecomposer.C.

◆ faFieldDecomposer() [2/3]

faFieldDecomposer ( const faMesh completeMesh,
const faMesh procMesh,
const labelList edgeAddressing,
const labelList faceAddressing,
const labelList boundaryAddressing 
)

Definition at line 172 of file faFieldDecomposer.C.

◆ faFieldDecomposer() [3/3]

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

Definition at line 194 of file faFieldDecomposer.C.

◆ ~faFieldDecomposer()

~faFieldDecomposer ( )
default

Member Function Documentation

◆ empty()

bool empty ( ) const

Definition at line 221 of file faFieldDecomposer.C.

◆ clear()

void clear ( )

Definition at line 227 of file faFieldDecomposer.C.

◆ reset() [1/2]

void reset ( const faMesh completeMesh)

Definition at line 297 of file faFieldDecomposer.C.

References faMesh::boundary(), clear(), forAll, faPatch::patchSlice(), faBoundaryMesh::patchStarts(), and edgeInterpolation::weights().

Here is the call graph for this function:

◆ reset() [2/2]

void reset ( const label  nTotalFaces,
const List< labelRange > &  boundaryRanges,
const labelUList edgeOwner,
const labelUList edgeNeigbour 
)

Definition at line 236 of file faFieldDecomposer.C.

References clear(), forAll, and faPatch::patchSlice().

Here is the call graph for this function:

◆ decomposeField() [1/4]

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

◆ decomposeField() [2/4]

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

◆ decomposeFields()

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

Definition at line 211 of file faFieldDecomposerFields.C.

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

Here is the call graph for this function:

◆ readFields() [1/2]

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

Definition at line 30 of file faFieldDecomposerReadFields.C.

References fields, forAll, IOobjectList::lookupClass(), mesh, and IOobjectList::sortedNames().

Here is the call graph for this function:

◆ readFields() [2/2]

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

Definition at line 60 of file faFieldDecomposerReadFields.C.

References fields, forAll, IOobjectList::lookupClass(), mesh, and IOobjectList::sortedNames().

Here is the call graph for this function:

◆ decomposeField() [3/4]

Foam::tmp<Foam::GeometricField<Type, Foam::faPatchField, Foam::areaMesh> > decomposeField ( const GeometricField< Type, faPatchField, areaMesh > &  field) const

Definition at line 31 of file faFieldDecomposerFields.C.

References field(), forAll, Foam::New(), and PtrList::set().

Here is the call graph for this function:

◆ decomposeField() [4/4]

Foam::tmp<Foam::GeometricField<Type, Foam::faePatchField, Foam::edgeMesh> > decomposeField ( const GeometricField< Type, faePatchField, edgeMesh > &  field) const

Definition at line 101 of file faFieldDecomposerFields.C.

References field(), forAll, Foam::New(), p, and PtrList::set().

Here is the call graph for this function:

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