Lagrangian field decomposer. More...
Public Member Functions | |
| LagrangianFieldDecomposer (const fvMesh &completeFvMesh, const PtrList< fvMesh > &procFvMeshes, const labelListList &faceProcAddressing, const labelListList &cellProcAddressing, const word &LagrangianName) | |
| Construct from components. More... | |
| LagrangianFieldDecomposer (const LagrangianFieldDecomposer &)=delete | |
| Disallow default bitwise copy construction. More... | |
| ~LagrangianFieldDecomposer () | |
| Destructor. More... | |
| const PtrList< LagrangianMesh > & | procMeshes () const |
| Access the decomposed meshes. More... | |
| void | decomposePositions () const |
| Write the decomposed positions. More... | |
| template<class GeoField > | |
| PtrList< GeoField > | decomposeField (const IOobject &) const |
| Read and decompose a field. More... | |
| template<class GeoField > | |
| void | decomposeFields (const IOobjectList &objects) const |
| Read, decompose and write all Lagrangian fields. More... | |
| void | operator= (const LagrangianFieldDecomposer &)=delete |
| Disallow default bitwise assignment. More... | |
| template<class GeoField > | |
| Foam::PtrList< GeoField > | decomposeField (const IOobject &fieldIo) const |
Static Public Member Functions | |
| static bool | decomposes (const IOobjectList &objects) |
| Return whether anything in the object list gets decomposed. More... | |
Lagrangian field decomposer.
Definition at line 52 of file LagrangianFieldDecomposer.H.
| LagrangianFieldDecomposer | ( | const fvMesh & | completeFvMesh, |
| const PtrList< fvMesh > & | procFvMeshes, | ||
| const labelListList & | faceProcAddressing, | ||
| const labelListList & | cellProcAddressing, | ||
| const word & | LagrangianName | ||
| ) |
Construct from components.
Definition at line 31 of file LagrangianFieldDecomposer.C.
References LagrangianMesh::celli(), LagrangianMesh::coordinates(), LagrangianMesh::facei(), polyMesh::faces(), LagrangianMesh::faceTrii(), forAll, Foam::mag(), LagrangianMesh::mesh(), primitiveMesh::nCells(), primitiveMesh::nFaces(), IOobject::NO_READ, List< T >::resize(), PtrList< T >::set(), and List< T >::size().

|
delete |
Disallow default bitwise copy construction.
Destructor.
Definition at line 170 of file LagrangianFieldDecomposer.C.
|
static |
Return whether anything in the object list gets decomposed.
Definition at line 192 of file LagrangianFieldDecomposer.C.
References DECOMPOSES_LAGRANGIAN_FIELDS_TYPE, and Foam::FOR_ALL_FIELD_TYPES().

| const Foam::PtrList< Foam::LagrangianMesh > & procMeshes | ( | ) | const |
Access the decomposed meshes.
Definition at line 177 of file LagrangianFieldDecomposer.C.
| void decomposePositions | ( | ) | const |
Write the decomposed positions.
Definition at line 183 of file LagrangianFieldDecomposer.C.
References forAll.
| void decomposeFields | ( | const IOobjectList & | objects | ) | const |
Read, decompose and write all Lagrangian fields.
Definition at line 197 of file LagrangianFieldDecomposerTemplates.C.
References Foam::endl(), fields, forAll, forAllConstIter, Foam::Info, Foam::nl, and objects.

|
delete |
Disallow default bitwise assignment.
| Foam::PtrList<GeoField> decomposeField | ( | const IOobject & | fieldIo | ) | const |
Definition at line 171 of file LagrangianFieldDecomposerTemplates.C.
References IOobject::MUST_READ, IOobject::name(), and IOobject::NO_WRITE.
