Point field reconstructor. More...
Classes | |
class | pointPatchFieldReconstructor |
Mapper for sizing only - does not do any actual mapping. More... | |
Public Member Functions | |
pointFieldReconstructor (const pointMesh &mesh, const PtrList< pointMesh > &procMeshes, const PtrList< labelIOList > &pointProcAddressing, const PtrList< labelIOList > &boundaryProcAddressing) | |
Construct from components. More... | |
pointFieldReconstructor (const pointFieldReconstructor &)=delete | |
Disallow default bitwise copy construction. 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... | |
void | operator= (const pointFieldReconstructor &)=delete |
Disallow default bitwise assignment. More... | |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > | reconstructField (const IOobject &fieldIoObject) |
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< T >::setSize(), UPtrList< T >::size(), and List< T >::size().
Referenced by pointFieldReconstructor::pointPatchFieldReconstructor::pointPatchFieldReconstructor().
|
delete |
Disallow default bitwise copy construction.
|
inline |
Return number of fields reconstructed.
Definition at line 113 of file pointFieldReconstructor.H.
References objects, pointFieldReconstructor::operator=(), pointFieldReconstructor::reconstructField(), and pointFieldReconstructor::reconstructFields().
tmp<GeometricField<Type, pointPatchField, pointMesh> > reconstructField | ( | const IOobject & | fieldIoObject | ) |
Reconstruct field.
Referenced by pointFieldReconstructor::nReconstructed().
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, Key, Hash >::found(), Foam::Info, IOobjectList::lookupClass(), Foam::name(), HashTable< nil, Key, Hash >::size(), HashTable< T, Key, Hash >::size(), and Ostream::write().
Referenced by pointFieldReconstructor::nReconstructed(), and pointFieldReconstructor::reconstructField().
|
delete |
Disallow default bitwise assignment.
Referenced by pointFieldReconstructor::nReconstructed().
Foam::tmp<Foam::GeometricField<Type, Foam::pointPatchField, Foam::pointMesh> > reconstructField | ( | const IOobject & | fieldIoObject | ) |
Definition at line 32 of file pointFieldReconstructorReconstructFields.C.
References pointMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, IOobject::MUST_READ, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, DimensionedField< Type, GeoMesh >::null(), patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveField(), pointFieldReconstructor::reconstructFields(), pointMesh::size(), UPtrList< T >::size(), IOobject::time(), and Time::timeName().