#include <predcont.h>
Inherits Singleton< t_PredCont >.
Public Member Functions | |
| long | find (double energy, const char *unit="Ryd") const |
| long | add (double energy, const char *unit="Ryd") |
| EnergyEntry & | operator[] (size_t i) |
| size_t | size () const |
| void | set_offset (long offset) |
| long | offset () const |
Protected Member Functions | |
| t_PredCont () | |
Private Attributes | |
| vector< EnergyEntry > | p_val |
| long | p_offset |
Friends | |
| class | Singleton< t_PredCont > |
array of energies and pointers for continuum points
Definition at line 12 of file predcont.h.
| t_PredCont::t_PredCont | ( | ) | [protected] |
| long t_PredCont::add | ( | double | energy, | |
| const char * | unit = "Ryd" | |||
| ) |
Definition at line 122 of file predcont.cpp.
References cdEXIT, DEBUG_ENTRY, t_rfield::egamry, t_rfield::emm, find(), ioQQQ, p_val, and rfield.
Referenced by ParseOptimize(), ParseSet(), ParseStop(), and t_PredCont().
| long t_PredCont::find | ( | double | energy, | |
| const char * | unit = "Ryd" | |||
| ) | const |
Definition at line 112 of file predcont.cpp.
References DEBUG_ENTRY, fp_equal(), and p_val.
Referenced by add().
| long t_PredCont::offset | ( | ) | const [inline] |
Definition at line 36 of file predcont.h.
References p_offset.
Referenced by iter_end_check(), and optimize_func().
| EnergyEntry& t_PredCont::operator[] | ( | size_t | i | ) | [inline] |
Definition at line 24 of file predcont.h.
References p_val.
| void t_PredCont::set_offset | ( | long | offset | ) | [inline] |
| size_t t_PredCont::size | ( | ) | const [inline] |
friend class Singleton< t_PredCont > [friend] |
Definition at line 14 of file predcont.h.
long t_PredCont::p_offset [private] |
Definition at line 20 of file predcont.h.
Referenced by offset(), and set_offset().
vector<EnergyEntry> t_PredCont::p_val [private] |
Definition at line 18 of file predcont.h.
Referenced by add(), find(), operator[](), size(), and t_PredCont().
1.6.1