#include <energy.h>
Inherits Energy.
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 |
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 98 of file energy.h.
EnergyEntry::EnergyEntry | ( | double | energy | ) | [inline] |
EnergyEntry::EnergyEntry | ( | double | energy, | |
const char * | unit | |||
) | [inline] |
long EnergyEntry::ip_C | ( | ) | [inline] |
Definition at line 126 of file energy.h.
References p_ip, and p_set_ip().
Referenced by ip_fortran().
long EnergyEntry::ip_fortran | ( | ) | [inline] |
void EnergyEntry::p_set_ip | ( | ) | [private] |
Definition at line 293 of file energy.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, t_rfield::egamry, EXIT_FAILURE, ioQQQ, ipoint(), p_ip, rfield, and Energy::Ryd().
Referenced by ip_C(), and set().
void EnergyEntry::set | ( | double | energy | ) | [inline] |
Reimplemented from Energy.
Definition at line 120 of file energy.h.
References p_set_ip(), and set().
void EnergyEntry::set | ( | double | energy, | |
const char * | unit | |||
) | [inline] |
Reimplemented from Energy.
Definition at line 115 of file energy.h.
References p_set_ip().
Referenced by set().
long EnergyEntry::p_ip [private] |
Definition at line 100 of file energy.h.
Referenced by EnergyEntry(), ip_C(), and p_set_ip().