FleCSI runtime state. More...
Public Member Functions | |
template<class C , class... AA> | |
int | control (AA &&... aa) |
Execute a control model. | |
template<class C , class... AA> | |
int | control (AA &&... aa) const |
Color | process () const |
Return the rank of this process. | |
Color | processes () const |
Return the number of processes. | |
runtime (const run::config &c={}) | |
Construct from a configuration. | |
runtime (runtime &&)=delete | |
Immovable. | |
FleCSI runtime state.
Only one can exist at a time.
Appears directly in flecsi
.
|
explicit |
Construct from a configuration.
As a debugging aid, if the FLECSI_SLEEP
environment variable is set to an integer, wait for that number of seconds.
Color process | ( | ) | const |
Return the rank of this process.
Color processes | ( | ) | const |
Return the number of processes.
int control | ( | AA &&... | aa | ) |
Execute a control model.
C | control model |
aa | arguments for C::invoke |
int control | ( | AA &&... | aa | ) | const |
const
runtime
.