Point field reconstructor. More...
Data Structures | |
class | pointPatchFieldReconstructor |
Public Member Functions | |
pointFieldReconstructor (const pointMesh &mesh, const PtrList< pointMesh > &procMeshes, const PtrList< labelIOList > &pointProcAddressing, const PtrList< labelIOList > &boundaryProcAddressing) | |
Construct from components. More... | |
label | nReconstructed () const |
Return number of fields reconstructed. More... | |
template<class Type > | |
tmp< GeometricField< Type, pointPatchField, pointMesh > > | reconstructField (const IOobject &fieldIoObject) |
Reconstruct field. More... | |
template<class Type > | |
void | reconstructFields (const IOobjectList &objects, const HashSet< word > &selectedFields) |
Reconstruct and write all fields. More... | |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > | reconstructField (const IOobject &fieldIoObject) |
Private Member Functions | |
pointFieldReconstructor (const pointFieldReconstructor &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const pointFieldReconstructor &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
const pointMesh & | mesh_ |
Reconstructed mesh reference. More... | |
const PtrList< pointMesh > & | procMeshes_ |
List of processor meshes. More... | |
const PtrList< labelIOList > & | pointProcAddressing_ |
List of processor point addressing lists. More... | |
const PtrList< labelIOList > & | boundaryProcAddressing_ |
List of processor boundary addressing lists. More... | |
labelListListList | patchPointAddressing_ |
Point patch addressing. More... | |
label | nReconstructed_ |
Number of fields reconstructed. More... | |
|
private |
Disallow default bitwise copy construct.
pointFieldReconstructor | ( | const pointMesh & | mesh, |
const PtrList< pointMesh > & | procMeshes, | ||
const PtrList< labelIOList > & | pointProcAddressing, | ||
const PtrList< labelIOList > & | boundaryProcAddressing | ||
) |
Construct from components.
Definition at line 31 of file pointFieldReconstructor.C.
References Foam::abort(), pointMesh::boundary(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::min(), patchi, List::setSize(), List::size(), and PtrList::size().
|
private |
Disallow default bitwise assignment.
|
inline |
Return number of fields reconstructed.
Definition at line 141 of file pointFieldReconstructor.H.
References pointFieldReconstructor::nReconstructed_.
Referenced by main().
tmp<GeometricField<Type, pointPatchField, pointMesh> > reconstructField | ( | const IOobject & | fieldIoObject | ) |
Reconstruct field.
void reconstructFields | ( | const IOobjectList & | objects, |
const HashSet< word > & | selectedFields | ||
) |
Reconstruct and write all fields.
Definition at line 144 of file pointFieldReconstructorReconstructFields.C.
References Foam::endl(), fields, forAllConstIter(), HashTable< nil, word, string::hash >::found(), Foam::Info, IOobjectList::lookupClass(), Foam::name(), HashTable< nil, word, string::hash >::size(), and write().
Referenced by main().
Foam::tmp<Foam::GeometricField<Type, Foam::pointPatchField, Foam::pointMesh> > reconstructField | ( | const IOobject & | fieldIoObject | ) |
Definition at line 32 of file pointFieldReconstructorReconstructFields.C.
References pointMesh::boundary(), GeometricField::boundaryField(), pointFieldReconstructor::boundaryProcAddressing_, forAll, internalField(), GeometricField::internalField(), pointFieldReconstructor::mesh_, IOobject::MUST_READ, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, patchi, pointFieldReconstructor::patchPointAddressing_, pointFieldReconstructor::pointProcAddressing_, pointFieldReconstructor::procMeshes_, PtrList::set(), pointMesh::size(), PtrList::size(), and timeName.
|
private |
Reconstructed mesh reference.
Definition at line 56 of file pointFieldReconstructor.H.
Referenced by pointFieldReconstructor::reconstructField().
List of processor meshes.
Definition at line 59 of file pointFieldReconstructor.H.
Referenced by pointFieldReconstructor::reconstructField().
|
private |
List of processor point addressing lists.
Definition at line 62 of file pointFieldReconstructor.H.
Referenced by pointFieldReconstructor::reconstructField().
|
private |
List of processor boundary addressing lists.
Definition at line 65 of file pointFieldReconstructor.H.
Referenced by pointFieldReconstructor::reconstructField().
|
private |
Point patch addressing.
Definition at line 68 of file pointFieldReconstructor.H.
Referenced by pointFieldReconstructor::reconstructField().
|
private |
Number of fields reconstructed.
Definition at line 71 of file pointFieldReconstructor.H.
Referenced by pointFieldReconstructor::nReconstructed().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.