Public Types | |
| enum class | nProcsFrom { decomposeParDict , fileHandler } |
| Enumeration for how the number of processors is determined. More... | |
Public Member Functions | |
| processorRunTimes (const word &name, const argList &args, const bool enableFunctionObjects=true, const nProcsFrom=nProcsFrom::decomposeParDict) | |
| Construct from name and arguments. More... | |
| processorRunTimes (const word &name, const fileName &rootPath, const fileName &caseName, const bool enableFunctionObjects=true, const nProcsFrom=nProcsFrom::decomposeParDict) | |
| Construct from name and directories. More... | |
| ~processorRunTimes () | |
| Destructor. More... | |
| const Time & | completeTime () 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... | |
| const Time & | proc0Time () const |
| Access the processor0 run time. 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... | |
Definition at line 48 of file processorRunTimes.H.
|
strong |
Enumeration for how the number of processors is determined.
| Enumerator | |
|---|---|
| decomposeParDict | |
| fileHandler | |
Definition at line 55 of file processorRunTimes.H.
| processorRunTimes | ( | const word & | name, |
| const argList & | args, | ||
| const bool | enableFunctionObjects = true, |
||
| const nProcsFrom | npf = nProcsFrom::decomposeParDict |
||
| ) |
Construct from name and arguments.
Definition at line 101 of file processorRunTimes.C.
| processorRunTimes | ( | const word & | name, |
| const fileName & | rootPath, | ||
| const fileName & | caseName, | ||
| const bool | enableFunctionObjects = true, |
||
| const nProcsFrom | npf = nProcsFrom::decomposeParDict |
||
| ) |
Construct from name and directories.
Definition at line 115 of file processorRunTimes.C.
| ~processorRunTimes | ( | ) |
Destructor.
Definition at line 132 of file processorRunTimes.C.
|
inline |
Access the complete run time.
Definition at line 131 of file processorRunTimes.H.
Access the processor run times.
Definition at line 137 of file processorRunTimes.H.
|
inline |
Return the number of processors.
Definition at line 143 of file processorRunTimes.H.
References UPtrList< T >::size().
Referenced by domainDecomposition::nProcs(), and multiDomainDecomposition::nProcs().


|
inline |
Access the processor0 run time.
Definition at line 149 of file processorRunTimes.H.
References autoPtr< T >::valid().

Set the time.
Definition at line 138 of file processorRunTimes.C.
| Foam::instantList selectComplete | ( | const argList & | args | ) |
Select the time.
Definition at line 155 of file processorRunTimes.C.
References args, timeSelector::selectIfPresent(), and timeDirs.

| Foam::instantList selectProc | ( | const argList & | args | ) |
Select the time.
Definition at line 171 of file processorRunTimes.C.
References args, timeSelector::select0(), and timeDirs.
