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 32 of file processorRunTimes.C.

References Time::caseName(), Time::controlDictName, forAll, Foam::name(), and Time::rootPath().

Here is the call graph for this function:

◆ ~processorRunTimes()

Destructor.

Definition at line 66 of file processorRunTimes.C.

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.

◆ nProcs()

label nProcs ( ) const
inline

Return the number of processors.

Definition at line 86 of file processorRunTimes.H.

References UPtrList< T >::size().

Referenced by domainDecomposition::nProcs().

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 72 of file processorRunTimes.C.

References forAll.

◆ selectComplete()

Foam::instantList selectComplete ( const argList args)

Select the time.

Definition at line 87 of file processorRunTimes.C.

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

Here is the call graph for this function:

◆ selectProc()

Foam::instantList selectProc ( const argList args)

Select the time.

Definition at line 101 of file processorRunTimes.C.

References args, timeSelector::select0(), and timeDirs.

Here is the call graph for this function:

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