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