MADNESS
version 0.9
|
#include <frequencyhandler.h>
Public Member Functions | |
FrequencyHandler (const int freq, const EnvelopedPulse &_pulse, World &_world) | |
bool | read_file () |
Implementation of functions in frequencyhandler.h. More... | |
Public Attributes | |
const int | freq_index |
Vector< Function< double, 3 >, 3 > | inc |
vecfunc | scat |
const EnvelopedPulse & | pulse |
World & | world |
A class for storing all the pertinent data for each frequency-specific field component.
NOTE that all units are in atomic units, unless specified otherwise.
This class also extends FunctionFunctorInterface to convert the 1-D incident pulse information into the 3-D incident pulse components. The polarization and propagation directions are stored in the EnvelopedPulse object.
|
inline |
Constructor: needs the frequency index, the simulation parameters, and the MPI communicator (World)
bool FrequencyHandler::read_file | ( | ) |
Implementation of functions in frequencyhandler.h.
Read the *.freq.n file to get the parameters, etc. The specific file name is obtained from pulse. Returns true on successful read, false otherwise
References EnvelopedPulse::basefile, madness::copy(), EnvelopedPulse::dotp_max, EnvelopedPulse::dotp_min, EnvelopedPulse::e_polar, mpfr::fabs(), freq_index, inc, pi, pulse, EnvelopedPulse::T, and world.
const int FrequencyHandler::freq_index |
Referenced by read_file().
Referenced by calcScatField(), and read_file().
const EnvelopedPulse& FrequencyHandler::pulse |
Referenced by calcScatField(), and read_file().
vecfunc FrequencyHandler::scat |
Referenced by calcScatField().
World& FrequencyHandler::world |
Referenced by calcScatField(), and read_file().