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