Public Member Functions | |
| reducedUnits () | |
| Construct with no argument, uses default values: More... | |
| reducedUnits (scalar refLength, scalar refTime, scalar refMass) | |
| Construct from components. More... | |
| reducedUnits (const IOdictionary &reducedUnitsDict) | |
| Construct from dictionary. More... | |
| ~reducedUnits ()=default | |
| Destructor. More... | |
| void | setRefValues (scalar refLength, scalar refTime, scalar refMass) |
| void | setRefValues (const IOdictionary &reducedUnitsDict) |
| scalar | refLength () const |
| scalar | refTime () const |
| scalar | refMass () const |
| scalar | refTemp () const |
| scalar | refEnergy () const |
| scalar | refForce () const |
| scalar | refVelocity () const |
| scalar | refVolume () const |
| scalar | refPressure () const |
| scalar | refMassDensity () const |
| scalar | refNumberDensity () const |
Static Public Attributes | |
| static const scalar | kb = 1.3806504e-23 |
| Static data someStaticData. More... | |
Friends | |
| Ostream & | operator<< (Ostream &, const reducedUnits &) |
Definition at line 59 of file reducedUnits.H.
| reducedUnits | ( | ) |
Construct with no argument, uses default values:
length = 1nm mass = 1.660538782e-27kg (unified atomic mass unit) temperature = 1K (therefore, energy = 1*kb)
Definition at line 75 of file reducedUnits.C.
| reducedUnits | ( | scalar | refLength, |
| scalar | refTime, | ||
| scalar | refMass | ||
| ) |
Construct from components.
Definition at line 86 of file reducedUnits.C.
| reducedUnits | ( | const IOdictionary & | reducedUnitsDict | ) |
Construct from dictionary.
Definition at line 100 of file reducedUnits.C.
References reducedUnits::setRefValues().
|
default |
Destructor.
| void setRefValues | ( | scalar | refLength, |
| scalar | refTime, | ||
| scalar | refMass | ||
| ) |
Definition at line 113 of file reducedUnits.C.
Referenced by reducedUnits::reducedUnits().
| void setRefValues | ( | const IOdictionary & | reducedUnitsDict | ) |
Definition at line 128 of file reducedUnits.C.
References dictionary::readEntry().
|
inline |
Definition at line 30 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
inline |
Definition at line 36 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
inline |
Definition at line 42 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
inline |
Definition at line 48 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
inline |
Definition at line 54 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
inline |
Definition at line 60 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
inline |
Definition at line 66 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
inline |
Definition at line 72 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
inline |
Definition at line 78 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
inline |
Definition at line 84 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
inline |
Definition at line 90 of file reducedUnitsI.H.
Referenced by Foam::operator<<().
|
friend |
|
static |
Static data someStaticData.
Definition at line 100 of file reducedUnits.H.