MADNESS  version 0.9
Classes | Public Member Functions | List of all members
madness::GenericConvolution1D< Q, opT > Class Template Reference

Generic 1D convolution using brute force (i.e., slow) adaptive quadrature for rnlp. More...

#include <convolution1d.h>

Inheritance diagram for madness::GenericConvolution1D< Q, opT >:
Inheritance graph
[legend]
Collaboration diagram for madness::GenericConvolution1D< Q, opT >:
Collaboration graph
[legend]

Classes

struct  Shmoo
 

Public Member Functions

 GenericConvolution1D ()
 
 GenericConvolution1D (int k, const opT &op, int maxR, double arg=0.0)
 
virtual Level natural_level () const
 Returns the level for projection. More...
 
Tensor< Q > rnlp (Level n, Translation lx) const
 Compute the projection of the operator onto the double order polynomials. More...
 
bool issmall (Level n, Translation lx) const
 Returns true if the block of rnlp is expected to be small. More...
 
- Public Member Functions inherited from madness::Convolution1D< Q >
virtual ~Convolution1D ()
 
 Convolution1D (int k, int npt, int maxR, double arg=0.0)
 
bool get_issmall (Level n, Translation lx) const
 Returns true if the block of rnlp is expected to be small including periodicity. More...
 
const Tensor< Q > & rnlij (Level n, Translation lx, bool do_transpose=false) const
 Computes the transition matrix elements for the convolution for n,l. More...
 
const ConvolutionData1D< Q > * mod_nonstandard (const Key< 2 > &op_key) const
 Returns a pointer to the cached modified nonstandard form of the operator. More...
 
const ConvolutionData1D< Q > * nonstandard (Level n, Translation lx) const
 Returns a pointer to the cached nonstandard form of the operator. More...
 
phase (double R) const
 
phase (double_complex R) const
 
const Tensor< Q > & get_rnlp (Level n, Translation lx) const
 

Additional Inherited Members

- Public Types inherited from madness::Convolution1D< Q >
typedef Q opT
 The apply function uses this to infer resultT=opT*inputT. More...
 
- Public Attributes inherited from madness::Convolution1D< Q >
int k
 Wavelet order. More...
 
int npt
 Number of quadrature points (is this used?) More...
 
int maxR
 Number of lattice translations for sum. More...
 
Tensor< double > quad_x
 
Tensor< double > quad_w
 
Tensor< double > c
 
Tensor< double > hgT
 
Tensor< double > hg
 
Tensor< double > hgT2k
 
double arg
 
SimpleCache< Tensor< Q >, 1 > rnlp_cache
 
SimpleCache< Tensor< Q >, 1 > rnlij_cache
 
SimpleCache< ConvolutionData1D
< Q >, 1 > 
ns_cache
 
SimpleCache< ConvolutionData1D
< Q >, 2 > 
mod_ns_cache
 

Detailed Description

template<typename Q, typename opT>
class madness::GenericConvolution1D< Q, opT >

Generic 1D convolution using brute force (i.e., slow) adaptive quadrature for rnlp.

Calls op(x) with x in simulation coordinates to evaluate the function.

Constructor & Destructor Documentation

template<typename Q, typename opT>
madness::GenericConvolution1D< Q, opT >::GenericConvolution1D ( )
inline
template<typename Q, typename opT>
madness::GenericConvolution1D< Q, opT >::GenericConvolution1D ( int  k,
const opT op,
int  maxR,
double  arg = 0.0 
)
inline

Member Function Documentation

template<typename Q, typename opT>
bool madness::GenericConvolution1D< Q, opT >::issmall ( Level  n,
Translation  lx 
) const
inlinevirtual

Returns true if the block of rnlp is expected to be small.

Implements madness::Convolution1D< Q >.

References madness::GenericConvolution1D< Q, opT >::natural_level().

template<typename Q, typename opT>
virtual Level madness::GenericConvolution1D< Q, opT >::natural_level ( ) const
inlinevirtual
template<typename Q, typename opT>
Tensor<Q> madness::GenericConvolution1D< Q, opT >::rnlp ( Level  n,
Translation  lx 
) const
inlinevirtual

Compute the projection of the operator onto the double order polynomials.

Implements madness::Convolution1D< Q >.

References madness::adq1(), madness::Convolution1D< Q >::npt, madness::Convolution1D< Q >::quad_w, and madness::Convolution1D< Q >::quad_x.


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