Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
lagrangianFieldDecomposer Class Reference

Lagrangian field decomposer. More...

Collaboration diagram for lagrangianFieldDecomposer:
Collaboration graph
[legend]

Public Member Functions

 lagrangianFieldDecomposer (const polyMesh &mesh, const polyMesh &procMesh, const labelList &faceProcAddressing, const labelList &cellProcAddressing, const word &cloudName, const Cloud< indexedParticle > &lagrangianPositions, const List< SLList< indexedParticle * > * > &cellParticles)
 Construct from components. More...
 
template<class Type >
tmp< IOField< Type > > decomposeField (const word &cloudName, const IOField< Type > &field) const
 Decompose volume field. More...
 
template<class Type >
tmp< CompactIOField< Field< Type >, Type > > decomposeFieldField (const word &cloudName, const CompactIOField< Field< Type >, Type > &field) const
 
template<class GeoField >
void decomposeFields (const word &cloudName, const PtrList< GeoField > &fields) const
 
template<class GeoField >
void decomposeFieldFields (const word &cloudName, const PtrList< GeoField > &fields) const
 
 lagrangianFieldDecomposer (const polyMesh &mesh, const polyMesh &procMesh, const labelList &faceProcAddressing, const labelList &cellProcAddressing, const word &cloudName, const Cloud< indexedParticle > &lagrangianPositions, const List< SLList< indexedParticle * > * > &cellParticles)
 Construct from components. More...
 
template<class Type >
tmp< IOField< Type > > decomposeField (const word &cloudName, const IOField< Type > &field) const
 Decompose volume field. More...
 
template<class Type >
tmp< CompactIOField< Field< Type >, Type > > decomposeFieldField (const word &cloudName, const CompactIOField< Field< Type >, Type > &field) const
 
template<class GeoField >
void decomposeFields (const word &cloudName, const PtrList< GeoField > &fields) const
 
template<class GeoField >
void decomposeFieldFields (const word &cloudName, const PtrList< GeoField > &fields) const
 
template<class Type >
Foam::tmp< Foam::IOField< Type > > decomposeField (const word &cloudName, const IOField< Type > &field) const
 
template<class Type >
Foam::tmp< Foam::CompactIOField< Foam::Field< Type >, Type > > decomposeFieldField (const word &cloudName, const CompactIOField< Field< Type >, Type > &field) const
 

Static Public Member Functions

template<class Type >
static void readFields (const label cloudI, const IOobjectList &lagrangianObjects, PtrList< PtrList< IOField< Type > > > &lagrangianFields)
 
template<class Type >
static void readFieldFields (const label cloudI, const IOobjectList &lagrangianObjects, PtrList< PtrList< CompactIOField< Field< Type >, Type > > > &lagrangianFields)
 
template<class Type >
static void readFields (const label cloudI, const IOobjectList &lagrangianObjects, PtrList< PtrList< IOField< Type > > > &lagrangianFields)
 
template<class Type >
static void readFieldFields (const label cloudI, const IOobjectList &lagrangianObjects, PtrList< PtrList< CompactIOField< Field< Type >, Type > > > &lagrangianFields)
 

Private Member Functions

 lagrangianFieldDecomposer (const lagrangianFieldDecomposer &)
 Disallow default bitwise copy construct. More...
 
void operator= (const lagrangianFieldDecomposer &)
 Disallow default bitwise assignment. More...
 
 lagrangianFieldDecomposer (const lagrangianFieldDecomposer &)
 Disallow default bitwise copy construct. More...
 
