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

#include <frequencyhandler.h>

Inheritance diagram for FrequencyIncident:
Inheritance graph
[legend]
Collaboration diagram for FrequencyIncident:
Collaboration graph
[legend]

Public Member Functions

 FrequencyIncident (const EnvelopedPulse &_pulse, const CubicInterpolationTable< double > &_interp)
 Constructor. More...
 
double operator() (const Vector< double, 3 > &pt) const
 
- Public Member Functions inherited from madness::FunctionFunctorInterface< double, 3 >
virtual bool screened (const Vector< double, NDIM > &c1, const Vector< double, NDIM > &c2) const
 Can we screen this function based on the bounding box information? More...
 
virtual bool supports_vectorized () const
 Does the interface support a vectorized operator()? More...
 
virtual void operator() (const Vector< double *, 1 > &xvals, double *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 2 > &xvals, double *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 3 > &xvals, double *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 4 > &xvals, double *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 5 > &xvals, double *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 6 > &xvals, double *fvals, int npts) const
 
virtual double operator() (const Vector< double, NDIM > &x) const =0
 You should implement this to return f(x) More...
 
virtual std::vector< Vector
< double, NDIM > > 
special_points () const
 Override this to return list of special points to be refined more deeply. More...
 
virtual Level special_level ()
 Override this change level refinement for special points (default is 6) More...
 
virtual ~FunctionFunctorInterface ()
 
virtual coeffT coeff (const keyT &) const
 
virtual coeffT values (const keyT &key, const Tensor< double > &tensor) const
 
virtual bool provides_coeff () const
 does this functor directly provide sum coefficients? or only function values? More...
 

Protected Attributes

const EnvelopedPulsepulse
 
const CubicInterpolationTable
< double > & 
interp
 

Additional Inherited Members

- Public Types inherited from madness::FunctionFunctorInterface< double, 3 >
typedef GenTensor< double > coeffT
 
typedef Key< NDIMkeyT
 

Detailed Description

A class for turning the frequency-dependent incident field function into a 3-D madness function (the dot product is used to convert the 3-D point into the 1-D argument)

Constructor & Destructor Documentation

FrequencyIncident::FrequencyIncident ( const EnvelopedPulse _pulse,
const CubicInterpolationTable< double > &  _interp 
)
inline

Constructor.

Member Function Documentation

double FrequencyIncident::operator() ( const Vector< double, 3 > &  pt) const

The interface for turning the 1-D incident function into the 3-D vector. This really works best if the E-field polarization is only in one of the vector directions.

References interp, EnvelopedPulse::prop_dir, and pulse.

Member Data Documentation

const CubicInterpolationTable<double>& FrequencyIncident::interp
protected

Referenced by operator()().

const EnvelopedPulse& FrequencyIncident::pulse
protected

Referenced by operator()().


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