Point field reconstructor. More...
Classes | |
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 noexcept |
Return number of fields reconstructed. More... | |
template<class Type > | |
tmp< GeometricField< Type, pointPatchField, pointMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< GeometricField< Type, pointPatchField, pointMesh >> &) const |
Reconstruct field. More... | |
template<class Type > | |
tmp< GeometricField< Type, pointPatchField, pointMesh > > | reconstructPointField (const IOobject &fieldObject) |
Read and reconstruct point field. More... | |
template<class Type > | |
label | reconstructPointFields (const UPtrList< const IOobject > &fieldObjects) |
Reconstruct and write specified point fields. More... | |
template<class Type > | |
label | reconstructPointFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Reconstruct and write all or selected point fields. More... | |
label | reconstructAllFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Reconstruct and write all known field types. More... | |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< GeometricField< Type, pointPatchField, pointMesh >> &procFields) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > | reconstructPointField (const IOobject &fieldObject) |
template<class Type > | |
Foam::label | reconstructPointFields (const UPtrList< const IOobject > &fieldObjects) |
template<class Type > | |
Foam::label | reconstructPointFields (const IOobjectList &objects, const wordRes &selectedFields) |
Static Public Attributes | |
static int | verbose_ = 1 |
Output verbosity when writing. More... | |
Point field reconstructor.
Definition at line 51 of file pointFieldReconstructor.H.
pointFieldReconstructor | ( | const pointMesh & | mesh, |
const PtrList< pointMesh > & | procMeshes, | ||
const PtrList< labelIOList > & | pointProcAddressing, | ||
const PtrList< labelIOList > & | boundaryProcAddressing | ||
) |
Construct from components.
Definition at line 33 of file pointFieldReconstructor.C.
References Foam::abort(), pointMesh::boundary(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::min(), List< T >::setSize(), UList< T >::size(), and UPtrList< T >::size().
|
inlinenoexcept |
Return number of fields reconstructed.
Definition at line 173 of file pointFieldReconstructor.H.
tmp<GeometricField<Type, pointPatchField, pointMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< GeometricField< Type, pointPatchField, pointMesh >> & | |||
) | const |
Reconstruct field.
tmp<GeometricField<Type, pointPatchField, pointMesh> > reconstructPointField | ( | const IOobject & | fieldObject | ) |
Read and reconstruct point field.
Reconstruct and write specified point fields.
label reconstructPointFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Reconstruct and write all or selected point fields.
An empty wordRes corresponds to select ALL.
Foam::label reconstructAllFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Reconstruct and write all known field types.
Definition at line 101 of file pointFieldReconstructor.C.
Foam::tmp<Foam::GeometricField<Type, Foam::pointPatchField, Foam::pointMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< GeometricField< Type, pointPatchField, pointMesh >> & | procFields | ||
) | const |
Definition at line 29 of file pointFieldReconstructorTemplates.C.
References forAll, IOobject::name(), and Foam::New().
Foam::tmp<Foam::GeometricField<Type, Foam::pointPatchField, Foam::pointMesh> > reconstructPointField | ( | const IOobject & | fieldObject | ) |
Definition at line 116 of file pointFieldReconstructorTemplates.C.
References forAll, and IOobject::name().
Definition at line 162 of file pointFieldReconstructorTemplates.C.
References Foam::endl(), Foam::Info, io(), Foam::nl, and Ostream::write().
Foam::label reconstructPointFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) |
Definition at line 197 of file pointFieldReconstructorTemplates.C.
References UList< T >::empty(), and IOobjectList::sorted().
|
static |
Output verbosity when writing.
Definition at line 151 of file pointFieldReconstructor.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.