#include <CodeUnits.H>
Public Member Functions | |
CodeUnits () | |
null constructor | |
CodeUnits (const Real &a_unitTime, const Real &a_unitLength, const Real &a_unitDensity) | |
full constructor | |
CodeUnits (const CodeUnits &a_input) | |
copy constructor | |
virtual | ~CodeUnits () |
Destructor. | |
void | define () |
null constructor | |
void | define (const Real &a_unitTime, const Real &a_unitLength, const Real &a_unitDensity) |
full constructor | |
void | define (const CodeUnits &a_input) |
copy constructor | |
void | operator= (const CodeUnits &a_input) |
copy constructor | |
Real | length () const |
Real | massDensity () const |
Real | velocity () const |
Real | time () const |
Real | pressure () const |
Real | temperature () const |
Real | hydrogenMassFraction () const |
Real | heliumMassFraction () const |
Real | numDensityHydrogen () const |
Real | numDensityHelium () const |
bool | isDefined () const |
Has this object been defined? |
This class set the units used for the computation; allows use of alternate unit systems and scalings. In most uses, these are all ones
|
null constructor
|
|
full constructor
|
|
copy constructor
|
|
Destructor.
|
|
copy constructor
|
|
full constructor
|
|
null constructor
|
|
|
|
|
|
Has this object been defined?
|
|
|
|
|
|
|
|
|
|
copy constructor
|
|
|
|
|
|
|
|
|