pointFieldReconstructor Class Reference

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)
 

Detailed Description

Point field reconstructor.

Source files

Definition at line 55 of file pointFieldReconstructor.H.

Constructor & Destructor Documentation

◆ pointFieldReconstructor()

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().

Here is the call graph for this function:

Member Function Documentation

◆ nReconstructed()

label nReconstructed ( ) const
inline

Return number of fields reconstructed.

Definition at line 145 of file pointFieldReconstructor.H.

◆ reconstructField() [1/2]

tmp<GeometricField<Type, pointPatchField, pointMesh> > reconstructField ( const IOobject fieldIoObject)

Reconstruct field.

◆ reconstructFields() [1/6]

label reconstructFields ( const IOobjectList objects,
const UList< word > &  fieldNames 
)

Reconstruct and write specified fields.

◆ reconstructFields() [2/6]

label reconstructFields ( const IOobjectList objects,
const wordRes selectedFields = wordRes() 
)

Reconstruct and write all or selected fields.

An empty wordRes corresponds to select ALL.

◆ reconstructFields() [3/6]

label reconstructFields ( const IOobjectList objects,
const wordHashSet selectedFields 
)

Reconstruct and write all or selected fields.

An empty wordHashSet corresponds to select ALL.

Note
this may be removed in the future (2018-11)

◆ reconstructField() [2/2]

◆ reconstructFields() [4/6]

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().

Here is the call graph for this function:

◆ reconstructFields() [5/6]

Foam::label reconstructFields ( const IOobjectList objects,
const wordRes selectedFields 
)

Definition at line 175 of file pointFieldReconstructorFields.C.

References fieldNames(), and IOobjectList::sortedNames().

Here is the call graph for this function:

◆ reconstructFields() [6/6]

Foam::label reconstructFields ( const IOobjectList objects,
const wordHashSet selectedFields 
)

Definition at line 195 of file pointFieldReconstructorFields.C.

References fieldNames(), and IOobjectList::sortedNames().

Here is the call graph for this function:

The documentation for this class was generated from the following files: