fourdst::libcomposition v1.5.2
Robust atomic species information library
|
Represents the canonical (X, Y, Z) composition of stellar material. More...
#include <composition.h>
Public Attributes | |
double | X = 0.0 |
Mass fraction of Hydrogen. | |
double | Y = 0.0 |
Mass fraction of Helium. | |
double | Z = 0.0 |
Mass fraction of Metals. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CanonicalComposition &composition) |
Overloads the stream insertion operator for easy printing. | |
Represents the canonical (X, Y, Z) composition of stellar material.
This is a standard astrophysical representation where:
Definition at line 43 of file composition.h.
|
friend |
Overloads the stream insertion operator for easy printing.
os | The output stream. |
composition | The CanonicalComposition object to print. |
Definition at line 54 of file composition.h.
double fourdst::composition::CanonicalComposition::X = 0.0 |
Mass fraction of Hydrogen.
Definition at line 44 of file composition.h.
double fourdst::composition::CanonicalComposition::Y = 0.0 |
Mass fraction of Helium.
Definition at line 45 of file composition.h.
double fourdst::composition::CanonicalComposition::Z = 0.0 |
Mass fraction of Metals.
Definition at line 46 of file composition.h.