optionalCpuLoad Class Reference
Inheritance diagram for optionalCpuLoad:

Public Member Functions

 optionalCpuLoad ()
 Construct from mesh, name and switch. More...
 
 optionalCpuLoad (const optionalCpuLoad &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~optionalCpuLoad ()
 Destructor. More...
 
virtual void resetCpuTime ()
 Reset the CPU time (dummy) More...
 
virtual void cpuTimeIncrement (const label celli)
 Cache the CPU time increment for celli (dummy) More...
 
virtual void reset ()
 Reset the CPU load field (dummy) More...
 
void operator= (const optionalCpuLoad &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static optionalCpuLoadNew (const word &name, const polyMesh &mesh, const bool loadBalancing)
 Construct from polyMesh if loadBalancing is true. More...
 

Detailed Description

Definition at line 59 of file cpuLoad.H.

Constructor & Destructor Documentation

◆ optionalCpuLoad() [1/2]

optionalCpuLoad ( )
inline

Construct from mesh, name and switch.

Definition at line 73 of file cpuLoad.H.

◆ optionalCpuLoad() [2/2]

optionalCpuLoad ( const optionalCpuLoad )
delete

Disallow default bitwise copy construction.

◆ ~optionalCpuLoad()

virtual ~optionalCpuLoad ( )
inlinevirtual

Destructor.

Definition at line 94 of file cpuLoad.H.

Member Function Documentation

◆ New()

Foam::optionalCpuLoad & New ( const word name,
const polyMesh mesh,
const bool  loadBalancing 
)
static

Construct from polyMesh if loadBalancing is true.

otherwise return the dummy optionalCpuLoad

Definition at line 62 of file cpuLoad.C.

References Foam::name(), and Foam::New().

Referenced by Cloud< ParticleType >::move(), and chemistryModel< ThermoType >::solve().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetCpuTime()

virtual void resetCpuTime ( )
inlinevirtual

Reset the CPU time (dummy)

Reimplemented in cpuLoad.

Definition at line 101 of file cpuLoad.H.

Referenced by Cloud< ParticleType >::move(), and chemistryModel< ThermoType >::solve().

Here is the caller graph for this function:

◆ cpuTimeIncrement()

virtual void cpuTimeIncrement ( const label  celli)
inlinevirtual

Cache the CPU time increment for celli (dummy)

Reimplemented in cpuLoad.

Definition at line 105 of file cpuLoad.H.

Referenced by chemistryModel< ThermoType >::solve().

Here is the caller graph for this function:

◆ reset()

virtual void reset ( )
inlinevirtual

Reset the CPU load field (dummy)

Reimplemented in cpuLoad.

Definition at line 109 of file cpuLoad.H.

◆ operator=()

void operator= ( const optionalCpuLoad )
delete

Disallow default bitwise assignment.


The documentation for this class was generated from the following files: