Lagrangian field decomposer. More...
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 polyMesh & | procMesh_ |
Reference to processor mesh. More... | |
Cloud< passiveParticle > | positions_ |
Lagrangian positions for this processor. More... | |
labelList | particleIndices_ |
The indices of the particles on this processor. More... | |
Lagrangian field decomposer.
Definition at line 54 of file lagrangianFieldDecomposer.H.
|
private |
Disallow default bitwise copy construct.
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().
|
private |
Disallow default bitwise copy construct.
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.
|
private |
Disallow default bitwise assignment.
|
static |
Definition at line 33 of file lagrangianFieldDecomposerDecomposeFields.C.
References forAllIter, and IOobjectList::lookupClass().
|
static |
Definition at line 68 of file lagrangianFieldDecomposerDecomposeFields.C.
References forAllIter, and IOobjectList::lookupClass().
Decompose volume field.
tmp<CompactIOField<Field<Type>, Type> > decomposeFieldField | ( | const word & | cloudName, |
const CompactIOField< Field< Type >, Type > & | field | ||
) | const |
Definition at line 186 of file lagrangianFieldDecomposerDecomposeFields.C.
References cloudName(), fields, forAll, and write().
Referenced by main().
Definition at line 203 of file lagrangianFieldDecomposerDecomposeFields.C.
References cloudName(), fields, forAll, and write().
Referenced by main().
|
private |
Disallow default bitwise assignment.
|
static |
|
static |
Decompose volume field.
tmp<CompactIOField<Field<Type>, Type> > decomposeFieldField | ( | const word & | cloudName, |
const CompactIOField< Field< Type >, Type > & | field | ||
) | const |
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().
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().
|
private |
Reference to processor mesh.
Definition at line 59 of file lagrangianFieldDecomposer.H.
|
private |
Lagrangian positions for this processor.
Definition at line 62 of file lagrangianFieldDecomposer.H.
|
private |
The indices of the particles on this processor.
Definition at line 65 of file lagrangianFieldDecomposer.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.