84 const bool loadBalancing
151 virtual void reset();
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Mesh & mesh() const
Return mesh.
const word & name() const
Return name.
Class to maintain a field of the CPU load per cell.
virtual void cpuTimeIncrement(const label celli)
Cache the CPU time increment for celli.
virtual ~cpuLoad()
Destructor.
cpuLoad(const fvMesh &mesh, const word &name)
Construct from mesh, name and switch.
void operator=(const cpuLoad &)=delete
Disallow default bitwise assignment.
virtual void reset()
Reset the CPU time.
Starts timing CPU usage and return elapsed time from start.
Mesh data needed to do the Finite Volume discretisation.
virtual ~optionalCpuLoad()
Destructor.
virtual void reset()
Dummy reset function.
optionalCpuLoad()
Construct from mesh, name and switch.
void operator=(const optionalCpuLoad &)=delete
Disallow default bitwise assignment.
virtual void cpuTimeIncrement(const label celli)
Dummy cpuTimeIncrement function.
static optionalCpuLoad & New(const fvMesh &mesh, const word &name, const bool loadBalancing)
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.