Reconstructor for lagrangian positions and fields. More...
Public Member Functions | |
lagrangianReconstructor (const fvMesh &mesh, const PtrList< fvMesh > &procMeshes, const PtrList< labelIOList > &faceProcAddressing, const PtrList< labelIOList > &cellProcAddressing) | |
Construct from components. More... | |
label | reconstructPositions (const word &cloudName) const |
Reconstruct positions for given cloud. More... | |
template<class Type > | |
tmp< IOField< Type > > | reconstructField (const word &cloudName, const word &fieldName) |
Reconstruct a single field for given cloud. More... | |
template<class Type > | |
tmp< CompactIOField< Field< Type >, Type > > | reconstructFieldField (const word &cloudName, const word &fieldName) |
Reconstruct a single field-field for given cloud. More... | |
template<class Type > | |
label | reconstructFields (const word &cloudName, const IOobjectList &objects, const UList< word > &fieldNames) |
Reconstruct multiple fields for given cloud. More... | |
template<class Type > | |
label | reconstructFields (const word &cloudName, const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Reconstruct multiple fields for given cloud. More... | |
template<class Type > | |
label | reconstructFieldFields (const word &cloudName, const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Reconstruct multiple field-field for given cloud. More... | |
template<class Type > | |
Foam::tmp< Foam::IOField< Type > > | reconstructField (const word &cloudName, const word &fieldName) |
template<class Type > | |
Foam::tmp< Foam::CompactIOField< Foam::Field< Type >, Type > > | reconstructFieldField (const word &cloudName, const word &fieldName) |
template<class Type > | |
Foam::label | reconstructFields (const word &cloudName, const IOobjectList &objects, const UList< word > &fieldNames) |
template<class Type > | |
Foam::label | reconstructFields (const word &cloudName, const IOobjectList &objects, const wordRes &selectedFields) |
template<class Type > | |
Foam::label | reconstructFieldFields (const word &cloudName, const IOobjectList &objects, const wordRes &selectedFields) |
Reconstructor for lagrangian positions and fields.
Definition at line 56 of file lagrangianReconstructor.H.
lagrangianReconstructor | ( | const fvMesh & | mesh, |
const PtrList< fvMesh > & | procMeshes, | ||
const PtrList< labelIOList > & | faceProcAddressing, | ||
const PtrList< labelIOList > & | cellProcAddressing | ||
) |
Construct from components.
Definition at line 36 of file lagrangianReconstructor.C.
Foam::label reconstructPositions | ( | const word & | cloudName | ) | const |
Reconstruct positions for given cloud.
Definition at line 53 of file lagrangianReconstructor.C.
References particle< Type >::cell(), cloudName(), particle< Type >::coordinates(), Foam::faceMap(), forAll, forAllConstIters(), Foam::mag(), particle< Type >::procTetPt(), particle< Type >::tetFace(), and Foam::vtk::write().
Reconstruct a single field for given cloud.
tmp<CompactIOField<Field<Type>, Type> > reconstructFieldField | ( | const word & | cloudName, |
const word & | fieldName | ||
) |
Reconstruct a single field-field for given cloud.
label reconstructFields | ( | const word & | cloudName, |
const IOobjectList & | objects, | ||
const UList< word > & | fieldNames | ||
) |
Reconstruct multiple fields for given cloud.
label reconstructFields | ( | const word & | cloudName, |
const IOobjectList & | objects, | ||
const wordRes & | selectedFields = wordRes() |
||
) |
Reconstruct multiple fields for given cloud.
label reconstructFieldFields | ( | const word & | cloudName, |
const IOobjectList & | objects, | ||
const wordRes & | selectedFields = wordRes() |
||
) |
Reconstruct multiple field-field for given cloud.
Foam::tmp<Foam::IOField<Type> > reconstructField | ( | const word & | cloudName, |
const word & | fieldName | ||
) |
Definition at line 38 of file lagrangianReconstructorFields.C.
References cloudName(), field(), forAll, and Foam::New().
Foam::tmp<Foam::CompactIOField<Foam::Field<Type>, Type> > reconstructFieldField | ( | const word & | cloudName, |
const word & | fieldName | ||
) |
Definition at line 93 of file lagrangianReconstructorFields.C.
References cloudName(), field(), forAll, and Foam::New().
Foam::label reconstructFields | ( | const word & | cloudName, |
const IOobjectList & | objects, | ||
const UList< word > & | fieldNames | ||
) |
Definition at line 154 of file lagrangianReconstructorFields.C.
References IOobjectList::cfindObject(), cloudName(), Foam::endl(), Foam::Info, Foam::nl, and Foam::vtk::write().
Foam::label reconstructFields | ( | const word & | cloudName, |
const IOobjectList & | objects, | ||
const wordRes & | selectedFields | ||
) |
Definition at line 186 of file lagrangianReconstructorFields.C.
References cloudName(), and IOobjectList::sortedNames().
Foam::label reconstructFieldFields | ( | const word & | cloudName, |
const IOobjectList & | objects, | ||
const wordRes & | selectedFields | ||
) |
Definition at line 207 of file lagrangianReconstructorFields.C.
References List< T >::append(), cloudName(), Foam::endl(), Foam::Info, IOobjectList::names(), Foam::nl, Foam::sort(), and Foam::vtk::write().