90 const bool loadBalancing
168 virtual void reset();
Templated abstract base-class for demand-driven mesh objects used to automate their allocation to the...
const polyMesh & mesh() const
void map(const UList< scalar > &mapF, const labelUList &mapAddressing)
1 to 1 map from the given field
const word & name() const
Return name.
Class to maintain a field of the CPU load per cell.
virtual bool movePoints()
Update for mesh motion.
virtual void resetCpuTime()
Reset the CPU time.
cpuLoad(const word &name, const polyMesh &mesh)
Construct from mesh, name and switch.
virtual void cpuTimeIncrement(const label celli)
Cache the CPU time increment for celli.
virtual ~cpuLoad()
Destructor.
virtual void mapMesh(const polyMeshMap &map)
Update from another mesh using the given map.
void operator=(const cpuLoad &)=delete
Disallow default bitwise assignment.
virtual void distribute(const polyDistributionMap &map)
Redistribute or update using the given distribution map.
virtual void reset()
Reset the CPU load field.
virtual void topoChange(const polyTopoChangeMap &map)
Update topology using the given map.
Starts timing CPU usage and return elapsed time from start.
virtual void resetCpuTime()
Reset the CPU time (dummy)
virtual ~optionalCpuLoad()
Destructor.
virtual void reset()
Reset the CPU load field (dummy)
optionalCpuLoad()
Construct from mesh, name and switch.
void operator=(const optionalCpuLoad &)=delete
Disallow default bitwise assignment.
virtual void cpuTimeIncrement(const label celli)
Cache the CPU time increment for celli (dummy)
static optionalCpuLoad & New(const word &name, const polyMesh &mesh, const bool loadBalancing)
Construct from polyMesh if loadBalancing is true.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.