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 |
Return number of fields reconstructed. More... | |
template<class Type > | |
tmp< GeometricField< Type, pointPatchField, pointMesh > > | reconstructField (const IOobject &fieldIoObject) |
Reconstruct field. More... | |
template<class Type > | |
label | reconstructFields (const IOobjectList &objects, const UList< word > &fieldNames) |
Reconstruct and write specified fields. More... | |
template<class Type > | |
label | reconstructFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Reconstruct and write all or selected fields. More... | |
template<class Type > | |
label | reconstructFields (const IOobjectList &objects, const wordHashSet &selectedFields) |
Reconstruct and write all or selected fields. More... | |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > | reconstructField (const IOobject &fieldIoObject) |
template<class Type > | |
Foam::label | reconstructFields (const IOobjectList &objects, const UList< word > &fieldNames) |
template<class Type > | |
Foam::label | reconstructFields (const IOobjectList &objects, const wordRes &selectedFields) |
template<class Type > | |
Foam::label | reconstructFields (const IOobjectList &objects, const wordHashSet &selectedFields) |
Point field reconstructor.
Definition at line 55 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(), and List< T >::setSize().
|
inline |
Return number of fields reconstructed.
Definition at line 145 of file pointFieldReconstructor.H.
tmp<GeometricField<Type, pointPatchField, pointMesh> > reconstructField | ( | const IOobject & | fieldIoObject | ) |
Reconstruct field.
label reconstructFields | ( | const IOobjectList & | objects, |
const UList< word > & | fieldNames | ||
) |
Reconstruct and write specified fields.
label reconstructFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Reconstruct and write all or selected fields.
An empty wordRes corresponds to select ALL.
label reconstructFields | ( | const IOobjectList & | objects, |
const wordHashSet & | selectedFields | ||
) |
Reconstruct and write all or selected fields.
An empty wordHashSet corresponds to select ALL.
Foam::tmp<Foam::GeometricField<Type, Foam::pointPatchField, Foam::pointMesh> > reconstructField | ( | const IOobject & | fieldIoObject | ) |
Definition at line 35 of file pointFieldReconstructorFields.C.
References pointMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, IOobject::MUST_READ, IOobject::name(), Foam::New(), IOobject::NO_READ, IOobject::NO_WRITE, DimensionedField< Type, GeoMesh >::null(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), pointMesh::size(), pointMesh::time(), and Time::timeName().
Foam::label reconstructFields | ( | const IOobjectList & | objects, |
const UList< word > & | fieldNames | ||
) |
Definition at line 143 of file pointFieldReconstructorFields.C.
References IOobjectList::cfindObject(), Foam::endl(), fieldNames(), Foam::Info, Foam::nl, and Foam::vtk::write().
Foam::label reconstructFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) |
Definition at line 175 of file pointFieldReconstructorFields.C.
References fieldNames(), and IOobjectList::sortedNames().
Foam::label reconstructFields | ( | const IOobjectList & | objects, |
const wordHashSet & | selectedFields | ||
) |
Definition at line 195 of file pointFieldReconstructorFields.C.
References fieldNames(), and IOobjectList::sortedNames().