Finite volume reconstructor for volume and surface fields. More...
Public Member Functions | |
parFvFieldDistributor (const parFvFieldDistributor &)=delete | |
No copy construct. More... | |
void | operator= (const parFvFieldDistributor &)=delete |
No copy assignment. More... | |
parFvFieldDistributor (const fvMesh &srcMesh, fvMesh &tgtMesh, const mapDistributePolyMesh &distMap, const bool isWriteProc) | |
Construct from components. More... | |
parFvFieldDistributor (const fvMesh &srcMesh, fvMesh &tgtMesh, const mapDistributePolyMesh &distMap, refPtr< fileOperation > &writeHandler) | |
Construct from components. More... | |
void | reconstructPoints () |
Helper: reconstruct and write mesh points. More... | |
void | distributeAllFields (const IOobjectList &objects, const wordRes &selectedFields) const |
Distribute all fields for known field types. More... | |
template<class Type > | |
tmp< DimensionedField< Type, volMesh > > | distributeField (const DimensionedField< Type, volMesh > &) const |
Redistribute volume internal field. More... | |
template<class Type > | |
tmp< DimensionedField< Type, volMesh > > | distributeInternalField (const IOobject &fieldObject) const |
Read and distribute volume internal field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | distributeField (const GeometricField< Type, fvPatchField, volMesh > &fld) const |
Redistribute volume field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | distributeVolumeField (const IOobject &fieldObject) const |
Read and distribute volume field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | distributeField (const GeometricField< Type, fvsPatchField, surfaceMesh > &) const |
Redistribute surface field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | distributeSurfaceField (const IOobject &fieldObject) const |
Read and distribute surface field. More... | |
template<class Type > | |
label | distributeInternalFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const |
Read, redistribute and write all/selected volume internal fields. More... | |
template<class Type > | |
label | distributeVolumeFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const |
Read, redistribute and write all/selected volume fields. More... | |
template<class Type > | |
label | distributeSurfaceFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const |
Read, reconstruct and write all/selected surface fields. More... | |
Static Public Attributes | |
static int | verbose_ |
Output verbosity when writing. More... | |
Finite volume reconstructor for volume and surface fields.
Runs in parallel. Reconstructs/redistributes from procMesh to baseMesh. baseMesh is non-zero cells on processor0 only.
Definition at line 60 of file parFvFieldDistributor.H.
|
delete |
No copy construct.
parFvFieldDistributor | ( | const fvMesh & | srcMesh, |
fvMesh & | tgtMesh, | ||
const mapDistributePolyMesh & | distMap, | ||
const bool | isWriteProc | ||
) |
Construct from components.
srcMesh | The source mesh (eg, processor) |
tgtMesh | The target mesh (eg, reconstructed) |
distMap | The distribution map |
isWriteProc | Tagged for output writing (on this proc) |
parFvFieldDistributor | ( | const fvMesh & | srcMesh, |
fvMesh & | tgtMesh, | ||
const mapDistributePolyMesh & | distMap, | ||
refPtr< fileOperation > & | writeHandler | ||
) |
Construct from components.
srcMesh | The source mesh (eg, processor) |
tgtMesh | The target mesh (eg, reconstructed) |
distMap | The distribution map |
writeHandler | Handler for output writing (on this proc) |
|
delete |
No copy assignment.
void reconstructPoints | ( | ) |
Helper: reconstruct and write mesh points.
(note: should be moved to something like processorMeshes class)
void distributeAllFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) | const |
Distribute all fields for known field types.
tmp<DimensionedField<Type, volMesh> > distributeField | ( | const DimensionedField< Type, volMesh > & | ) | const |
Redistribute volume internal field.
tmp<DimensionedField<Type, volMesh> > distributeInternalField | ( | const IOobject & | fieldObject | ) | const |
Read and distribute volume internal field.
tmp<GeometricField<Type, fvPatchField, volMesh> > distributeField | ( | const GeometricField< Type, fvPatchField, volMesh > & | fld | ) | const |
Redistribute volume field.
tmp<GeometricField<Type, fvPatchField, volMesh> > distributeVolumeField | ( | const IOobject & | fieldObject | ) | const |
Read and distribute volume field.
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > distributeField | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | ) | const |
Redistribute surface field.
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > distributeSurfaceField | ( | const IOobject & | fieldObject | ) | const |
Read and distribute surface field.
label distributeInternalFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) | const |
Read, redistribute and write all/selected volume internal fields.
label distributeVolumeFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) | const |
Read, redistribute and write all/selected volume fields.
label distributeSurfaceFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) | const |
Read, reconstruct and write all/selected surface fields.
|
static |
Output verbosity when writing.
Definition at line 113 of file parFvFieldDistributor.H.