CG  Version 25
OneStepReaction.h
Go to the documentation of this file.
1 #ifndef ONE_STEP_REACTION_H
2 #define ONE_STEP_REACTION_H
3 //
4 // Define a one step reaction
5 //
6 
7 #include "Reactions.h"
8 
9 //
10 // Define the reaction mechanism for the H_2 - F_2 reaction
11 //
12 
13 class OneStepReaction : public Reactions
14 {
15  public:
16  enum Species
17  {
19  };
20 
23 
24  void reactionRates( const real & teS, const RealArray & kb, const RealArray & kf );
25  void chemicalSource(const real & rhoS, const real & teS, const RealArray & y, const RealArray & sigma,
26  const RealArray & sy=Overture::nullRealArray() );
27  void chemicalSource(const RealArray & rhoS, const RealArray & teS, const RealArray & y,
28  const RealArray & sigma, const RealArray & sy=Overture::nullRealArray() );
29 
30  RealArray & sigmaFromRPTY(const RealArray & rho,
31  const RealArray & p,
32  const RealArray & te,
33  const RealArray & y,
34  const RealArray & sigmai );
35 };
36 
37 #endif