|
| | ItoPlasmaReaction ()=default |
| | Allow, but you need full ctor to do anything. More...
|
| |
| | ItoPlasmaReaction (const std::initializer_list< int > a_reactants, const std::initializer_list< int > a_particle_products, const std::initializer_list< int > a_photon_products, const std::initializer_list< std::pair< int, Real >> a_energy_jumps) |
| | Full ctor. Includes Photons and energies. LEA fodder. More...
|
| |
| | ItoPlasmaReaction (const std::initializer_list< int > a_reactants, const std::initializer_list< int > a_particle_products, const std::initializer_list< std::pair< int, Real >> a_energy_jumps) |
| | Full ctor. Includes energies but not Photons. LEA fodder. More...
|
| |
| | ItoPlasmaReaction (const std::initializer_list< int > a_reactants, const std::initializer_list< int > a_particle_products, const std::initializer_list< int > a_photon_products) |
| | Full Ctor, includes possible Photons but disregards energy. LFA fodder. More...
|
| |
| | ItoPlasmaReaction (const std::initializer_list< int > a_reactants, const std::initializer_list< int > a_particle_products) |
| | Partial ctor. No Photons generated and no energy. LFA fodder. More...
|
| |
| | ~ItoPlasmaReaction () |
| | Dtor. Not much to see here. More...
|
| |
| void | jumpState (Vector< long long > &a_particles, const long long a_num_reactions) const |
| | Allows a state to jump with N reactions. More...
|
| |
| void | jumpState (Vector< long long > &a_particles, Vector< long long > &a_Photons, const long long a_num_reactions) const |
| | Allows a state to jump with N reactions. Includes generation of Photons. More...
|
| |
| void | jumpEnergy (Vector< Real > &a_energies, const Vector< Real > &a_mean_energies, const long long a_num_reactions) const |
| | Allows the energies to jump with N reactions. Assumes no energy sources. More...
|
| |
| void | jumpEnergy (Vector< Real > &a_energies, const Vector< Real > &a_mean_energies, const Vector< Real > &a_sources, const long long a_num_reactions, const Real a_dt) const |
| | Allows the energies to jump with N reactions. Allows energy sources. More...
|
| |
| Real & | rate () const |
| | Return a modifiable version of the reaction rate. More...
|
| |
| Real | propensity (const Vector< long long > &a_particles) const |
| | Get propensity function. More...
|
| |
| int | getGi (const Vector< long long > &a_particles) const |
| | Get gi. More...
|
| |
| const std::list< int > & | getReactants () const |
| | Get reactants. More...
|
| |
| const std::list< int > & | getParticleProdcuts () const |
| | Get reactants. More...
|
| |
| const std::list< int > & | getPhotonProducts () const |
| | Get reactants. More...
|
| |
| const std::map< int, int > & | getStateChange () const |
| | Get the state change. You need to iterate through this map. More...
|
| |
| const int | getStateChange (const int a_idx) const |
| | Get the state change for a particular species. More...
|
| |
| const std::map< int, Real > & | getEnergychange () const |
| | Get the energy change. You need to iterate through this map. More...
|
| |
| const Real | getEnergychange (const int a_idx) const |
| | Get the energy change for a particular species. More...
|
| |
Reaction class for ItoPlasmaPhysics.
To use this class you should initialize a reaction e.g. ItoPlasmaReaction({0,1,2}, {0,4}, {0}) which is equivalent to the reaction X_0 + X_1 + X_2 => X_1 + X_4 + Y_0.