00001 // GenerationReaction.h: interface for the GenerationReaction class. 00002 // 00004 00005 #if !defined(AFX_GENERATIONREACTION_H__8E07171D_AE7E_4340_9DEE_1669597D1414__INCLUDED_) 00006 #define AFX_GENERATIONREACTION_H__8E07171D_AE7E_4340_9DEE_1669597D1414__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #include "Reaction.h" 00013 using namespace std; 00014 00015 class GenerationReaction : public Reaction 00016 { 00017 public: 00018 GenerationReaction(Chemical *Generator, Chemical *Product, RateConstant *k_g, std::string reactionName); 00019 virtual ~GenerationReaction(); 00020 double GetRate() const; 00021 std::vector<JElement *> *GetChemicalJacobian(); 00022 void SetTeXForm(); 00023 protected: 00024 int k_g; 00025 int Generator,Product; 00026 }; 00027 00028 #endif // !defined(AFX_GENERATIONREACTION_H__8E07171D_AE7E_4340_9DEE_1669597D1414__INCLUDED_)