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

Detailed Description

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(), List< T >::setSize(), UList< T >::size(), and UPtrList< T >::size().

Here is the call graph for this function:

Member Function Documentation

◆ nReconstructed()

label nReconstructed ( ) const
inlinenoexcept

Return number of fields reconstructed.

Definition at line 173 of file pointFieldReconstructor.H.

◆ reconstructField() [1/2]

tmp<GeometricField<Type, pointPatchField, pointMesh> > reconstructField ( const IOobject fieldObject,
const PtrList< GeometricField< Type, pointPatchField, pointMesh >> &   
) const

Reconstruct field.

◆ reconstructPointField() [1/2]

tmp<GeometricField<Type, pointPatchField, pointMesh> > reconstructPointField ( const IOobject fieldObject)

Read and reconstruct point field.

◆ reconstructPointFields() [1/4]

label reconstructPointFields ( const UPtrList< const IOobject > &  fieldObjects)

Reconstruct and write specified point fields.

◆ reconstructPointFields() [2/4]

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

Reconstruct and write all or selected point fields.

An empty wordRes corresponds to select ALL.

◆ reconstructAllFields()

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.

◆ reconstructField() [2/2]

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

Here is the call graph for this function:

◆ reconstructPointField() [2/2]

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

Here is the call graph for this function:

◆ reconstructPointFields() [3/4]

Foam::label reconstructPointFields ( const UPtrList< const IOobject > &  fieldObjects)

Definition at line 162 of file pointFieldReconstructorTemplates.C.

References Foam::endl(), Foam::Info, io(), Foam::nl, and Ostream::write().

Here is the call graph for this function:

◆ reconstructPointFields() [4/4]

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

Definition at line 197 of file pointFieldReconstructorTemplates.C.

References IOobjectList::csorted(), and UList< T >::empty().

Here is the call graph for this function:

Member Data Documentation

◆ verbose_

int verbose_ = 1
static

Output verbosity when writing.

Definition at line 151 of file pointFieldReconstructor.H.


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