38 #ifndef ReactionProxy_H
39 #define ReactionProxy_H
52 template<
class ThermoType>
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Proxy version of Reaction which provides dummy implementations of the abstract virtual functions.
virtual scalar kf(const scalar p, const scalar T, const scalarField &c, const label li) const
Forward rate constant.
virtual void postEvaluate() const
Post-evaluation hook.
virtual void preEvaluate() const
Pre-evaluation hook.
virtual scalar kr(const scalar kfwd, const scalar p, const scalar T, const scalarField &c, const label li) const
Reverse rate constant from the given forward rate constant.
virtual autoPtr< Reaction< ThermoType > > clone() const
Construct and return a clone.
ReactionProxy(const speciesTable &species, const PtrList< ThermoType > &speciesThermo, const List< specieCoeffs > &lhs, const List< specieCoeffs > &rhs)
Construct from components.
void dkfdc(const scalar p, const scalar T, const scalarField &c, const label li, scalarField &dkfdc) const
Concentration derivative of forward rate.
virtual bool hasDkdc() const
Does this reaction have concentration-dependent rate constants?
virtual ~ReactionProxy()
Destructor.
virtual scalar dkfdT(const scalar p, const scalar T, const scalarField &c, const label li) const
Temperature derivative of forward rate.
virtual scalar dkrdT(const scalar p, const scalar T, const scalarField &c, const label li, const scalar dkfdT, const scalar kr) const
Temperature derivative of reverse rate.
void dkrdc(const scalar p, const scalar T, const scalarField &c, const label li, const scalarField &dkfdc, const scalar kr, scalarField &dkrdc) const
Concentration derivative of reverse rate.
Simple extension of ThermoType to handle reaction kinetics in addition to the equilibrium thermodynam...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A wordList with hashed indices for faster lookup by name.
const speciesTable & species() const
Return the specie list.
const List< specieCoeffs > & lhs() const
Return the components of the left hand side.
const List< specieCoeffs > & rhs() const
Return the components of the right hand side.
const dimensionedScalar c
Speed of light in a vacuum.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)