cloudy
trunk
|
#include <flux.h>
Public Member Functions | |
Flux () | |
Flux (Energy e, double flux) | |
Flux (Energy e, double flux, const string &unit) | |
void | set (Energy e, double flux) |
void | set (Energy e, double flux, const string &unit) |
double | get () const |
double | get (const string &unit) const |
Energy | E () const |
string | uu () const |
Private Types | |
enum | fu_flag { FU_NONE, FU_ERG_S, FU_W, FU_JY, FU_MJY, FU_MJY_SR, FU_CM2, FU_M2, FU_A, FU_NM, FU_MU, FU_HZ, FU_SR, FU_SQAS, FU_TOP } |
typedef bitset< FU_TOP > | fu_bits |
Private Member Functions | |
fu_bits | p_InternalFluxUnitNoCheck (const string &unit, size_t &len) const |
fu_bits | p_InternalFluxUnit (const string &unit) const |
bool | p_ValidFluxUnit (fu_bits) const |
void | p_set (Energy e, double value, fu_bits bits) |
double | p_get (fu_bits bits) const |
Private Attributes | |
Energy | p_energy |
double | p_flux |
fu_bits | p_userunits |
Friends | |
bool | ValidFluxUnit (const string &unit) |
|
private |
|
private |
|
inline |
Definition at line 28 of file flux.h.
References p_userunits, and set().
|
inline |
|
inline |
|
inline |
Definition at line 55 of file flux.h.
References p_get(), and p_InternalFluxUnit().
|
private |
Definition at line 142 of file flux.cpp.
References Energy::Angstrom(), DEBUG_ENTRY, FU_A, FU_HZ, FU_JY, FU_M2, FU_MJY, FU_MJY_SR, FU_MU, FU_NM, FU_SQAS, FU_SR, FU_W, Energy::Hz(), Energy::micron(), Energy::nm(), p_energy, and p_flux.
Referenced by get().
|
private |
Definition at line 85 of file flux.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, p_InternalFluxUnitNoCheck(), and p_ValidFluxUnit().
Referenced by get(), and set().
|
private |
Definition at line 173 of file flux.cpp.
References Energy::Angstrom(), DEBUG_ENTRY, FU_A, FU_HZ, FU_JY, FU_M2, FU_MJY, FU_MJY_SR, FU_MU, FU_NM, FU_SQAS, FU_SR, FU_W, Energy::Hz(), Energy::micron(), Energy::nm(), p_energy, p_flux, and p_userunits.
Referenced by set().
|
private |
|
inline |
|
inline |
Definition at line 46 of file flux.h.
References p_InternalFluxUnit(), and p_set().
string Flux::uu | ( | ) | const |
|
private |
|
private |
|
private |