Cantera  2.0
Constituent.h
Go to the documentation of this file.
1 /**
2  * @file Constituent.h
3  *
4  */
5 
6 // Copyright 2001 California Institute of Technology
7 
8 
9 #ifndef CKR_CONSTITUENT_H
10 #define CKR_CONSTITUENT_H
11 
12 #include <string>
13 #include <vector>
14 
15 namespace ckr
16 {
17 
18 /**
19  * A class for components of a composite object. The only members are
20  * a string identifying the component, and a double specifying the
21  * amount.
22  */
24 {
25 public:
26  std::string name; //!< The name of the object.
27  double number; //!< The number of units (molecules, etc.).
28 };
29 
30 }
31 
32 #endif