MADNESS  version 0.9
Public Member Functions | Public Attributes | List of all members
FrequencyHandler Class Reference

#include <frequencyhandler.h>

Collaboration diagram for FrequencyHandler:
Collaboration graph
[legend]

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 EnvelopedPulsepulse
 
Worldworld
 

Detailed Description

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.

Constructor & Destructor Documentation

FrequencyHandler::FrequencyHandler ( const int  freq,
const EnvelopedPulse _pulse,
World _world 
)
inline

Constructor: needs the frequency index, the simulation parameters, and the MPI communicator (World)

Member Function Documentation

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.

Member Data Documentation

const int FrequencyHandler::freq_index

Referenced by read_file().

Vector<Function<double, 3>, 3> FrequencyHandler::inc

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().


The documentation for this class was generated from the following files: