|
virtual void | initialize (double t0) override |
|
virtual void | syncState () override |
|
virtual void | getState (double *y) override |
|
virtual void | updateState (double *y) override |
|
virtual void | updateSurfaceState (double *y) override |
|
virtual void | getSurfaceInitialConditions (double *y) override |
|
virtual void | updateConnected (bool updatePressure) override |
|
virtual void | eval (double t, double *LHS, double *RHS) override |
|
virtual void | evalWalls (double t) override |
|
virtual void | evalSurfaces (double *LHS, double *RHS, double *sdot) override |
|
virtual std::string | componentName (size_t k) override |
|
virtual size_t | componentIndex (const std::string &nm) const override |
|
virtual size_t | speciesIndex (const std::string &nm) const override |
|
virtual void | setNEq (size_t n) override |
| Set the number of equations represented by this reactor. More...
|
|
virtual double | vdot () const override |
| Get the net rate of volume change (for example, from moving walls) [m^3/s]. More...
|
|
virtual void | setVdot (double v) override |
| Set the net rate of volume change (for example, from moving walls) [m^3/s]. More...
|
|
virtual double | qdot () const override |
| Get the net heat transfer rate (for example, through walls) into the reactor [W]. More...
|
|
virtual void | setQdot (double q) override |
| Set the net heat transfer rate (for example, through walls) into the reactor [W]. More...
|
|
virtual void | restoreThermoState () override |
| Set the state of the thermo object to correspond to the state of the reactor. More...
|
|
virtual void | restoreSurfaceState (size_t n) override |
| Set the state of the thermo object for surface n to correspond to the state of that surface. More...
|
|
void | setDelegate (const std::string &name, const std::function< void()> &func, const std::string &when) |
| Set delegates for member functions with the signature void() . More...
|
|
void | setDelegate (const std::string &name, const std::function< void(bool)> &func, const std::string &when) |
| set delegates for member functions with the signature void(bool) More...
|
|
void | setDelegate (const std::string &name, const std::function< void(double)> &func, const std::string &when) |
| set delegates for member functions with the signature void(double) More...
|
|
void | setDelegate (const std::string &name, const std::function< void(std::array< size_t, 1 >, double *)> &func, const std::string &when) |
| Set delegates for member functions with the signature void(double*) More...
|
|
void | setDelegate (const std::string &name, const std::function< void(std::array< size_t, 1 >, double, double *)> &func, const std::string &when) |
| Set delegates for member functions with the signature void(double, double*) More...
|
|
void | setDelegate (const std::string &name, const std::function< void(std::array< size_t, 2 >, double, double *, double *)> &func, const std::string &when) |
| Set delegates for member functions with the signature void(double, double*, double*) More...
|
|
void | setDelegate (const std::string &name, const std::function< void(std::array< size_t, 3 >, double *, double *, double *)> &func, const std::string &when) |
| Set delegates for member functions with the signature void(double*, double*, double*) More...
|
|
void | setDelegate (const std::string &name, const std::function< int(std::string &, size_t)> &func, const std::string &when) |
| Set delegates for member functions with the signature string(size_t) More...
|
|
void | setDelegate (const std::string &name, const std::function< int(size_t &, const std::string &)> &func, const std::string &when) |
| Set delegates for member functions with the signature size_t(string) More...
|
|
|
std::function< void(double)> | m_initialize |
|
std::function< void()> | m_syncState |
|
std::function< void(std::array< size_t, 1 >, double *)> | m_getState |
|
std::function< void(std::array< size_t, 1 >, double *)> | m_updateState |
|
std::function< void(std::array< size_t, 1 >, double *)> | m_updateSurfaceState |
|
std::function< void(std::array< size_t, 1 >, double *)> | m_getSurfaceInitialConditions |
|
std::function< void(bool)> | m_updateConnected |
|
std::function< void(std::array< size_t, 2 >, double, double *, double *)> | m_eval |
|
std::function< void(double)> | m_evalWalls |
|
std::function< void(std::array< size_t, 3 >, double *, double *, double *)> | m_evalSurfaces |
|
std::function< std::string(size_t)> | m_componentName |
|
std::function< size_t(const std::string &)> | m_componentIndex |
|
std::function< size_t(const std::string &)> | m_speciesIndex |
|
|
void | install (const std::string &name, std::function< void()> &target, const std::function< void()> &func) |
| Install a function with the signature void() as being delegatable. More...
|
|
void | install (const std::string &name, std::function< void(bool)> &target, const std::function< void(bool)> &func) |
| Install a function with the signature void(bool) as being delegatable. More...
|
|
void | install (const std::string &name, std::function< void(double)> &target, const std::function< void(double)> &func) |
| Install a function with the signature void(double) as being delegatable. More...
|
|
void | install (const std::string &name, std::function< void(std::array< size_t, 1 >, double *)> &target, const std::function< void(std::array< size_t, 1 >, double *)> &func) |
| Install a function with the signature void(double*) as being delegatable. More...
|
|
void | install (const std::string &name, std::function< void(std::array< size_t, 1 >, double, double *)> &target, const std::function< void(std::array< size_t, 1 >, double, double *)> &func) |
| Install a function with the signature void(double, double*) as being delegatable. More...
|
|
void | install (const std::string &name, std::function< void(std::array< size_t, 2 >, double, double *, double *)> &target, const std::function< void(std::array< size_t, 2 >, double, double *, double *)> &func) |
| Install a function with the signature void(double, double*, double*) as being delegatable. More...
|
|
void | install (const std::string &name, std::function< void(std::array< size_t, 3 >, double *, double *, double *)> &target, const std::function< void(std::array< size_t, 3 >, double *, double *, double *)> &base) |
| Install a function with the signature void(double*, double*, double*) as being delegatable. More...
|
|
void | install (const std::string &name, std::function< std::string(size_t)> &target, const std::function< std::string(size_t)> &base) |
| Install a function with the signature string(size_t) as being delegatable. More...
|
|
void | install (const std::string &name, std::function< size_t(const std::string &)> &target, const std::function< size_t(const std::string &)> &base) |
| Install a function with the signature size_t(string) as being delegatable. More...
|
|
template<typename BaseFunc , class ... Args> |
std::function< void(Args ...)> | makeDelegate (const std::function< void(Args ...)> &func, const std::string &when, BaseFunc base) |
| Create a delegate for a function with no return value. More...
|
|
template<typename ReturnType , class ... Args> |
std::function< ReturnType(Args ...)> | makeDelegate (const std::function< int(ReturnType &, Args ...)> &func, const std::string &when, const std::function< ReturnType(Args ...)> &base) |
| Create a delegate for a function with a return value. More...
|
|
std::map< std::string, std::function< void()> * > | m_funcs_v |
|
std::map< std::string, std::function< void(bool)> * > | m_funcs_v_b |
|
std::map< std::string, std::function< void(double)> * > | m_funcs_v_d |
|
std::map< std::string, std::function< void(std::array< size_t, 1 >, double *)> * > | m_funcs_v_dp |
|
std::map< std::string, std::function< void(std::array< size_t, 1 >, double, double *)> * > | m_funcs_v_d_dp |
|
std::map< std::string, std::function< void(std::array< size_t, 2 >, double, double *, double *)> * > | m_funcs_v_d_dp_dp |
|
std::map< std::string, std::function< void(std::array< size_t, 3 >, double *, double *, double *)> * > | m_funcs_v_dp_dp_dp |
|
std::map< std::string, std::function< std::string(size_t)> > | m_base_s_sz |
|
std::map< std::string, std::function< std::string(size_t)> * > | m_funcs_s_sz |
|
std::map< std::string, std::function< size_t(const std::string &)> > | m_base_sz_csr |
|
std::map< std::string, std::function< size_t(const std::string &)> * > | m_funcs_sz_csr |
|
template<class R>
class Cantera::ReactorDelegator< R >
Delegate methods of the Reactor class to external functions.
Definition at line 58 of file ReactorDelegator.h.