EnergyEntry Class Reference

#include <energy.h>

Inherits Energy.

Collaboration diagram for EnergyEntry:
[legend]

Public Member Functions

 EnergyEntry ()
 EnergyEntry (double energy)
 EnergyEntry (double energy, const char *unit)
void set (double energy, const char *unit)
void set (double energy)
long ip_C ()
long ip_fortran ()

Private Member Functions

void p_set_ip ()

Private Attributes

long p_ip

Detailed Description

EnergyEntry: class for storing a continuum energy and its associated pointer as a pair. This class is safe to construct even before the mesh is set up, as in that case calculating the pointer is delayed until it is actually needed. The energy can be changed after construction using the set() methods, but only if the mesh is already set up.

Definition at line 100 of file energy.h.


Constructor & Destructor Documentation

EnergyEntry::EnergyEntry (  )  [inline]

Definition at line 105 of file energy.h.

References p_ip.

EnergyEntry::EnergyEntry ( double  energy  )  [inline]

Definition at line 109 of file energy.h.

References p_ip.

EnergyEntry::EnergyEntry ( double  energy,
const char *  unit 
) [inline]

Definition at line 113 of file energy.h.

References p_ip.


Member Function Documentation

long EnergyEntry::ip_C (  )  [inline]

Definition at line 128 of file energy.h.

References p_ip, and p_set_ip().

Referenced by ip_fortran().

Here is the call graph for this function:

long EnergyEntry::ip_fortran (  )  [inline]

Definition at line 137 of file energy.h.

References ip_C().

Here is the call graph for this function:

void EnergyEntry::p_set_ip (  )  [private]

Definition at line 293 of file energy.cpp.

References ASSERT, cdEXIT, DEBUG_ENTRY, t_rfield::egamry, ioQQQ, ipoint(), p_ip, rfield, and Energy::Ryd().

Referenced by ip_C(), and set().

Here is the call graph for this function:

void EnergyEntry::set ( double  energy  )  [inline]

Reimplemented from Energy.

Definition at line 122 of file energy.h.

References p_set_ip(), and set().

Here is the call graph for this function:

void EnergyEntry::set ( double  energy,
const char *  unit 
) [inline]

Reimplemented from Energy.

Definition at line 117 of file energy.h.

References p_set_ip().

Referenced by set().

Here is the call graph for this function:


Field Documentation

long EnergyEntry::p_ip [private]

Definition at line 102 of file energy.h.

Referenced by EnergyEntry(), ip_C(), and p_set_ip().


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1