00001 // CurrentToInitialRatioChemical.h: interface for the CCurrentToInitialRatioChemical class. 00002 // 00004 00005 #if !defined(AFX_CURRENTTOINITIALRATIOCHEMICAL_H__8FD4D735_C6F5_4B0A_BA7F_7CC76D4E47C0__INCLUDED_) 00006 #define AFX_CURRENTTOINITIALRATIOCHEMICAL_H__8FD4D735_C6F5_4B0A_BA7F_7CC76D4E47C0__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #include <cmath> 00013 #include "AlgebraicChemical.h" 00014 00015 class CCurrentToInitialRatioChemical : public CAlgebraicChemical 00016 { 00017 public: 00018 CCurrentToInitialRatioChemical(int chemicalNumber, std::string name, std::vector<Chemical *> chemRefVector); 00019 virtual ~CCurrentToInitialRatioChemical(); 00020 protected: 00021 void ComputeAmount(); 00022 void ComputeInitialAmount(); 00023 void ComputeErrorInInitialAmount(); 00024 00025 }; 00026 00027 #endif // !defined(AFX_CURRENTTOINITIALRATIOCHEMICAL_H__8FD4D735_C6F5_4B0A_BA7F_7CC76D4E47C0__INCLUDED_)