84 const bool loadBalancing
151 virtual void reset();
optionalCpuLoad()
Construct from mesh, name and switch.
virtual void cpuTimeIncrement(const label celli)
Dummy cpuTimeIncrement function.
virtual ~optionalCpuLoad()
Destructor.
A class for handling words, derived from string.
Class to maintain a field of the CPU load per cell.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
word name(const complex &)
Return a string representation of a complex.
static optionalCpuLoad & New(const fvMesh &mesh, const word &name, const bool loadBalancing)
Mesh data needed to do the Finite Volume discretisation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void reset()
Dummy reset function.
void operator=(const optionalCpuLoad &)=delete
Disallow default bitwise assignment.
Starts timing CPU usage and return elapsed time from start.