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