54 #ifndef fvMeshDistributorsDistributor_H
55 #define fvMeshDistributorsDistributor_H
63 class decompositionMethod;
65 namespace fvMeshDistributors
140 virtual bool write(
const bool write =
true)
const;
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for statistical distributions.
Abstract base class for fvMesh movers.
fvMesh & mesh()
Return the fvMesh.
Dynamic mesh redistribution using the distributor specified in decomposeParDict.
scalar maxImbalance_
Maximum imbalance between the ideal number of cells per processor.
void readDict()
Read the projection parameters from dictionary.
virtual ~distributor()
Destructor.
void operator=(const distributor &)=delete
Disallow default bitwise assignment.
void distribute(const labelList &distribution)
Distribute the mesh and mesh data.
TypeName("distributor")
Runtime type information.
virtual void topoChange(const polyTopoChangeMap &)
Update corresponding to the given map.
autoPtr< decompositionMethod > distributor_
Cache the decomposer/distributor.
label redistributionInterval_
Time-step interval between redistribution calls.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual bool write(const bool write=true) const
Write using given format, version and compression.
virtual bool update()
Distribute the.
distributor(fvMesh &mesh)
Construct from fvMesh.
label timeIndex_
The time index used for updating.
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.