|
Cantera
2.0
|
A class for elements. More...
#include <Element.h>
Public Member Functions | |
| Element () | |
| Construct a new empty Element object. | |
| Element (const std::string &nm, double wt) | |
| Construct a new empty Element object. | |
| ~Element () | |
| Destructor. | |
| bool | operator== (const Element &e) const |
| Compare two Element instances for equality based on name. | |
| bool | operator!= (const Element &e) const |
Public Attributes | |
| std::string | name |
| Element name. | |
| double | atomicWeight |
| Atomic weight in amu. | |
| int | valid |
| flag returned by validation routines | |
| int | index |
| index number | |
| bool | weightFromDB |
| true if atomic weight is not specified | |
| std::string | comment |
| comment in input file | |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const Element &e) |
A class for elements.
Example usage:
|
inline |
|
inline |
Compare two Element instances for equality based on name.
Primarily for internal use.
Definition at line 71 of file Element.h.
References Element::name.
| std::string name |
Element name.
Definition at line 59 of file Element.h.
Referenced by Element::operator==(), and CKParser::readElementSection().
| double atomicWeight |
Atomic weight in amu.
Definition at line 60 of file Element.h.
Referenced by CKParser::readElementSection().
| int valid |
flag returned by validation routines
Definition at line 61 of file Element.h.
Referenced by CKParser::readElementSection().
| int index |
| bool weightFromDB |
true if atomic weight is not specified
Definition at line 63 of file Element.h.
Referenced by CKParser::readElementSection().
| std::string comment |
comment in input file
Definition at line 64 of file Element.h.
Referenced by CKParser::readElementSection().
1.8.2