void operator= (const lagrangianFieldDecomposer &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const polyMeshprocMesh_
 Reference to processor mesh. More...
 
Cloud< passiveParticlepositions_
 Lagrangian positions for this processor. More...
 
labelList particleIndices_
 The indices of the particles on this processor. More...
 

Detailed Description

Lagrangian field decomposer.

Source files

Source files

Definition at line 54 of file lagrangianFieldDecomposer.H.

Constructor & Destructor Documentation

◆ lagrangianFieldDecomposer() [1/4]

Disallow default bitwise copy construct.

◆ lagrangianFieldDecomposer() [2/4]

lagrangianFieldDecomposer ( const polyMesh mesh,
const polyMesh procMesh,
const labelList faceProcAddressing,
const labelList cellProcAddressing,
const word cloudName,
const Cloud< indexedParticle > &  lagrangianPositions,
const List< SLList< indexedParticle * > * > &  cellParticles 
)

Construct from components.

Definition at line 34 of file lagrangianFieldDecomposer.C.

References forAll, forAllConstIter(), indexedParticle::index(), Foam::constant::mathematical::pi(), particle< Type >::position(), and write().

Here is the call graph for this function:

◆ lagrangianFieldDecomposer() [3/4]

Disallow default bitwise copy construct.

◆ lagrangianFieldDecomposer() [4/4]

lagrangianFieldDecomposer ( const polyMesh mesh,
const polyMesh procMesh,
const labelList faceProcAddressing,
const labelList cellProcAddressing,
const word cloudName,
const Cloud< indexedParticle > &  lagrangianPositions,
const List< SLList< indexedParticle * > * > &  cellParticles 
)

Construct from components.

Member Function Documentation

◆ operator=() [1/2]

void operator= ( const lagrangianFieldDecomposer )
private

Disallow default bitwise assignment.

◆ readFields() [1/2]

void readFields ( const label  cloudI,
const IOobjectList lagrangianObjects,
PtrList< PtrList< IOField< Type > > > &  lagrangianFields 
)
static

Definition at line 33 of file lagrangianFieldDecomposerDecomposeFields.C.

References forAllIter, and IOobjectList::lookupClass().

Here is the call graph for this function:

◆ readFieldFields() [1/2]

void readFieldFields ( const label  cloudI,
const IOobjectList lagrangianObjects,
PtrList< PtrList< CompactIOField< Field< Type >, Type > > > &  lagrangianFields 
)
static

Definition at line 68 of file lagrangianFieldDecomposerDecomposeFields.C.

References forAllIter, and IOobjectList::lookupClass().

Here is the call graph for this function:

◆ decomposeField() [1/3]

tmp<IOField<Type> > decomposeField ( const word cloudName,
const IOField< Type > &  field 
) const

Decompose volume field.

◆ decomposeFieldField() [1/3]

tmp<CompactIOField<Field<Type>, Type> > decomposeFieldField ( const word cloudName,
const CompactIOField< Field< Type >, Type > &  field 
) const

◆ decomposeFields() [1/2]

void decomposeFields ( const word cloudName,
const PtrList< GeoField > &  fields 
) const

Definition at line 186 of file lagrangianFieldDecomposerDecomposeFields.C.

References cloudName(), fields, forAll, and write().

Referenced by main().

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

◆ decomposeFieldFields() [1/2]

void decomposeFieldFields ( const word cloudName,
const PtrList< GeoField > &  fields 
) const

Definition at line 203 of file lagrangianFieldDecomposerDecomposeFields.C.

References cloudName(), fields, forAll, and write().

Referenced by main().

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

◆ operator=() [2/2]

void operator= ( const lagrangianFieldDecomposer )
private

Disallow default bitwise assignment.

◆ readFields() [2/2]

static void readFields ( const label  cloudI,
const IOobjectList lagrangianObjects,
PtrList< PtrList< IOField< Type > > > &  lagrangianFields 
)
static

◆ readFieldFields() [2/2]

static void readFieldFields ( const label  cloudI,
const IOobjectList lagrangianObjects,
PtrList< PtrList< CompactIOField< Field< Type >, Type > > > &  lagrangianFields 
)
static

◆ decomposeField() [2/3]

tmp<IOField<Type> > decomposeField ( const word cloudName,
const IOField< Type > &  field 
) const

Decompose volume field.

◆ decomposeFieldField() [2/3]

tmp<CompactIOField<Field<Type>, Type> > decomposeFieldField ( const word cloudName,
const CompactIOField< Field< Type >, Type > &  field 
) const

◆ decomposeFields() [2/2]

void decomposeFields ( const word cloudName,
const PtrList< GeoField > &  fields 
) const

◆ decomposeFieldFields() [2/2]

void decomposeFieldFields ( const word cloudName,
const PtrList< GeoField > &  fields 
) const

◆ decomposeField() [3/3]

Foam::tmp<Foam::IOField<Type> > decomposeField ( const word cloudName,
const IOField< Type > &  field 
) const

Definition at line 123 of file lagrangianFieldDecomposerDecomposeFields.C.

References cloudName(), and IOobject::name().

Here is the call graph for this function:

◆ decomposeFieldField() [3/3]

Foam::tmp<Foam::CompactIOField<Foam::Field<Type>, Type> > decomposeFieldField ( const word cloudName,
const CompactIOField< Field< Type >, Type > &  field 
) const

Definition at line 155 of file lagrangianFieldDecomposerDecomposeFields.C.

References cloudName(), and IOobject::name().

Here is the call graph for this function:

Field Documentation

◆ procMesh_

const polyMesh & procMesh_
private

Reference to processor mesh.

Definition at line 59 of file lagrangianFieldDecomposer.H.

◆ positions_

Cloud< passiveParticle > positions_
private

Lagrangian positions for this processor.

Definition at line 62 of file lagrangianFieldDecomposer.H.

◆ particleIndices_

labelList particleIndices_
private

The indices of the particles on this processor.

Definition at line 65 of file lagrangianFieldDecomposer.H.


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