Go to the documentation of this file.
39 #ifndef parFvFieldReconstructor_H
40 #define parFvFieldReconstructor_H
50 class mapDistributePolyMesh;
51 class mapDistributeBase;
58 class parFvFieldReconstructor
69 const mapDistributePolyMesh&
distMap_;
98 const fvMesh& procMesh,
99 const mapDistributePolyMesh& distMap,
100 const bool isWriteProc
108 tmp<DimensionedField<Type, volMesh> >
111 const DimensionedField<Type, volMesh>&
116 tmp<DimensionedField<Type, volMesh> >
123 tmp<GeometricField<Type, fvPatchField, volMesh> >
126 const GeometricField<Type, fvPatchField, volMesh>&
fld
131 tmp<GeometricField<Type, fvPatchField, volMesh> >
138 tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
141 const GeometricField<Type, fvsPatchField, surfaceMesh>&
146 tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
154 const IOobjectList& objects,
155 const HashSet<word>& selectedFields
162 const IOobjectList& objects,
163 const HashSet<word>& selectedFields
170 const IOobjectList& objects,
171 const HashSet<word>& selectedFields
187 # include "parFvFieldReconstructorReconstructFields.C"
tmp< DimensionedField< Type, volMesh > > reconstructFvVolumeInternalField(const DimensionedField< Type, volMesh > &) const
Reconstruct volume internal field.
void reconstructPoints()
Helper: reconstruct and write mesh points.
const bool isWriteProc_
Do I need to to write (usually master only)
fvMesh & baseMesh_
Reconstructed mesh reference.
PtrList< mapDistributeBase > patchFaceMaps_
Patch mappers.
const fvMesh & procMesh_
Processor mesh reference.
void reconstructFvVolumeInternalFields(const IOobjectList &objects, const HashSet< word > &selectedFields) const
Read, reconstruct and write all/selected volume internal fields.
void operator=(const parFvFieldReconstructor &)
Disallow default bitwise assignment.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > reconstructFvSurfaceField(const GeometricField< Type, fvsPatchField, surfaceMesh > &) const
Reconstruct surface field.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const mapDistributePolyMesh & distMap_
Distribution map reference.
void reconstructFvSurfaceFields(const IOobjectList &objects, const HashSet< word > &selectedFields) const
Read, reconstruct and write all/selected surface fields.
parFvFieldReconstructor(const parFvFieldReconstructor &)
Disallow default bitwise copy construct.
tmp< GeometricField< Type, fvPatchField, volMesh > > reconstructFvVolumeField(const GeometricField< Type, fvPatchField, volMesh > &fld) const
Reconstruct volume field.
void reconstructFvVolumeFields(const IOobjectList &objects, const HashSet< word > &selectedFields) const
Read, reconstruct and write all/selected volume fields.
void createPatchFaceMaps()
Construct per-patch addressing.