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