CG
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
cg.v25
common
chemistry
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
{
18
lambda
=0
19
};
20
21
OneStepReaction
();
22
~OneStepReaction
();
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
Generated on Fri Jan 4 2013 10:19:24 for CG by
1.8.3