Finite volume reconstructor for volume and surface fields. More...
Public Member Functions | |
| fvFieldReconstructor (const fvMesh &mesh, const PtrList< fvMesh > &procMeshes, const labelListList &faceProcAddressing, const labelListList &cellProcAddressing, const PtrList< surfaceLabelField::Boundary > &faceProcAddressingBf) | |
| Construct from components. More... | |
| fvFieldReconstructor (const fvFieldReconstructor &)=delete | |
| Disallow default bitwise copy construction. More... | |
| template<class Type > | |
| tmp< DimensionedField< Type, volMesh > > | reconstructVolInternalField (const IOobject &fieldIoObject) const |
| Read and reconstruct a volume internal field. More... | |
| template<class Type > | |
| tmp< VolField< Type > > | reconstructVolField (const IOobject &fieldIoObject) const |
| Read and reconstruct a volume field. More... | |
| template<class Type > | |
| tmp< SurfaceField< Type > > | reconstructFvSurfaceField (const IOobject &fieldIoObject) const |
| Read and reconstruct a surface field. More... | |
| template<class Type > | |
| void | reconstructVolInternalFields (const IOobjectList &objects, const HashSet< word > &selectedFields) |
| Read, reconstruct and write all/selected volume internal fields. More... | |
| template<class Type > | |
| void | reconstructVolFields (const IOobjectList &objects, const HashSet< word > &selectedFields) |
| Read, reconstruct and write all/selected volume fields. More... | |
| template<class Type > | |
| void | reconstructFvSurfaceFields (const IOobjectList &objects, const HashSet< word > &selectedFields) |
| Read, reconstruct and write all/selected surface fields. More... | |
| void | operator= (const fvFieldReconstructor &)=delete |
| Disallow default bitwise assignment. More... | |
| template<class Type > | |
| Foam::tmp< Foam::DimensionedField< Type, Foam::volMesh > > | reconstructVolInternalField (const IOobject &fieldIoObject) const |
| template<class Type > | |
| Foam::tmp< Foam::VolField< Type > > | reconstructVolField (const IOobject &fieldIoObject) const |
| template<class Type > | |
| Foam::tmp< Foam::SurfaceField< Type > > | reconstructFvSurfaceField (const IOobject &fieldIoObject) const |
Static Public Member Functions | |
| static bool | reconstructs (const IOobjectList &objects, const HashSet< word > &selectedFields) |
| Return whether anything in the object list gets reconstructed. More... | |
Finite volume reconstructor for volume and surface fields.
Definition at line 52 of file fvFieldReconstructor.H.
| fvFieldReconstructor | ( | const fvMesh & | mesh, |
| const PtrList< fvMesh > & | procMeshes, | ||
| const labelListList & | faceProcAddressing, | ||
| const labelListList & | cellProcAddressing, | ||
| const PtrList< surfaceLabelField::Boundary > & | faceProcAddressingBf | ||
| ) |
Construct from components.
Definition at line 58 of file fvFieldReconstructor.C.
References fvMesh::boundary(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, primitiveMesh::nCells(), primitiveMesh::nFaces(), UPtrList< T >::size(), and List< T >::size().

|
delete |
Disallow default bitwise copy construction.
|
static |
Return whether anything in the object list gets reconstructed.
Definition at line 99 of file fvFieldReconstructor.C.
References DO_FV_FIELDS_TYPE, and Foam::FOR_ALL_FIELD_TYPES().

| tmp<DimensionedField<Type, volMesh> > reconstructVolInternalField | ( | const IOobject & | fieldIoObject | ) | const |
Read and reconstruct a volume internal field.
Read and reconstruct a volume field.
| tmp<SurfaceField<Type> > reconstructFvSurfaceField | ( | const IOobject & | fieldIoObject | ) | const |
Read and reconstruct a surface field.
| void reconstructVolInternalFields | ( | const IOobjectList & | objects, |
| const HashSet< word > & | selectedFields | ||
| ) |
Read, reconstruct and write all/selected volume internal fields.
Definition at line 458 of file fvFieldReconstructorTemplates.C.
References HashTable< T, Key, Hash >::empty(), Foam::endl(), fields, forAllConstIter, HashTable< T, Key, Hash >::found(), Foam::Info, Foam::name(), Foam::nl, objects, and Foam::vtkWriteOps::write().

| void reconstructVolFields | ( | const IOobjectList & | objects, |
| const HashSet< word > & | selectedFields | ||
| ) |
Read, reconstruct and write all/selected volume fields.
Definition at line 491 of file fvFieldReconstructorTemplates.C.
References HashTable< T, Key, Hash >::empty(), Foam::endl(), fields, forAllConstIter, HashTable< T, Key, Hash >::found(), Foam::Info, Foam::name(), Foam::nl, objects, and Foam::vtkWriteOps::write().

| void reconstructFvSurfaceFields | ( | const IOobjectList & | objects, |
| const HashSet< word > & | selectedFields | ||
| ) |
Read, reconstruct and write all/selected surface fields.
Definition at line 525 of file fvFieldReconstructorTemplates.C.
References HashTable< T, Key, Hash >::empty(), Foam::endl(), fields, forAllConstIter, HashTable< T, Key, Hash >::found(), Foam::Info, Foam::name(), Foam::nl, objects, and Foam::vtkWriteOps::write().

|
delete |
Disallow default bitwise assignment.
| Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > reconstructVolInternalField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 87 of file fvFieldReconstructorTemplates.C.
References forAll, IOobject::MUST_READ, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, DimensionedField< Type, GeoMesh, PrimitiveField >::primitiveField(), Field< Type >::rmap(), and PtrList< T >::set().

| Foam::tmp<Foam::VolField<Type> > reconstructVolField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 153 of file fvFieldReconstructorTemplates.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), Foam::stringOps::breakIntoIndentedLines(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, IOobject::MUST_READ, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, GeoMesh, PrimitiveField >::primitiveField(), Field< Type >::rmap(), PtrList< T >::set(), and OStringStream::str().

| Foam::tmp<Foam::SurfaceField<Type> > reconstructFvSurfaceField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 307 of file fvFieldReconstructorTemplates.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), forAll, Foam::isFlux(), IOobject::MUST_READ, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, GeoMesh, PrimitiveField >::primitiveField(), and PtrList< T >::set().
