00001 // SumChemical.h: interface for the CSumChemical class. 00002 // 00004 00005 #if !defined(AFX_SUMCHEMICAL_H__223D15A1_8143_4F76_BB3C_4E74EACDDA3F__INCLUDED_) 00006 #define AFX_SUMCHEMICAL_H__223D15A1_8143_4F76_BB3C_4E74EACDDA3F__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 CSumChemical : public CAlgebraicChemical 00016 { 00017 public: 00018 CSumChemical(int chemicalNumber, std::string name, std::vector<Chemical *> chemRefVector); 00019 virtual ~CSumChemical(); 00020 protected: 00021 void ComputeAmount(); 00022 void ComputeInitialAmount(); 00023 void ComputeErrorInInitialAmount(); 00024 }; 00025 00026 #endif // !defined(AFX_SUMCHEMICAL_H__223D15A1_8143_4F76_BB3C_4E74EACDDA3F__INCLUDED_)