Finite Area area and edge fields reconstruction. More...
Classes | |
class | faPatchFieldReconstructor |
Public Member Functions | |
faFieldReconstructor (faMesh &mesh, const PtrList< faMesh > &procMeshes, const PtrList< labelIOList > &edgeProcAddressing, const PtrList< labelIOList > &faceProcAddressing, const PtrList< labelIOList > &boundaryProcAddressing) | |
Construct from components. More... | |
label | nReconstructed () const noexcept |
Return number of fields reconstructed. More... | |
template<class Type > | |
tmp< GeometricField< Type, faPatchField, areaMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< GeometricField< Type, faPatchField, areaMesh >> &) const |
Reconstruct area field. More... | |
template<class Type > | |
tmp< GeometricField< Type, faPatchField, areaMesh > > | reconstructAreaField (const IOobject &fieldObject) |
Read and reconstruct area field. More... | |
template<class Type > | |
tmp< GeometricField< Type, faePatchField, edgeMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< GeometricField< Type, faePatchField, edgeMesh >> &) const |
Reconstruct edge field. More... | |
template<class Type > | |
tmp< GeometricField< Type, faePatchField, edgeMesh > > | reconstructEdgeField (const IOobject &fieldObject) |
Read and reconstruct edge field. More... | |
template<class Type > | |
label | reconstructAreaFields (const UPtrList< const IOobject > &fieldObjects) |
Read, reconstruct and write specified area fields. More... | |
template<class Type > | |
label | reconstructEdgeFields (const UPtrList< const IOobject > &fieldObjects) |
Read, reconstruct and write specified edge fields. More... | |
template<class Type > | |
label | reconstructAreaFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Read, reconstruct and write all/selected area fields. More... | |
template<class Type > | |
label | reconstructEdgeFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Read, reconstruct and write all/selected edge fields. More... | |
label | reconstructAllFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Reconstruct all supported area/edge field types. More... | |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::faPatchField, Foam::areaMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< GeometricField< Type, faPatchField, areaMesh >> &procFields) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::faePatchField, Foam::edgeMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< GeometricField< Type, faePatchField, edgeMesh >> &procFields) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::faPatchField, Foam::areaMesh > > | reconstructAreaField (const IOobject &fieldObject) |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::faePatchField, Foam::edgeMesh > > | reconstructEdgeField (const IOobject &fieldObject) |
template<class Type > | |
Foam::label | reconstructAreaFields (const UPtrList< const IOobject > &fieldObjects) |
template<class Type > | |
Foam::label | reconstructEdgeFields (const UPtrList< const IOobject > &fieldObjects) |
template<class Type > | |
Foam::label | reconstructAreaFields (const IOobjectList &objects, const wordRes &selectedFields) |
template<class Type > | |
Foam::label | reconstructEdgeFields (const IOobjectList &objects, const wordRes &selectedFields) |
Static Public Attributes | |
static int | verbose_ = 1 |
Output verbosity when writing. More... | |
Finite Area area and edge fields reconstruction.
Author Zeljko Tukovic, FSB Zagreb Hrvoje Jasak, Wikki Ltd.
Definition at line 56 of file faFieldReconstructor.H.
faFieldReconstructor | ( | faMesh & | mesh, |
const PtrList< faMesh > & | procMeshes, | ||
const PtrList< labelIOList > & | edgeProcAddressing, | ||
const PtrList< labelIOList > & | faceProcAddressing, | ||
const PtrList< labelIOList > & | boundaryProcAddressing | ||
) |
Construct from components.
Definition at line 34 of file faFieldReconstructor.C.
|
inlinenoexcept |
Return number of fields reconstructed.
Definition at line 190 of file faFieldReconstructor.H.
tmp<GeometricField<Type, faPatchField, areaMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< GeometricField< Type, faPatchField, areaMesh >> & | |||
) | const |
Reconstruct area field.
tmp<GeometricField<Type, faPatchField, areaMesh> > reconstructAreaField | ( | const IOobject & | fieldObject | ) |
Read and reconstruct area field.
tmp<GeometricField<Type, faePatchField, edgeMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< GeometricField< Type, faePatchField, edgeMesh >> & | |||
) | const |
Reconstruct edge field.
tmp<GeometricField<Type, faePatchField, edgeMesh> > reconstructEdgeField | ( | const IOobject & | fieldObject | ) |
Read and reconstruct edge field.
Read, reconstruct and write specified area fields.
Read, reconstruct and write specified edge fields.
label reconstructAreaFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Read, reconstruct and write all/selected area fields.
An empty wordRes corresponds to select ALL.
label reconstructEdgeFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Read, reconstruct and write all/selected edge fields.
An empty wordRes corresponds to select ALL.
Foam::label reconstructAllFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Reconstruct all supported area/edge field types.
Definition at line 54 of file faFieldReconstructor.C.
References doLocalCode.
Foam::tmp<Foam::GeometricField<Type, Foam::faPatchField, Foam::areaMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< GeometricField< Type, faPatchField, areaMesh >> & | procFields | ||
) | const |
Definition at line 34 of file faFieldReconstructorTemplates.C.
References boundary, GeometricField< Type, PatchField, GeoMesh >::boundaryField(), cp, Foam::fieldTypes::emptyType, forAll, GeometricField< Type, PatchField, GeoMesh >::internalField(), IOobject::name(), Foam::New(), and Field< Type >::rmap().
Foam::tmp<Foam::GeometricField<Type, Foam::faePatchField, Foam::edgeMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< GeometricField< Type, faePatchField, edgeMesh >> & | procFields | ||
) | const |
Definition at line 265 of file faFieldReconstructorTemplates.C.
References boundary, GeometricField< Type, PatchField, GeoMesh >::boundaryField(), cp, Foam::fieldTypes::emptyType, forAll, GeometricField< Type, PatchField, GeoMesh >::internalField(), IOobject::name(), and Foam::New().
Foam::tmp<Foam::GeometricField<Type, Foam::faPatchField, Foam::areaMesh> > reconstructAreaField | ( | const IOobject & | fieldObject | ) |
Definition at line 515 of file faFieldReconstructorTemplates.C.
References forAll, and IOobject::name().
Foam::tmp<Foam::GeometricField<Type, Foam::faePatchField, Foam::edgeMesh> > reconstructEdgeField | ( | const IOobject & | fieldObject | ) |
Definition at line 563 of file faFieldReconstructorTemplates.C.
References forAll, and IOobject::name().
Definition at line 610 of file faFieldReconstructorTemplates.C.
References Foam::endl(), Foam::Info, io(), Foam::nl, and Ostream::write().
Definition at line 645 of file faFieldReconstructorTemplates.C.
References Foam::endl(), Foam::Info, io(), Foam::nl, and Ostream::write().
Foam::label reconstructAreaFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) |
Definition at line 680 of file faFieldReconstructorTemplates.C.
References IOobjectList::csorted(), and UList< T >::empty().
Foam::label reconstructEdgeFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) |
Definition at line 700 of file faFieldReconstructorTemplates.C.
References IOobjectList::csorted(), and UList< T >::empty().
|
static |
Output verbosity when writing.
Definition at line 167 of file faFieldReconstructor.H.