00001 // UnaryDegradationReaction.h: interface for the UnaryDegradationReaction class. 00002 // 00004 00005 #if !defined(AFX_UNARYDEGRADATIONREACTION_H__3BB982A5_1F46_428A_9898_88069CCFF4DC__INCLUDED_) 00006 #define AFX_UNARYDEGRADATIONREACTION_H__3BB982A5_1F46_428A_9898_88069CCFF4DC__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 UnaryDegradationReaction : public Reaction 00016 { 00017 public: 00018 UnaryDegradationReaction(Chemical *UnstableChemical, RateConstant *k_deg, std::string reactionName); 00019 virtual ~UnaryDegradationReaction(); 00020 double GetRate() const; 00021 std::vector<JElement *> *GetChemicalJacobian(); 00022 void SetTeXForm(); 00023 protected: 00024 int k_deg; 00025 int UnstableChemical; 00026 }; 00027 00028 #endif // !defined(AFX_UNARYDEGRADATIONREACTION_H__3BB982A5_1F46_428A_9898_88069CCFF4DC__INCLUDED_)