H2 Combustion
compound.h
00001 #ifndef zh2_compound
00002 #define zh2_compound
00003 
00004 #include <vector>
00005 #include <string>
00006 #include <unordered_map>
00007 
00008 namespace h2comb {
00009 
00010 class Substance;
00011 class Reaction;
00012 
00021 struct Compound
00022 {
00023 public:
00024     void readReactions(std::string filename);
00025     void readComposition(std::string filename);
00026     
00027     std::unordered_map<Substance *, double> ingredients;
00028     std::vector<Reaction *> reactions;
00029     
00030     double Temperature;
00031     
00032 private:
00033     
00034     /*void mergeInSubstances(std::vector<Substance *> *);
00035     void getSubstances(std::vector<Substance *> *);*/
00036 };
00037 
00038 }
00039 
00040 #endif
00041 
 All Classes Files Functions