A simple constant rate. More...
#include <reaction_rates.hpp>
Public Types | |
typedef rate_base::value_type | value_type |
Public Types inherited from viennashe::models::rate_base | |
typedef double | value_type |
Public Member Functions | |
const_rate (value_type rate) | |
~const_rate () | |
virtual value_type | value () const |
virtual rate_base * | clone () const |
Public Member Functions inherited from viennashe::models::rate_base | |
virtual | ~rate_base () |
virtual value_type | value () const =0 |
virtual rate_base * | clone () const =0 |
virtual value_type | operator() () const |
A simple constant rate.
Definition at line 54 of file reaction_rates.hpp.
Definition at line 56 of file reaction_rates.hpp.
|
inline |
Definition at line 58 of file reaction_rates.hpp.
|
inline |
Definition at line 59 of file reaction_rates.hpp.
|
inlinevirtual |
Generates a clone of itself (deep copy; uses new). The caller takes ownership
Implements viennashe::models::rate_base.
Definition at line 63 of file reaction_rates.hpp.
|
inlinevirtual |
The main functor interface
Implements viennashe::models::rate_base.
Definition at line 61 of file reaction_rates.hpp.