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