#include <rl_DielectricPODArray.h>
Public Member Functions | |
~rl_DielectricPODArray () | |
rl_DielectricPODArray () | |
rl_DielectricPODArray (size_t nelts, double const *energy, double const *alpha, double const *gamma) throw ( rl_Exception ) | |
rl_DielectricPODArray (size_t nelts, rl_Traits::rl_DielectricPOD *diel) throw ( rl_Exception ) | |
void | init (size_t nelts, double const *energy, double const *alpha, double const *gamma) |
void | init (size_t nelts, rl_Traits::rl_DielectricPOD *diel) |
size_t | num_elts () const |
rl_Traits::rl_DielectricPOD const * | const_data_ptr () const |
void | cprint_on (std::FILE *of, char const pre[]="", char const pst[]="") const |
Protected Attributes | |
size_t | nelts_ |
number of dielectric decrements read in | |
rl_Traits::rl_DielectricPOD * | data_ |
pointer to the data |
The complex dielectric constant has real part (1-alpha) and imaginary part (-gamma).
Definition at line 57 of file rl_DielectricPODArray.h.
rl_DielectricPODArray::~rl_DielectricPODArray | ( | ) |
rl_DielectricPODArray::rl_DielectricPODArray | ( | ) |
Default constructor.
An empty uninitialized rl_DielectricPODArray is created and the init method must be called to initialize the object.
Definition at line 69 of file rl_DielectricPODArray.cc.
rl_DielectricPODArray::rl_DielectricPODArray | ( | size_t | nelts, | |
double const * | energy, | |||
double const * | alpha, | |||
double const * | gamma | |||
) | throw ( rl_Exception ) |
Constructor.
nelts | number of elements in the array | |
energy | array of energies | |
alpha | array of dielectric decrement real part (alpha) | |
gamma | array of dielectric decrement imag part (gamma) |
Definition at line 74 of file rl_DielectricPODArray.cc.
rl_DielectricPODArray::rl_DielectricPODArray | ( | size_t | nelts, | |
rl_Traits::rl_DielectricPOD * | diel | |||
) | throw ( rl_Exception ) |
Constructor.
nelts | number of elements in the array | |
diel | array of dielectric decrement PODs |
Definition at line 101 of file rl_DielectricPODArray.cc.
void rl_DielectricPODArray::init | ( | size_t | nelts, | |
double const * | energy, | |||
double const * | alpha, | |||
double const * | gamma | |||
) |
Initializer.
nelts | number of elements in the array | |
energy | array of energies | |
alpha | array of dielectric decrement real part (alpha) | |
gamma | array of dielectric decrement imag part (gamma) |
Definition at line 122 of file rl_DielectricPODArray.cc.
References rl_Traits::rl_DielectricPOD::alpha_, data_, rl_Traits::rl_DielectricPOD::energy_, rl_Traits::rl_DielectricPOD::gamma_, and nelts_.
Referenced by rl_DielectricPODArray().
void rl_DielectricPODArray::init | ( | size_t | nelts, | |
rl_Traits::rl_DielectricPOD * | diel | |||
) |
Initializer.
nelts | number of elements in the array | |
diel | array of dielectric decrement PODs |
Definition at line 140 of file rl_DielectricPODArray.cc.
References rl_Traits::rl_DielectricPOD::alpha_, data_, rl_Traits::rl_DielectricPOD::energy_, rl_Traits::rl_DielectricPOD::gamma_, and nelts_.
size_t rl_DielectricPODArray::num_elts | ( | ) | const [inline] |
Accessor.
Definition at line 170 of file rl_DielectricPODArray.h.
References nelts_.
rl_Traits::rl_DielectricPOD const * rl_DielectricPODArray::const_data_ptr | ( | ) | const [inline] |
Accessor.
Definition at line 174 of file rl_DielectricPODArray.h.
References data_.
void rl_DielectricPODArray::cprint_on | ( | std::FILE * | of, | |
char const | pre[] = "" , |
|||
char const | pst[] = "" | |||
) | const |
Accessor.
of | output FILE* stream. | |
pre | optional prefix (char*) string. | |
pst | optional postfix (char*) string. |
Definition at line 156 of file rl_DielectricPODArray.cc.
size_t rl_DielectricPODArray::nelts_ [protected] |
number of dielectric decrements read in
Definition at line 62 of file rl_DielectricPODArray.h.
Referenced by cprint_on(), init(), num_elts(), and rl_DielectricPODArray().
rl_Traits::rl_DielectricPOD* rl_DielectricPODArray::data_ [protected] |
pointer to the data
Definition at line 64 of file rl_DielectricPODArray.h.
Referenced by const_data_ptr(), cprint_on(), init(), rl_DielectricPODArray(), and ~rl_DielectricPODArray().