66 const bool loadBalancing
80 return optionalCpuLoad::optionalCpuLoad_;
89 cpuTime_.cpuTimeIncrement();
95 operator[](celli) += cpuTime_.cpuTimeIncrement();
114 cellMap(*
this, *
this);
Templated abstract base-class for demand-driven mesh objects used to automate their allocation to the...
void operator=(const Field< scalar > &)
This object provides mapping and fill-in information for cell data between the two meshes after the t...
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.
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.
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...
const polyMesh & mesh() const
Return polyMesh.
Class containing mesh-to-mesh mapping information.
const polyMesh & mesh() const
Return polyMesh.
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.
defineTypeNameAndDebug(combustionModel, 0)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
points setSize(newPointi)