cloudy
trunk
|
#include <energy.h>
Public Member Functions | |
Energy () | |
Energy (double energy) | |
Energy (double energy, const char *unit) | |
bool | operator< (const Energy &e) const |
void | set (double energy) |
void | set (double energy, const char *unit) |
double | get (const char *unit) const |
double | Ryd () const |
double | K () const |
double | Erg () const |
double | WN () const |
double | eV () const |
double | keV () const |
double | MeV () const |
double | Hz () const |
double | kHz () const |
double | MHz () const |
double | GHz () const |
double | Angstrom () const |
double | nm () const |
double | micron () const |
double | mm () const |
double | cm () const |
Private Attributes | |
double | m_energy |
|
inline |
|
inline |
Definition at line 77 of file energy.h.
References m_energy.
Referenced by cm(), get(), micron(), mm(), nm(), Flux::p_get(), and Flux::p_set().
|
inline |
Definition at line 93 of file energy.h.
References Angstrom().
Referenced by get().
|
inline |
|
inline |
double Energy::get | ( | const char * | unit | ) | const |
Definition at line 138 of file energy.cpp.
References Angstrom(), cdEXIT, cm(), DEBUG_ENTRY, ENERGY_A, ENERGY_CM, ENERGY_ERG, ENERGY_EV, ENERGY_GHZ, ENERGY_HZ, ENERGY_K, ENERGY_KEV, ENERGY_KHZ, ENERGY_MEV, ENERGY_MHZ, ENERGY_MICRON, ENERGY_MM, ENERGY_NM, ENERGY_RYD, ENERGY_WN, Erg(), eV(), EXIT_FAILURE, fprintf(), GHz(), Hz(), ioQQQ, isSameUnit(), K(), keV(), kHz(), MeV(), MHz(), micron(), mm(), nm(), Ryd(), and WN().
Referenced by AnuUnit().
|
inline |
|
inline |
Definition at line 61 of file energy.h.
References m_energy.
Referenced by get(), GHz(), kHz(), MHz(), Flux::p_get(), and Flux::p_set().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 85 of file energy.h.
References Angstrom().
Referenced by get(), Flux::p_get(), and Flux::p_set().
|
inline |
Definition at line 89 of file energy.h.
References Angstrom().
Referenced by get().
|
inline |
Definition at line 81 of file energy.h.
References Angstrom().
Referenced by get(), Flux::p_get(), and Flux::p_set().
|
inline |
|
inline |
Definition at line 33 of file energy.h.
References m_energy.
Referenced by energy(), get(), t_mesh::InitMesh(), EnergyEntry::p_set_ip(), ParseSave(), ParseTable(), resetBltin(), and SaveDo().
|
inline |
Definition at line 26 of file energy.h.
References energy(), and m_energy.
Referenced by Energy(), InitDefaultsPreparse(), ParseSave(), ParseTable(), set(), and EnergyEntry::set().
void Energy::set | ( | double | energy, |
const char * | unit | ||
) |
Definition at line 214 of file energy.cpp.
References cdEXIT, DEBUG_ENTRY, e1(), ENERGY_A, ENERGY_CM, ENERGY_ERG, ENERGY_EV, ENERGY_GHZ, ENERGY_HZ, ENERGY_K, ENERGY_KEV, ENERGY_KHZ, ENERGY_MEV, ENERGY_MHZ, ENERGY_MICRON, ENERGY_MM, ENERGY_NM, ENERGY_RYD, ENERGY_WN, EXIT_FAILURE, fprintf(), ioQQQ, isSameUnit(), and set().
|
inline |
|
private |