27 #ifndef ANTIOCH_KINETICS_CONDITIONS_H
28 #define ANTIOCH_KINETICS_CONDITIONS_H
62 template <
typename StateType,
63 typename VectorStateType = std::vector<StateType> >
73 const StateType &
T()
const;
78 const StateType &
Tvib()
const;
91 std::map<unsigned int,ParticleFlux<VectorStateType>
const *
const >
_map_pf;
96 template <
typename StateType,
typename VectorStateType>
99 _temperature(temperature)
104 template <
typename StateType,
typename VectorStateType>
111 template <
typename StateType,
typename VectorStateType>
115 _map_pf.insert(std::make_pair(nr, &pf));
118 template <
typename StateType,
typename VectorStateType>
122 return _temperature.T;
125 template <
typename StateType,
typename VectorStateType>
129 return _temperature.T;
132 template <
typename StateType,
typename VectorStateType>
137 return *(_map_pf.at(nr));
140 template <
typename StateType,
typename VectorStateType>
#define antioch_assert(asserted)
const StateType & Tvib() const
returns the temperature T,
TempCache< StateType > _temperature
const ParticleFlux< VectorStateType > & particle_flux(int nr) const
const TempCache< StateType > & temp_cache() const
The parameters are reduced parameters.
std::map< unsigned int, ParticleFlux< VectorStateType > const *const > _map_pf
const StateType & T() const
This class contains the conditions of the chemistry.
void add_particle_flux(const ParticleFlux< VectorStateType > &pf, unsigned int nr)