37#ifndef Foam_parFaFieldDistributorCache_H
38#define Foam_parFaFieldDistributorCache_H
60 #define declareField(Type) \
61 PtrList<GeometricField<Type, faPatchField, areaMesh>> Type##AreaFields_; \
62 PtrList<GeometricField<Type, faePatchField, edgeMesh>> Type##EdgeFields_;
75 template<
class GeoField>
76 static void redistributeAndWrite
78 const faMeshDistributor& distributor,
80 const bool isWriteProc
103 const Time& baseRunTime,
105 const bool decompose,
112 void redistributeAndWrite
115 const bool isWriteProc
Forwards and collection of common area field types.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the su...
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
A class for handling file names.
Simple container to manage read/write, redistribute finiteArea fields.
void operator=(const parFaFieldDistributorCache &)=delete
No copy assignment.
parFaFieldDistributorCache(const parFaFieldDistributorCache &)=delete
No copy construct.
parFaFieldDistributorCache()=default
Default construct.
void read(const Time &baseRunTime, const fileName &proc0CaseName, const bool decompose, const boolList &areaMeshOnProc, const fileName &areaMeshInstance, faMesh &mesh)
Read distributed fields.
void redistributeAndWrite(const faMeshDistributor &distributor, const bool isWriteProc)
Tensor of scalars, i.e. Tensor<scalar>.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Forwards for edge field types.
#define declareField(Type)
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields