processorRunTimes Class Reference

Public Member Functions

 processorRunTimes (const word &name, const argList &args)
 Construct from directory and arguments. More...
 
 ~processorRunTimes ()
 Destructor. More...
 
const TimecompleteTime () const
 Access the complete run time. More...
 
const PtrList< Time > & procTimes () const
 Access the processor run times. More...
 
label nProcs () const
 Return the number of processors. More...
 
void setTime (const instant &inst, const label newIndex)
 Set the time. More...
 
instantList selectComplete (const argList &args)
 Select the time. More...
 
instantList selectProc (const argList &args)
 Select the time. More...
 

Detailed Description

Source files

Definition at line 48 of file processorRunTimes.H.

Constructor & Destructor Documentation

◆ processorRunTimes()

processorRunTimes ( const word name,
const argList args 
)

Construct from directory and arguments.

Definition at line 33 of file processorRunTimes.C.

References forAll, and Foam::name().

Here is the call graph for this function:

◆ ~processorRunTimes()

Destructor.

Definition at line 66 of file processorRunTimes.C.

References processorRunTimes::setTime().

Here is the call graph for this function:

Member Function Documentation

◆ completeTime()

const Time& completeTime ( ) const
inline

Access the complete run time.

Definition at line 74 of file processorRunTimes.H.

◆ procTimes()

const PtrList<Time>& procTimes ( ) const
inline

Access the processor run times.

Definition at line 80 of file processorRunTimes.H.

Referenced by domainDecomposition::decompose().

Here is the caller graph for this function:

◆ nProcs()

label nProcs ( ) const
inline

Return the number of processors.

Definition at line 86 of file processorRunTimes.H.

References processorRunTimes::selectComplete(), processorRunTimes::selectProc(), processorRunTimes::setTime(), and UPtrList< T >::size().

Referenced by domainDecomposition::nProcs(), and processorRunTimes::selectProc().

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

◆ setTime()

void setTime ( const instant inst,
const label  newIndex 
)

Set the time.

Definition at line 73 of file processorRunTimes.C.

References forAll, and Time::setTime().

Referenced by processorRunTimes::nProcs(), and processorRunTimes::~processorRunTimes().

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

◆ selectComplete()

Foam::instantList selectComplete ( const argList args)

Select the time.

Definition at line 87 of file processorRunTimes.C.

References forAll, timeSelector::selectIfPresent(), and timeDirs.

Referenced by processorRunTimes::nProcs().

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

◆ selectProc()

Foam::instantList selectProc ( const argList args)

Select the time.

Definition at line 101 of file processorRunTimes.C.

References processorRunTimes::nProcs(), timeSelector::select0(), Time::setTime(), and timeDirs.

Referenced by processorRunTimes::nProcs().

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

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