54 #ifndef distributor_fvMeshDistributor_H
55 #define distributor_fvMeshDistributor_H
63 class decompositionMethod;
65 namespace fvMeshDistributors
137 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...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
distributor(fvMesh &mesh, const dictionary &dict)
Construct from fvMesh and 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.
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.