Data Structures | Public Member Functions | Private Member Functions | Private Attributes
pointFieldReconstructor Class Reference

Point field reconstructor. More...

Collaboration diagram for pointFieldReconstructor:
Collaboration graph
[legend]

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

Detailed Description

Point field reconstructor.

Source files

Definition at line 51 of file pointFieldReconstructor.H.

Constructor & Destructor Documentation

◆ pointFieldReconstructor() [1/2]

Disallow default bitwise copy construct.

◆ pointFieldReconstructor() [2/2]

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

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

void operator= ( const pointFieldReconstructor )
private

Disallow default bitwise assignment.

◆ nReconstructed()

label nReconstructed ( ) const
inline

Return number of fields reconstructed.

Definition at line 141 of file pointFieldReconstructor.H.

References pointFieldReconstructor::nReconstructed_.

Referenced by main().

Here is the caller graph for this function:

◆ reconstructField() [1/2]

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

Reconstruct field.

◆ reconstructFields()

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reconstructField() [2/2]

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

Field Documentation

◆ mesh_

const pointMesh& mesh_
private

Reconstructed mesh reference.

Definition at line 56 of file pointFieldReconstructor.H.

Referenced by pointFieldReconstructor::reconstructField().

◆ procMeshes_

const PtrList<pointMesh>& procMeshes_
private

List of processor meshes.

Definition at line 59 of file pointFieldReconstructor.H.

Referenced by pointFieldReconstructor::reconstructField().

◆ pointProcAddressing_

const PtrList<labelIOList>& pointProcAddressing_
private

List of processor point addressing lists.

Definition at line 62 of file pointFieldReconstructor.H.

Referenced by pointFieldReconstructor::reconstructField().

◆ boundaryProcAddressing_

const PtrList<labelIOList>& boundaryProcAddressing_
private

List of processor boundary addressing lists.

Definition at line 65 of file pointFieldReconstructor.H.

Referenced by pointFieldReconstructor::reconstructField().

◆ patchPointAddressing_

labelListListList patchPointAddressing_
private

Point patch addressing.

Definition at line 68 of file pointFieldReconstructor.H.

Referenced by pointFieldReconstructor::reconstructField().

◆ nReconstructed_

label nReconstructed_
private

Number of fields reconstructed.

Definition at line 71 of file pointFieldReconstructor.H.

Referenced by pointFieldReconstructor::nReconstructed().


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