rl_raylib
1.1.10
|
A class encapsulating an array of rl_DielectricPODs storing the dielectric contants as a function of energy: More...
#include <rl_DielectricPODArray.h>
Public Member Functions | |
~rl_DielectricPODArray () | |
Destructor. | |
rl_DielectricPODArray () | |
Default constructor. More... | |
rl_DielectricPODArray (size_t nelts, double const *energy, double const *alpha, double const *gamma) | |
Constructor. More... | |
rl_DielectricPODArray (size_t nelts, rl_Traits::rl_DielectricPOD *diel) | |
Constructor. More... | |
void | init (size_t nelts, double const *energy, double const *alpha, double const *gamma) |
Initializer. More... | |
void | init (size_t nelts, rl_Traits::rl_DielectricPOD *diel) |
Initializer. More... | |
size_t | num_elts () const |
Accessor. More... | |
rl_Traits::rl_DielectricPOD const * | const_data_ptr () const |
Accessor. More... | |
void | cprint_on (std::FILE *of, char const pre[]="", char const pst[]="") const |
Accessor. More... | |
Protected Attributes | |
size_t | nelts_ |
number of dielectric decrements read in | |
rl_Traits::rl_DielectricPOD * | data_ |
pointer to the data | |
A class encapsulating an array of rl_DielectricPODs storing the dielectric contants as a function of energy:
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 | ( | ) |
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 | ||
) |
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 | ||
) |
Constructor.
nelts | number of elements in the array |
diel | array of dielectric decrement PODs |
Definition at line 100 of file rl_DielectricPODArray.cc.
|
inline |
Accessor.
Definition at line 172 of file rl_DielectricPODArray.h.
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 154 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) |
initialize this rl_DielectricPODArray from the energy, alpha, and gamma arrays. The rl_DielectricPODArray is sorted on the energy field.
Definition at line 120 of file rl_DielectricPODArray.cc.
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 |
initialize this rl_DielectricPODArray from the input array of rl_DielectricPODs. The rl_DielectricPODArray is sorted on the energy field.
Definition at line 138 of file rl_DielectricPODArray.cc.
|
inline |
Accessor.
Definition at line 168 of file rl_DielectricPODArray.h.