#include <energy.h>
Inherited by EnergyEntry.
Public Member Functions | |
Energy () | |
Energy (double energy) | |
Energy (double energy, const char *unit) | |
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 |
Definition at line 9 of file energy.h.
Energy::Energy | ( | double | energy, | |
const char * | unit | |||
) | [inline] |
double Energy::Angstrom | ( | ) | const [inline] |
double Energy::cm | ( | ) | const [inline] |
Definition at line 88 of file energy.h.
References Angstrom().
Referenced by get().
double Energy::Erg | ( | ) | const [inline] |
double Energy::eV | ( | ) | const [inline] |
double Energy::get | ( | const char * | unit | ) | const |
Definition at line 141 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(), GHz(), Hz(), ioQQQ, isSameUnit(), K(), keV(), kHz(), MeV(), MHz(), micron(), mm(), nm(), Ryd(), and WN().
double Energy::GHz | ( | ) | const [inline] |
double Energy::Hz | ( | ) | const [inline] |
Definition at line 56 of file energy.h.
References FR1RYD, and m_energy.
Referenced by get(), GHz(), kHz(), MHz(), Flux::p_get(), and Flux::p_set().
double Energy::K | ( | ) | const [inline] |
double Energy::keV | ( | ) | const [inline] |
double Energy::kHz | ( | ) | const [inline] |
double Energy::MeV | ( | ) | const [inline] |
double Energy::MHz | ( | ) | const [inline] |
double Energy::micron | ( | ) | const [inline] |
Definition at line 80 of file energy.h.
References Angstrom().
Referenced by get(), Flux::p_get(), and Flux::p_set().
double Energy::mm | ( | ) | const [inline] |
Definition at line 84 of file energy.h.
References Angstrom().
Referenced by get().
double Energy::nm | ( | ) | const [inline] |
Definition at line 76 of file energy.h.
References Angstrom().
Referenced by get(), Flux::p_get(), and Flux::p_set().
double Energy::Ryd | ( | ) | const [inline] |
Definition at line 28 of file energy.h.
References m_energy.
Referenced by get(), EnergyEntry::p_set_ip(), ParseSave(), and SaveDo().
void Energy::set | ( | double | energy, | |
const char * | unit | |||
) |
Reimplemented in EnergyEntry.
Definition at line 217 of file energy.cpp.
References cdEXIT, DEBUG_ENTRY, EN1RYD, 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, EVRYD, FR1RYD, ioQQQ, isSameUnit(), RYD_INF, RYDLAM, and TE1RYD.
void Energy::set | ( | double | energy | ) | [inline] |
Reimplemented in EnergyEntry.
Definition at line 21 of file energy.h.
References m_energy.
Referenced by atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), InitDefaultsPreparse(), and ParseSave().
double Energy::WN | ( | ) | const [inline] |
Definition at line 40 of file energy.h.
References m_energy, and RYD_INF.
Referenced by atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), dBase_solve(), and get().
double Energy::m_energy [private] |