FleCSI User API Version: 2.4.0
 
Loading...
Searching...
No Matches
runtime Struct Reference

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.
 

Detailed Description

FleCSI runtime state.

Only one can exist at a time.

Appears directly in flecsi.

Constructor & Destructor Documentation

◆ runtime() [1/2]

runtime ( const run::config & c = {})
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.

◆ runtime() [2/2]

runtime ( runtime && )
delete

Immovable.

Member Function Documentation

◆ process()

Color process ( ) const

Return the rank of this process.

◆ processes()

Color processes ( ) const

Return the number of processes.

◆ control() [1/2]

template<class C , class... AA>
int control ( AA &&... aa)

Execute a control model.

Template Parameters
Ccontrol model
Parameters
aaarguments for C::invoke
Returns
resulting exit code

◆ control() [2/2]

template<class C , class... AA>
int control ( AA &&... aa) const
Deprecated
Use a non-const runtime.