cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes
Energy Class Reference

#include <energy.h>

Inheritance diagram for Energy:
Inheritance graph
[legend]
Collaboration diagram for Energy:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 9 of file energy.h.

Constructor & Destructor Documentation

Energy::Energy ( )
inline

Definition at line 14 of file energy.h.

Energy::Energy ( double  energy)
inline

Definition at line 15 of file energy.h.

Energy::Energy ( double  energy,
const char *  unit 
)
inline

Definition at line 16 of file energy.h.

References set().

Here is the call graph for this function:

Member Function Documentation

double Energy::Angstrom ( ) const
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().

double Energy::cm ( ) const
inline

Definition at line 93 of file energy.h.

References Angstrom().

Referenced by get().

Here is the call graph for this function:

double Energy::Erg ( ) const
inline

Definition at line 41 of file energy.h.

References m_energy.

Referenced by get().

double Energy::eV ( ) const
inline

Definition at line 49 of file energy.h.

References m_energy.

Referenced by get(), keV(), and MeV().

double Energy::get ( const char *  unit) const
double Energy::GHz ( ) const
inline

Definition at line 73 of file energy.h.

References Hz().

Referenced by get().

Here is the call graph for this function:

double Energy::Hz ( ) const
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().

double Energy::K ( ) const
inline

Definition at line 37 of file energy.h.

References m_energy.

Referenced by get().

double Energy::keV ( ) const
inline

Definition at line 53 of file energy.h.

References eV().

Referenced by get().

Here is the call graph for this function:

double Energy::kHz ( ) const
inline

Definition at line 65 of file energy.h.

References Hz().

Referenced by get().

Here is the call graph for this function:

double Energy::MeV ( ) const
inline

Definition at line 57 of file energy.h.

References eV().

Referenced by get().

Here is the call graph for this function:

double Energy::MHz ( ) const
inline

Definition at line 69 of file energy.h.

References Hz().

Referenced by get().

Here is the call graph for this function:

double Energy::micron ( ) const
inline

Definition at line 85 of file energy.h.

References Angstrom().

Referenced by get(), Flux::p_get(), and Flux::p_set().

Here is the call graph for this function:

double Energy::mm ( ) const
inline

Definition at line 89 of file energy.h.

References Angstrom().

Referenced by get().

Here is the call graph for this function:

double Energy::nm ( ) const
inline

Definition at line 81 of file energy.h.

References Angstrom().

Referenced by get(), Flux::p_get(), and Flux::p_set().

Here is the call graph for this function:

bool Energy::operator< ( const Energy e) const
inline

Definition at line 21 of file energy.h.

References m_energy.

double Energy::Ryd ( ) const
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().

void Energy::set ( double  energy)
inline

Definition at line 26 of file energy.h.

References energy(), and m_energy.

Referenced by Energy(), InitDefaultsPreparse(), ParseSave(), ParseTable(), set(), and EnergyEntry::set().

Here is the call graph for this function:

void Energy::set ( double  energy,
const char *  unit 
)
double Energy::WN ( ) const
inline

Definition at line 45 of file energy.h.

References m_energy.

Referenced by get().

Field Documentation

double Energy::m_energy
private

Definition at line 11 of file energy.h.

Referenced by Angstrom(), Erg(), eV(), Hz(), K(), operator<(), Ryd(), set(), and WN().


The documentation for this class was generated from the following files: