MADNESS 0.10.1
madness::SeparatedConvolution< Q, NDIM > Class Template Reference

#include <operator.h>

Inheritance diagram for madness::SeparatedConvolution< Q, NDIM >:
Collaboration diagram for madness::SeparatedConvolution< Q, NDIM >:

Classes

struct  ApplyTerms
 laziness for calling lists: which terms to apply More...
struct  FitCoeffs
struct  Transformation
 too lazy for extended calling lists More...

Public Types

typedef Key< NDIM > keyT
typedef Q opT
 The apply function uses this to infer resultT=opT*inputT.
Public Types inherited from madness::WorldObject< SeparatedConvolution< Q, NDIM > >
typedef WorldObject< SeparatedConvolution< Q, NDIM > > objT

Public Member Functions

 SeparatedConvolution (World &world, const OperatorInfo info1, const std::array< LatticeRange, NDIM > &lattice_ranges=FunctionDefaults< NDIM >::get_bc().lattice_range(), int k=FunctionDefaults< NDIM >::get_k(), bool doleaves=false, const Vector< double, NDIM > &bloch_k=Vector< double, NDIM >(0.0))
 SeparatedConvolution (World &world, const std::vector< ConvolutionND< Q, NDIM > > &argops, long k=FunctionDefaults< NDIM >::get_k(), bool doleaves=false)
 SeparatedConvolution (World &world, const std::vector< std::shared_ptr< Convolution1D< Q > > > &argops, long k=FunctionDefaults< NDIM >::get_k(), bool doleaves=false)
 SeparatedConvolution (World &world, const Tensor< Q > &coeff, const Tensor< double > &expnt, double lo, double thresh, const std::array< LatticeRange, NDIM > &lattice_ranges=FunctionDefaults< NDIM >::get_bc().lattice_range(), int k=FunctionDefaults< NDIM >::get_k(), bool doleaves=false, double mu=0.0)
 Constructor for Gaussian Convolutions (mostly for backward compatability).
virtual ~SeparatedConvolution ()
template<typename T>
Tensor< TENSOR_RESULT_TYPE(T, Q)> apply (const Key< NDIM > &source, const Key< NDIM > &shift, const Tensor< T > &coeff, double tol) const
 apply this operator on coefficients in full rank form
template<typename T>
GenTensor< TENSOR_RESULT_TYPE(T, Q)> apply2 (const Key< NDIM > &source, const Key< NDIM > &shift, const GenTensor< T > &coeff, double tol, double tol2) const
 apply this operator on coefficients in low rank form
template<typename T>
GenTensor< TENSOR_RESULT_TYPE(T, Q)> apply2_lowdim (const Key< NDIM > &source, const Key< NDIM > &shift, const GenTensor< T > &coeff, double tol, double tol2) const
 apply this operator on only 1 particle of the coefficients in low rank form
bool & destructive ()
const bool & destructive () const
std::uint64_t displacement_distsq (const Key< NDIM > &displacement) const
double displacement_real_distsq (const Key< NDIM > &displacement) const
template<typename T>
double estimate_costs (const Key< NDIM > &source, const Key< NDIM > &shift, const GenTensor< T > &coeff, double tol, double tol2) const
 estimate the ratio of cost of full rank versus low rank
const array_of_bools< NDIM > & func_domain_is_periodic () const
const double & gamma () const
const std::vector< Key< NDIM > > & get_disp (Level n) const
int get_k () const
const std::vector< ConvolutionND< Q, NDIM > > & get_ops () const
const std::array< KernelRange, NDIM > & get_range () const
int get_rank () const
template<size_t FDIM>
std::enable_if< FDIM==NDIM, Key< NDIM > >::type get_source_key (const Key< FDIM > key) const
 return that part of a hi-dim key that serves as the base for displacements of this operator
template<size_t FDIM>
std::enable_if< FDIM!=NDIM, Key< NDIM > >::type get_source_key (const Key< FDIM > key) const
 return that part of a hi-dim key that serves as the base for displacements of this operator
bool images_only () const
void initialize (const Tensor< Q > &coeff, const Tensor< double > &expnt, std::array< LatticeRange, NDIM > lattice_range, std::array< KernelRange, NDIM > range={}, const Vector< double, NDIM > &bloch_k=Vector< double, NDIM >(0.0))
void initialize_images_only (const Tensor< Q > &coeff, const Tensor< double > &expnt, const Tensor< double > &dropped_coeff, const Tensor< double > &dropped_expnt, const std::array< LatticeRange, NDIM > &lattice_range, const std::array< KernelRange, NDIM > &range, const Vector< double, NDIM > &bloch_k)
 the rest-of-crystal operator: the lattice sum with the home cell (L = 0) removed
const array_of_bools< NDIM > & lattice_summed () const
TensorTrain< double > make_tt_representation (const Key< NDIM > &source, const Key< NDIM > &shift, double tol, bool do_R, bool do_T) const
 construct the tensortrain representation of the operator
bool & modified ()
const bool & modified () const
const double & mu () const
double norm (Level n, const Key< NDIM > &d, const Key< NDIM > &source_key) const
 return the operator norm for all terms, all dimensions and 1 displacement
double norm_bound (Level n, const Key< NDIM > &source_key) const
template<typename argT>
argT operator() (const argT &argument) const
 apply this onto another suitable argument, returning the same type
template<typename T, size_t FDIM>
Function< TENSOR_RESULT_TYPE(T, Q), FDIM > operator() (const Function< T, FDIM > &f) const
 apply this operator on a function f
template<typename T, size_t LDIM>
Function< TENSOR_RESULT_TYPE(T, Q), LDIM+LDIM > operator() (const Function< T, LDIM > &f1, const Function< Q, LDIM > &f2) const
 apply this operator on a separable function f(1,2) = f(1) f(2)
template<typename T, size_t FDIM>
std::vector< Function< TENSOR_RESULT_TYPE(T, Q), FDIM > > operator() (const std::vector< Function< T, FDIM > > &f) const
 apply this on a vector of functions
template<typename T, size_t LDIM>
Function< TENSOR_RESULT_TYPE(T, Q), LDIM+LDIM > operator() (const std::vector< Function< T, LDIM > > &f1, const std::vector< Function< Q, LDIM > > &f2) const
 apply this operator on a sum of separable functions f(1,2) = \sum_i f_i(1) f_i(2)
int & particle ()
const int & particle () const
void print_timer () const
bool range_restricted () const
void reset_timer () const
void set_domain_periodicity (const array_of_bools< NDIM > &domain_is_periodic)
SeparatedConvolution< Q, NDIM > & set_particle (const int p)
Public Member Functions inherited from madness::WorldObject< SeparatedConvolution< Q, NDIM > >
 WorldObject (const WorldObject &other)
virtual ~WorldObject ()
WorldObject & operator= (const WorldObject &)=delete
detail::task_result_type< memfnT >::futureT send (ProcessID dest, memfnT memfn) const
detail::task_result_type< memfnT >::futureT task (ProcessID dest, memfnT memfn, const TaskAttributes &attr=TaskAttributes()) const
 Sends task to derived class method returnT (this->*memfn)().
Public Member Functions inherited from madness::WorldObjectBase
virtual ~WorldObjectBase ()
World & get_world () const
World & get_world_noexcept () const noexcept
 Get the world to which this object belongs, without risking a throw.
const uniqueidT & id () const
 Returns the globally unique object ID.
bool world_is_alive () const noexcept
 Reports whether the world to which this object belongs still exists.

Static Public Member Functions

static bool can_combine (const SeparatedConvolution< Q, NDIM > &left, const SeparatedConvolution< Q, NDIM > &right)
static SeparatedConvolution< Q, NDIM > combine (const SeparatedConvolution< Q, NDIM > &left, const SeparatedConvolution< Q, NDIM > &right)
static SeparatedConvolution< Q, NDIM > combine_generic (World &world, const Tensor< Q > &cA, const Tensor< double > &aA, const Tensor< Q > &cB, const Tensor< double > &aB, double lo, double thresh, bool prune=true)
static std::pair< Tensor< Q >, Tensor< double > > combine_generic_coeffs (const Tensor< Q > &cA, const Tensor< double > &aA, const Tensor< Q > &cB, const Tensor< double > &aB, double lo, double thresh, bool prune=true)
static OperatorInfo combine_OT (const SeparatedConvolution< Q, NDIM > &left, const SeparatedConvolution< Q, NDIM > &right)
 return operator type and other info of the combined operator (e.g. fg = f(1,2)* g(1,2)

Public Attributes

bool destructive_ =false
 destroy the argument or restore it (expensive for 6d functions)
bool doleaves
 If should be applied to leaf coefficients ... false by default.
OperatorInfo info
bool modified_ =false
 use modified NS form
int particle_ =1
 must only be 1 or 2
bool print_timings =false
Tensor< Q > stored_coeffs
Tensor< double > stored_exponents
Timer timer_full
Timer timer_low_accumulate
Timer timer_low_transf
Timer timer_stats_accumulate

Static Public Attributes

static const size_t opdim =NDIM

Private Member Functions

template<typename T, typename R>
void apply_transformation (long dimk, const Transformation trans[NDIM], const Tensor< T > &f, Tensor< R > &work1, Tensor< R > &work2, const Q mufac, Tensor< R > &result) const
 

template<typename T, typename R>
void apply_transformation2 (Level n, long dimk, double tol, const Tensor< T > trans2[NDIM], const GenTensor< T > &f, GenTensor< R > &work1, GenTensor< R > &work2, const Q mufac, GenTensor< R > &result) const
 don't accumulate, since we want to do this at apply()
template<typename T, typename R>
void apply_transformation3 (const Tensor< T > trans2[NDIM], const Tensor< T > &f, const Q mufac, Tensor< R > &result) const
 accumulate into result
void check_cubic ()
const SeparatedConvolutionInternal< Q, NDIM > getmuop (int mu, Level n, const Key< NDIM > &disp) const
 get the transformation matrices for 1 term and all dimensions and one displacement
const SeparatedConvolutionInternal< Q, NDIM > getmuop_modified (int mu, Level n, const Key< NDIM > &disp, const Key< NDIM > &source) const
 get the transformation matrices for 1 term and all dimensions and one displacement
const SeparatedConvolutionData< Q, NDIM > * getop (Level n, const Key< NDIM > &d, const Key< NDIM > &source) const
 get the data for all terms and all dimensions for one displacement
const SeparatedConvolutionData< Q, NDIM > * getop_modified (Level n, const Key< NDIM > &disp, const Key< NDIM > &source) const
 get the data for all terms and all dimensions for one displacement (modified NS form)
const SeparatedConvolutionData< Q, NDIM > * getop_ns (Level n, const Key< NDIM > &d) const
 get the data for all terms and all dimensions for one displacement
void init_lattice_summed ()
void init_range ()
double munorm2 (Level n, const ConvolutionData1D< Q > *ops[]) const
double munorm2_modified (Level n, const ConvolutionData1D< Q > *ops_1d[]) const
double munorm2_ns (Level n, const ConvolutionData1D< Q > *ops[]) const
template<typename T>
void muopxv_fast (ApplyTerms at, const ConvolutionData1D< Q > *const ops_1d[NDIM], const Tensor< T > &f, const Tensor< T > &f0, Tensor< TENSOR_RESULT_TYPE(T, Q)> &result, Tensor< TENSOR_RESULT_TYPE(T, Q)> &result0, const double tol, const Q mufac, Tensor< TENSOR_RESULT_TYPE(T, Q)> &work1, Tensor< TENSOR_RESULT_TYPE(T, Q)> &work2) const
 Apply one of the separated terms, accumulating into the result.
template<typename T>
void muopxv_fast2 (Level n, const ConvolutionData1D< Q > *const ops_1d[NDIM], const GenTensor< T > &f, const GenTensor< T > &f0, GenTensor< TENSOR_RESULT_TYPE(T, Q)> &result, GenTensor< TENSOR_RESULT_TYPE(T, Q)> &result0, double tol, const Q mufac, GenTensor< TENSOR_RESULT_TYPE(T, Q)> &work1, GenTensor< TENSOR_RESULT_TYPE(T, Q)> &work2) const
 Apply one of the separated terms, accumulating into the result.
template<typename T, size_t FDIM>
GenTensor< T > partial_upsample (const Key< FDIM > &key, const GenTensor< T > &coeff, const int particle) const
 upsample some of the dimensions of coeff to its child indicated by key
template<typename T, size_t FDIM>
GenTensor< T > upsample (const Key< FDIM > &key, const GenTensor< T > &coeff) const
 upsample the sum coefficients of level 1 to sum coeffs on level n+1

Static Private Member Functions

static FitCoeffs make_coeff_for_operator (World &world, OperatorInfo &info, const std::array< LatticeRange, NDIM > &lattice_ranges)

Private Attributes

const FunctionCommonData< Q, NDIM > & cdata
SimpleCache< SeparatedConvolutionData< Q, NDIM >, NDIM > data
 cache for all terms, dims and displacements
array_of_bools< NDIM > func_domain_is_periodic_ {false}
 ignore periodicity of BC when applying this to function
bool images_only_ = false
 OperatorInfo::images_only as consumed at construction; what the 1D factors were built with.
const int k
array_of_bools< NDIM > lattice_summed_
SimpleCache< SeparatedConvolutionData< Q, NDIM >, 2 *NDIM > mod_data
 cache for all terms, dims and displacements
std::vector< ConvolutionND< Q, NDIM > > ops
 ConvolutionND keeps data for 1 term, all dimensions, 1 displacement.
std::array< KernelRange, NDIM > range
 kernel range is along axis d is limited by range[d] if it's nonnull
int rank
const std::vector< Slice > s0
const std::vector< long > v2k
const std::vector< long > vk

Friends

SeparatedConvolution< Q, NDIM > combine (const std::shared_ptr< SeparatedConvolution< Q, NDIM > > left, const std::shared_ptr< SeparatedConvolution< Q, NDIM > > right)
 combine 2 convolution operators to one

Additional Inherited Members

Protected Member Functions inherited from madness::WorldObject< SeparatedConvolution< Q, NDIM > >
void process_pending ()
 To be called from derived constructor to process pending messages.
Protected Member Functions inherited from madness::WorldObjectBase
 WorldObjectBase (const WorldObjectBase &other)
 Copy constructor; produces an unregistered object.
 WorldObjectBase (World &w)
 Construct a new WorldObjectBase.
World & get_world_unchecked () const noexcept
 Unchecked access to the memoized world reference.
template<typename DerivedT>
void register_self (DerivedT *this_ptr)
 Registers this object with its world, making it globally addressable.

Member Typedef Documentation

◆ keyT

template<typename Q, std::size_t NDIM>
typedef Key<NDIM> madness::SeparatedConvolution< Q, NDIM >::keyT

◆ opT

template<typename Q, std::size_t NDIM>
typedef Q madness::SeparatedConvolution< Q, NDIM >::opT

The apply function uses this to infer resultT=opT*inputT.

Constructor & Destructor Documentation

◆ SeparatedConvolution() [1/4]

template<typename Q, std::size_t NDIM>
madness::SeparatedConvolution< Q, NDIM >::SeparatedConvolution ( World & world,
const std::vector< std::shared_ptr< Convolution1D< Q > > > & argops,
long k = FunctionDefaults<NDIM>::get_k(),
bool doleaves = false )
inline

◆ SeparatedConvolution() [2/4]

template<typename Q, std::size_t NDIM>
madness::SeparatedConvolution< Q, NDIM >::SeparatedConvolution ( World & world,
const std::vector< ConvolutionND< Q, NDIM > > & argops,
long k = FunctionDefaults<NDIM>::get_k(),
bool doleaves = false )
inline

◆ SeparatedConvolution() [3/4]

template<typename Q, std::size_t NDIM>
madness::SeparatedConvolution< Q, NDIM >::SeparatedConvolution ( World & world,
const OperatorInfo info1,
const std::array< LatticeRange, NDIM > & lattice_ranges = FunctionDefaults<NDIM>::get_bc().lattice_range(),
int k = FunctionDefaults<NDIM>::get_k(),
bool doleaves = false,
const Vector< double, NDIM > & bloch_k = Vector<double, NDIM>(0.0) )
inline

Constructor for Gaussian Convolutions WARNING! bloch_k should only ever be nonzero if Q is a complex type.

◆ SeparatedConvolution() [4/4]

template<typename Q, std::size_t NDIM>
madness::SeparatedConvolution< Q, NDIM >::SeparatedConvolution ( World & world,
const Tensor< Q > & coeff,
const Tensor< double > & expnt,
double lo,
double thresh,
const std::array< LatticeRange, NDIM > & lattice_ranges = FunctionDefaults<NDIM>::get_bc().lattice_range(),
int k = FunctionDefaults<NDIM>::get_k(),
bool doleaves = false,
double mu = 0.0 )
inline

Constructor for Gaussian Convolutions (mostly for backward compatability).

◆ ~SeparatedConvolution()

template<typename Q, std::size_t NDIM>
virtual madness::SeparatedConvolution< Q, NDIM >::~SeparatedConvolution ( )
inlinevirtual

Member Function Documentation

◆ apply()

template<typename Q, std::size_t NDIM>
template<typename T>
Tensor< TENSOR_RESULT_TYPE(T, Q)> madness::SeparatedConvolution< Q, NDIM >::apply ( const Key< NDIM > & source,
const Key< NDIM > & shift,
const Tensor< T > & coeff,
double tol ) const
inline

apply this operator on coefficients in full rank form

Parameters
[in]coeffsource coeffs in full rank
[in]sourcethe source key
[in]shiftthe displacement, where the source coeffs come from
[in]tolthresh/#neigh*cnorm
Returns
a tensor of full rank with the result op(coeff)

SeparatedConvolutionData keeps data for all terms and all dimensions and 1 displacement

◆ apply2()

template<typename Q, std::size_t NDIM>
template<typename T>
GenTensor< TENSOR_RESULT_TYPE(T, Q)> madness::SeparatedConvolution< Q, NDIM >::apply2 ( const Key< NDIM > & source,
const Key< NDIM > & shift,
const GenTensor< T > & coeff,
double tol,
double tol2 ) const
inline

apply this operator on coefficients in low rank form

Parameters
[in]coeffsource coeffs in SVD (=optimal!) form
[in]tolthresh/#neigh*cnorm
[in]tol2thresh/#neigh

◆ apply2_lowdim()

template<typename Q, std::size_t NDIM>
template<typename T>
GenTensor< TENSOR_RESULT_TYPE(T, Q)> madness::SeparatedConvolution< Q, NDIM >::apply2_lowdim ( const Key< NDIM > & source,
const Key< NDIM > & shift,
const GenTensor< T > & coeff,
double tol,
double tol2 ) const
inline

apply this operator on only 1 particle of the coefficients in low rank form

note the unfortunate mess with NDIM: here NDIM is the operator dimension, and FDIM is the function's dimension, whereas in the function we have OPDIM for the operator and NDIM for the function

Template Parameters
Tthe dimension of the function this operator is applied on.
Todo
MGR: Make sure info on T is correct. Was previously labeled FDIM.
Parameters
[in]coeffsource coeffs in SVD (=optimal!) form, in high dimensionality (FDIM)
[in]sourcethe source key in low dimensionality (NDIM)
[in]shiftthe displacement in low dimensionality (NDIM)
[in]tolthresh/(#neigh*cnorm)
[in]tol2thresh/#neigh
Returns
coeff result

◆ apply_transformation()

template<typename Q, std::size_t NDIM>
template<typename T, typename R>
void madness::SeparatedConvolution< Q, NDIM >::apply_transformation ( long dimk,
const Transformation trans[NDIM],
const Tensor< T > & f,
Tensor< R > & work1,
Tensor< R > & work2,
const Q mufac,
Tensor< R > & result ) const
inlineprivate

accumulate into result

Referenced by madness::SeparatedConvolution< double, 3 >::muopxv_fast().

◆ apply_transformation2()

template<typename Q, std::size_t NDIM>
template<typename T, typename R>
void madness::SeparatedConvolution< Q, NDIM >::apply_transformation2 ( Level n,
long dimk,
double tol,
const Tensor< T > trans2[NDIM],
const GenTensor< T > & f,
GenTensor< R > & work1,
GenTensor< R > & work2,
const Q mufac,
GenTensor< R > & result ) const
inlineprivate

don't accumulate, since we want to do this at apply()

Referenced by madness::SeparatedConvolution< double, 3 >::muopxv_fast2().

◆ apply_transformation3()

template<typename Q, std::size_t NDIM>
template<typename T, typename R>
void madness::SeparatedConvolution< Q, NDIM >::apply_transformation3 ( const Tensor< T > trans2[NDIM],
const Tensor< T > & f,
const Q mufac,
Tensor< R > & result ) const
inlineprivate

accumulate into result

◆ can_combine()

template<typename Q, std::size_t NDIM>
bool madness::SeparatedConvolution< Q, NDIM >::can_combine ( const SeparatedConvolution< Q, NDIM > & left,
const SeparatedConvolution< Q, NDIM > & right )
inlinestatic

◆ check_cubic()

template<typename Q, std::size_t NDIM>
void madness::SeparatedConvolution< Q, NDIM >::check_cubic ( )
inlineprivate

◆ combine()

template<typename Q, std::size_t NDIM>
SeparatedConvolution< Q, NDIM > madness::SeparatedConvolution< Q, NDIM >::combine ( const SeparatedConvolution< Q, NDIM > & left,
const SeparatedConvolution< Q, NDIM > & right )
inlinestatic

combine 2 convolution operators to one There's some information loss with this constructor - not recommended

Referenced by madness::SeparatedConvolution< double, 3 >::combine, and madness::LRFunctorF12< T, NDIM, LDIM >::norm2().

◆ combine_generic()

template<typename Q, std::size_t NDIM>
SeparatedConvolution< Q, NDIM > madness::SeparatedConvolution< Q, NDIM >::combine_generic ( World & world,
const Tensor< Q > & cA,
const Tensor< double > & aA,
const Tensor< Q > & cB,
const Tensor< double > & aB,
double lo,
double thresh,
bool prune = true )
inlinestatic

Generic product of two SepConvs via outer product of their (c, α)

Thin wrapper around combine_generic_coeffs that wraps the result into a SeparatedConvolution. The resulting operator has info.type = OT_UNDEFINED; specialized combine rules are preferred where available. See combine_generic_coeffs for semantics.

Parameters
[in]worldworld for the resulting SepConv
[in]cA,aAoperator A's (c, α)
[in]cB,aBoperator B's (c, α)
[in]lolength scale to pass to the resulting SepConv
[in]threshprecision of the resulting SepConv
[in]pruneenable coefficient-threshold pruning
Returns
SepConv representing A·B as a sum of Gaussians

Referenced by madness::LRFunctorF12< T, NDIM, LDIM >::norm2(), and test_combine_generic().

◆ combine_generic_coeffs()

template<typename Q, std::size_t NDIM>
std::pair< Tensor< Q >, Tensor< double > > madness::SeparatedConvolution< Q, NDIM >::combine_generic_coeffs ( const Tensor< Q > & cA,
const Tensor< double > & aA,
const Tensor< Q > & cB,
const Tensor< double > & aB,
double lo,
double thresh,
bool prune = true )
inlinestatic

Generic product of two Gaussian expansions: (c, α) tensors only

For A(r) = Σ_i cA[i] exp(-αA[i] r²), B(r) = Σ_j cB[j] exp(-αB[j] r²) the exact product is (A·B)(r) = Σ_{i,j} (cA[i] cB[j]) exp(-(αA[i]+αB[j]) r²). Rank before pruning is rank(A)·rank(B). Terms whose contribution |c| · exp(-α lo²) falls below 0.01·thresh are dropped when prune is true.

Parameters
[in]cA,aAcoefficient / exponent tensors of operator A
[in]cB,aBcoefficient / exponent tensors of operator B
[in]lolength scale (used only for the pruning bound)
[in]threshprecision threshold (controls pruning)
[in]pruneenable coefficient-threshold pruning (default on)
Returns
(c, α) tensors of the combined operator

Referenced by madness::SeparatedConvolution< double, 3 >::combine_generic(), and test_combine_generic().

◆ combine_OT()

template<typename Q, std::size_t NDIM>
OperatorInfo madness::SeparatedConvolution< Q, NDIM >::combine_OT ( const SeparatedConvolution< Q, NDIM > & left,
const SeparatedConvolution< Q, NDIM > & right )
inlinestatic

◆ destructive() [1/2]

template<typename Q, std::size_t NDIM>
bool & madness::SeparatedConvolution< Q, NDIM >::destructive ( )
inline

◆ destructive() [2/2]

template<typename Q, std::size_t NDIM>
const bool & madness::SeparatedConvolution< Q, NDIM >::destructive ( ) const
inline

◆ displacement_distsq()

template<typename Q, std::size_t NDIM>
std::uint64_t madness::SeparatedConvolution< Q, NDIM >::displacement_distsq ( const Key< NDIM > & displacement) const
inline

like displacement_real_distsq() but in boxes (Key::distsq_bc / Key::distsq_images); do_apply subdivides the shell of touching boxes (real distance 0) by it

Referenced by madness::SeparatedConvolution< double, 3 >::norm_bound().

◆ displacement_real_distsq()

template<typename Q, std::size_t NDIM>
double madness::SeparatedConvolution< Q, NDIM >::displacement_real_distsq ( const Key< NDIM > & displacement) const
inline

the real-space distance (squared, in the units of Key::real_distsq) between the source and a displaced target, in the metric the kernel decays with FunctionImpl::do_apply groups get_disp() into shells of this distance and stops at the first shell that contributes nothing. For a kernel that decays away from the source that is the distance modulo the lattice (Key::real_distsq_bc). The rest-of-crystal kernel (OperatorInfo::images_only) vanishes near the source and decays away from the nearest lattice image other than the home cell, so its distance is to that image (Key::real_distsq_images). get_disp() is ordered by the same metric.

Referenced by madness::SeparatedConvolution< double, 3 >::norm_bound().

◆ estimate_costs()

template<typename Q, std::size_t NDIM>
template<typename T>
double madness::SeparatedConvolution< Q, NDIM >::estimate_costs ( const Key< NDIM > & source,
const Key< NDIM > & shift,
const GenTensor< T > & coeff,
double tol,
double tol2 ) const
inline

estimate the ratio of cost of full rank versus low rank

Parameters
[in]sourcesource key
[in]shiftdisplacement
[in]tolthresh/#neigh/cnorm
[in]tol2thresh/#neigh
Returns
cost_ratio r=-1: no terms left 0<r<1: better to do full rank 1<r: better to do low rank

◆ func_domain_is_periodic()

template<typename Q, std::size_t NDIM>
const array_of_bools< NDIM > & madness::SeparatedConvolution< Q, NDIM >::func_domain_is_periodic ( ) const
inline
Returns
flag for each axis indicating whether functions that this op acts on are periodic on the box in that direction (false by default) it is normally preferred to lattice sum, obtaining an equivalent problem with a lattice-summed operator on a non-periodic function

◆ gamma()

template<typename Q, std::size_t NDIM>
const double & madness::SeparatedConvolution< Q, NDIM >::gamma ( ) const
inline

◆ get_disp()

template<typename Q, std::size_t NDIM>
const std::vector< Key< NDIM > > & madness::SeparatedConvolution< Q, NDIM >::get_disp ( Level n) const
inline

the displacements in the order FunctionImpl::do_apply visits them: of increasing distance in the metric the kernel decays with, see displacement_real_distsq()

Referenced by madness::SeparatedConvolution< double, 3 >::init_lattice_summed(), and madness::SeparatedConvolution< double, 3 >::norm_bound().

◆ get_k()

template<typename Q, std::size_t NDIM>
int madness::SeparatedConvolution< Q, NDIM >::get_k ( ) const
inline

◆ get_ops()

template<typename Q, std::size_t NDIM>
const std::vector< ConvolutionND< Q, NDIM > > & madness::SeparatedConvolution< Q, NDIM >::get_ops ( ) const
inline

Referenced by main().

◆ get_range()

template<typename Q, std::size_t NDIM>
const std::array< KernelRange, NDIM > & madness::SeparatedConvolution< Q, NDIM >::get_range ( ) const
inline

Referenced by main().

◆ get_rank()

template<typename Q, std::size_t NDIM>
int madness::SeparatedConvolution< Q, NDIM >::get_rank ( ) const
inline

Referenced by main().

◆ get_source_key() [1/2]

template<typename Q, std::size_t NDIM>
template<size_t FDIM>
std::enable_if< FDIM==NDIM, Key< NDIM > >::type madness::SeparatedConvolution< Q, NDIM >::get_source_key ( const Key< FDIM > key) const
inline

return that part of a hi-dim key that serves as the base for displacements of this operator

if the function and the operator have the same dimension return key if the function has a higher dimension than the operator (e.g. in the exchange operator) return only that part of key that corresponds to the particle this operator works on

Parameters
[in]keyhi-dim key
Returns
a lo-dim part of key; typically first or second half

◆ get_source_key() [2/2]

template<typename Q, std::size_t NDIM>
template<size_t FDIM>
std::enable_if< FDIM!=NDIM, Key< NDIM > >::type madness::SeparatedConvolution< Q, NDIM >::get_source_key ( const Key< FDIM > key) const
inline

return that part of a hi-dim key that serves as the base for displacements of this operator

if the function and the operator have the same dimension return key if the function has a higher dimension than the operator (e.g. in the exchange operator) return only that part of key that corresponds to the particle this operator works on

Parameters
[in]keyhi-dim key
Returns
a lo-dim part of key; typically first or second half

◆ getmuop()

template<typename Q, std::size_t NDIM>
const SeparatedConvolutionInternal< Q, NDIM > madness::SeparatedConvolution< Q, NDIM >::getmuop ( int mu,
Level n,
const Key< NDIM > & disp ) const
inlineprivate

get the transformation matrices for 1 term and all dimensions and one displacement

use ConvolutionND, which uses ConvolutionData1D to collect the transformation matrices

Referenced by madness::SeparatedConvolution< double, 3 >::getop_ns().

◆ getmuop_modified()

template<typename Q, std::size_t NDIM>
const SeparatedConvolutionInternal< Q, NDIM > madness::SeparatedConvolution< Q, NDIM >::getmuop_modified ( int mu,
Level n,
const Key< NDIM > & disp,
const Key< NDIM > & source ) const
inlineprivate

get the transformation matrices for 1 term and all dimensions and one displacement

use ConvolutionND, which uses ConvolutionData1D to collect the transformation matrices

◆ getop()

◆ getop_modified()

template<typename Q, std::size_t NDIM>
const SeparatedConvolutionData< Q, NDIM > * madness::SeparatedConvolution< Q, NDIM >::getop_modified ( Level n,
const Key< NDIM > & disp,
const Key< NDIM > & source ) const
inlineprivate

get the data for all terms and all dimensions for one displacement (modified NS form)

remember that the operator in the modified NS form is not Toeplitz, so we need information about the displacement and the source key

Parameters
[in]nlevel (=scale) (actually redundant, since included in source)
[in]dispdisplacement key
[in]sourcesource key
Returns
pointer to cached operator

Referenced by madness::SeparatedConvolution< double, 3 >::getop().

◆ getop_ns()

template<typename Q, std::size_t NDIM>
const SeparatedConvolutionData< Q, NDIM > * madness::SeparatedConvolution< Q, NDIM >::getop_ns ( Level n,
const Key< NDIM > & d ) const
inlineprivate

get the data for all terms and all dimensions for one displacement

uses SeparatedConvolutionInternal (ConvolutionND, ConvolutionData1D) to construct the transformation matrices.

Parameters
[in]ddisplacement
Returns
pointer to cached operator

Referenced by madness::SeparatedConvolution< double, 3 >::getop().

◆ images_only()

template<typename Q, std::size_t NDIM>
bool madness::SeparatedConvolution< Q, NDIM >::images_only ( ) const
inline
Returns
true if this is the rest-of-crystal operator (OperatorInfo::images_only at construction)

Referenced by madness::SeparatedConvolution< double, 3 >::combine().

◆ init_lattice_summed()

◆ init_range()

template<typename Q, std::size_t NDIM>
void madness::SeparatedConvolution< Q, NDIM >::init_range ( )
inlineprivate

◆ initialize()

template<typename Q, std::size_t NDIM>
void madness::SeparatedConvolution< Q, NDIM >::initialize ( const Tensor< Q > & coeff,
const Tensor< double > & expnt,
std::array< LatticeRange, NDIM > lattice_range,
std::array< KernelRange, NDIM > range = {},
const Vector< double, NDIM > & bloch_k = Vector<double, NDIM>(0.0) )
inline

◆ initialize_images_only()

template<typename Q, std::size_t NDIM>
void madness::SeparatedConvolution< Q, NDIM >::initialize_images_only ( const Tensor< Q > & coeff,
const Tensor< double > & expnt,
const Tensor< double > & dropped_coeff,
const Tensor< double > & dropped_expnt,
const std::array< LatticeRange, NDIM > & lattice_range,
const std::array< KernelRange, NDIM > & range,
const Vector< double, NDIM > & bloch_k )
inline

the rest-of-crystal operator: the lattice sum with the home cell (L = 0) removed

Removing one lattice vector is not "drop R = 0 on every axis": that also drops every image with any zero component, and for a chain periodic along z the only images at all are (0, 0, n_z). Sum instead over the 2^p - 1 nonzero bit patterns of the p lattice-summed axes; in each pattern an axis whose bit is set sums R != 0 and one whose bit is clear takes R = 0 only. Term by term the fit is the one the full lattice sum uses, so full == home + images exactly, with no cancellation anywhere. Every term keeps the same lattice_summed() pattern, so init_lattice_summed() holds and the displacements stay on the non-periodic domain. Non-periodic axes get the ordinary plain factor.

An infinite lattice sum drops the low-exponent Gaussians of the fit (make_coeff_for_operator): their lattice sum is flat over the cell, a gauge constant. Their home-cell part is not flat, and a home operator built from the full fit keeps it. So that home(full fit) + images still equals the lattice sum up to that gauge constant, the dropped terms enter here as home-only terms with negated coefficients: the operator is then exactly (lattice sum as MADNESS computes it) - (home cell with the full kernel). Measured on a 1D-periodic H10 chain, L = 18 bohr: without this, the 15 dropped terms shift the periodic energy correction by 3e-5 Ha.

The identity is term by term only if the home operator is built from the same fit. make_coeff_for_operator extends the fit range when either the operator or the default boundary conditions are periodic, so build the home operator under the same default boundary conditions as this one (as test_images_operator does); otherwise the identity holds to the fit accuracy.

Referenced by madness::SeparatedConvolution< double, 3 >::SeparatedConvolution().

◆ lattice_summed()

template<typename Q, std::size_t NDIM>
const array_of_bools< NDIM > & madness::SeparatedConvolution< Q, NDIM >::lattice_summed ( ) const
inline

◆ make_coeff_for_operator()

template<typename Q, std::size_t NDIM>
FitCoeffs madness::SeparatedConvolution< Q, NDIM >::make_coeff_for_operator ( World & world,
OperatorInfo & info,
const std::array< LatticeRange, NDIM > & lattice_ranges )
inlinestaticprivate

◆ make_tt_representation()

template<typename Q, std::size_t NDIM>
TensorTrain< double > madness::SeparatedConvolution< Q, NDIM >::make_tt_representation ( const Key< NDIM > & source,
const Key< NDIM > & shift,
double tol,
bool do_R,
bool do_T ) const
inline

construct the tensortrain representation of the operator

Parameters
[in]sourcesource coefficient box
[in]shiftdisplacement
[in]tolthreshold for the TT truncation
[in]do_Rcompute the R term of the operator (2k^d)
[in]do_Tcompute the T term of the operator (k^d), including factor -1 Both do_R and do_T may be used simultaneously, then the final operator will have dimensions (2k^d)

◆ modified() [1/2]

◆ modified() [2/2]

template<typename Q, std::size_t NDIM>
const bool & madness::SeparatedConvolution< Q, NDIM >::modified ( ) const
inline

◆ mu()

template<typename Q, std::size_t NDIM>
const double & madness::SeparatedConvolution< Q, NDIM >::mu ( ) const
inline

◆ munorm2()

template<typename Q, std::size_t NDIM>
double madness::SeparatedConvolution< Q, NDIM >::munorm2 ( Level n,
const ConvolutionData1D< Q > * ops[] ) const
inlineprivate

Computes the Frobenius norm of one of the separated terms ... WITHOUT FACTOR INCLUDED compute for 1 term, all dim, 1 disp, essentially for SeparatedConvolutionInternal

Referenced by madness::SeparatedConvolution< double, 3 >::getmuop(), and madness::SeparatedConvolution< double, 3 >::getmuop_modified().

◆ munorm2_modified()

template<typename Q, std::size_t NDIM>
double madness::SeparatedConvolution< Q, NDIM >::munorm2_modified ( Level n,
const ConvolutionData1D< Q > * ops_1d[] ) const
inlineprivate

Computes the operator norm of one of the separated terms of the modified NS form ... WITHOUT FACTOR INCLUDED compute for 1 term, all dim, 1 disp, essentially for SeparatedConvolutionInternal

Referenced by madness::SeparatedConvolution< double, 3 >::munorm2().

◆ munorm2_ns()

template<typename Q, std::size_t NDIM>
double madness::SeparatedConvolution< Q, NDIM >::munorm2_ns ( Level n,
const ConvolutionData1D< Q > * ops[] ) const
inlineprivate

Computes the Frobenius norm of one of the separated terms for the NS form ... WITHOUT FACTOR INCLUDED compute for 1 term, all dim, 1 disp, essentially for SeparatedConvolutionInternal

Referenced by madness::SeparatedConvolution< double, 3 >::munorm2().

◆ muopxv_fast()

template<typename Q, std::size_t NDIM>
template<typename T>
void madness::SeparatedConvolution< Q, NDIM >::muopxv_fast ( ApplyTerms at,
const ConvolutionData1D< Q > *const ops_1d[NDIM],
const Tensor< T > & f,
const Tensor< T > & f0,
Tensor< TENSOR_RESULT_TYPE(T, Q)> & result,
Tensor< TENSOR_RESULT_TYPE(T, Q)> & result0,
const double tol,
const Q mufac,
Tensor< TENSOR_RESULT_TYPE(T, Q)> & work1,
Tensor< TENSOR_RESULT_TYPE(T, Q)> & work2 ) const
inlineprivate

Apply one of the separated terms, accumulating into the result.

Referenced by madness::SeparatedConvolution< double, 3 >::apply(), and madness::SeparatedConvolution< double, 3 >::apply2_lowdim().

◆ muopxv_fast2()

template<typename Q, std::size_t NDIM>
template<typename T>
void madness::SeparatedConvolution< Q, NDIM >::muopxv_fast2 ( Level n,
const ConvolutionData1D< Q > *const ops_1d[NDIM],
const GenTensor< T > & f,
const GenTensor< T > & f0,
GenTensor< TENSOR_RESULT_TYPE(T, Q)> & result,
GenTensor< TENSOR_RESULT_TYPE(T, Q)> & result0,
double tol,
const Q mufac,
GenTensor< TENSOR_RESULT_TYPE(T, Q)> & work1,
GenTensor< TENSOR_RESULT_TYPE(T, Q)> & work2 ) const
inlineprivate

Apply one of the separated terms, accumulating into the result.

Referenced by madness::SeparatedConvolution< double, 3 >::apply2().

◆ norm()

template<typename Q, std::size_t NDIM>
double madness::SeparatedConvolution< Q, NDIM >::norm ( Level n,
const Key< NDIM > & d,
const Key< NDIM > & source_key ) const
inline

return the operator norm for all terms, all dimensions and 1 displacement

Referenced by main(), and madness::SeparatedConvolution< double, 3 >::norm_bound().

◆ norm_bound()

template<typename Q, std::size_t NDIM>
double madness::SeparatedConvolution< Q, NDIM >::norm_bound ( Level n,
const Key< NDIM > & source_key ) const
inline

the largest of norm(n, d, source_key) over the displacements d: a bound on what any one displacement can contribute from a source node at level n FunctionImpl screens a source node against this before visiting any displacement. For a kernel that decays away from the source it is the block at the zero displacement. The rest-of-crystal kernel (OperatorInfo::images_only) is largest one box from an image, and on which axis depends on the cell: the axis-adjacent blocks all touch their image, and the narrower the axis the smaller the separations its block integrates over. So take the max over the image-adjacent displacements, which lead get_disp(n) (real distance 0, one box; see Displacements::sort_displacements_images).

◆ operator()() [1/5]

template<typename Q, std::size_t NDIM>
template<typename argT>
argT madness::SeparatedConvolution< Q, NDIM >::operator() ( const argT & argument) const
inline

apply this onto another suitable argument, returning the same type

argT must implement argT::apply(const SeparatedConvolution& op, const argT& arg)

◆ operator()() [2/5]

template<typename Q, std::size_t NDIM>
template<typename T, size_t FDIM>
Function< TENSOR_RESULT_TYPE(T, Q), FDIM > madness::SeparatedConvolution< Q, NDIM >::operator() ( const Function< T, FDIM > & f) const
inline

apply this operator on a function f

the operator does not need to have the same dimension as the function, e,g, the Poisson kernel for the exchange operator acts only on 1 electron of a given (pair) function.

Parameters
[in]fa function of same or different dimension as this operator
Returns
the result function of the same dimensionality as the input function f

◆ operator()() [3/5]

template<typename Q, std::size_t NDIM>
template<typename T, size_t LDIM>
Function< TENSOR_RESULT_TYPE(T, Q), LDIM+LDIM > madness::SeparatedConvolution< Q, NDIM >::operator() ( const Function< T, LDIM > & f1,
const Function< Q, LDIM > & f2 ) const
inline

apply this operator on a separable function f(1,2) = f(1) f(2)

Parameters
[in]f1a function of dim LDIM
[in]f2a function of dim LDIM
Returns
the result function of dim NDIM=2*LDIM: g(1,2) = G(1,1',2,2') f(1',2')

◆ operator()() [4/5]

template<typename Q, std::size_t NDIM>
template<typename T, size_t FDIM>
std::vector< Function< TENSOR_RESULT_TYPE(T, Q), FDIM > > madness::SeparatedConvolution< Q, NDIM >::operator() ( const std::vector< Function< T, FDIM > > & f) const
inline

apply this on a vector of functions

◆ operator()() [5/5]

template<typename Q, std::size_t NDIM>
template<typename T, size_t LDIM>
Function< TENSOR_RESULT_TYPE(T, Q), LDIM+LDIM > madness::SeparatedConvolution< Q, NDIM >::operator() ( const std::vector< Function< T, LDIM > > & f1,
const std::vector< Function< Q, LDIM > > & f2 ) const
inline

apply this operator on a sum of separable functions f(1,2) = \sum_i f_i(1) f_i(2)

Parameters
[in]f1a function of dim LDIM
[in]f2a function of dim LDIM
Returns
the result function of dim NDIM=2*LDIM: g(1,2) = G(1,1',2,2') f(1',2')

◆ partial_upsample()

template<typename Q, std::size_t NDIM>
template<typename T, size_t FDIM>
GenTensor< T > madness::SeparatedConvolution< Q, NDIM >::partial_upsample ( const Key< FDIM > & key,
const GenTensor< T > & coeff,
const int particle ) const
inlineprivate

upsample some of the dimensions of coeff to its child indicated by key

Parameters
[in]coeffthe coeffs of dim 2*NDIM that will be upsampled
[in]keythe key indicating the child – only some dimensions will be "reproductive"
[in]particleif 0: upsample dimensions 0-2 if 1: upsample dimensions 3-5
Returns
a partially upsampled coefficient tensor

◆ particle() [1/2]

◆ particle() [2/2]

template<typename Q, std::size_t NDIM>
const int & madness::SeparatedConvolution< Q, NDIM >::particle ( ) const
inline

◆ print_timer()

template<typename Q, std::size_t NDIM>
void madness::SeparatedConvolution< Q, NDIM >::print_timer ( ) const
inline

◆ range_restricted()

template<typename Q, std::size_t NDIM>
bool madness::SeparatedConvolution< Q, NDIM >::range_restricted ( ) const
inline

◆ reset_timer()

template<typename Q, std::size_t NDIM>
void madness::SeparatedConvolution< Q, NDIM >::reset_timer ( ) const
inline

◆ set_domain_periodicity()

template<typename Q, std::size_t NDIM>
void madness::SeparatedConvolution< Q, NDIM >::set_domain_periodicity ( const array_of_bools< NDIM > & domain_is_periodic)
inline

changes domain periodicity

Parameters
domain_is_periodic

Referenced by main(), and test_gconv().

◆ set_particle()

template<typename Q, std::size_t NDIM>
SeparatedConvolution< Q, NDIM > & madness::SeparatedConvolution< Q, NDIM >::set_particle ( const int p)
inline

◆ upsample()

template<typename Q, std::size_t NDIM>
template<typename T, size_t FDIM>
GenTensor< T > madness::SeparatedConvolution< Q, NDIM >::upsample ( const Key< FDIM > & key,
const GenTensor< T > & coeff ) const
inlineprivate

upsample the sum coefficients of level 1 to sum coeffs on level n+1

specialization of the unfilter method, will transform only the sum coefficients

Parameters
[in]keykey of level n+1
[in]coeffsum coefficients of level n (does NOT belong to key!!)
Returns
sum coefficients on level n+1

◆ combine

template<typename Q, std::size_t NDIM>
SeparatedConvolution< Q, NDIM > combine ( const std::shared_ptr< SeparatedConvolution< Q, NDIM > > left,
const std::shared_ptr< SeparatedConvolution< Q, NDIM > > right )
friend

combine 2 convolution operators to one

Member Data Documentation

◆ cdata

template<typename Q, std::size_t NDIM>
const FunctionCommonData<Q,NDIM>& madness::SeparatedConvolution< Q, NDIM >::cdata
private

◆ data

template<typename Q, std::size_t NDIM>
SimpleCache< SeparatedConvolutionData<Q,NDIM>, NDIM > madness::SeparatedConvolution< Q, NDIM >::data
mutableprivate

cache for all terms, dims and displacements

◆ destructive_

template<typename Q, std::size_t NDIM>
bool madness::SeparatedConvolution< Q, NDIM >::destructive_ =false

destroy the argument or restore it (expensive for 6d functions)

◆ doleaves

template<typename Q, std::size_t NDIM>
bool madness::SeparatedConvolution< Q, NDIM >::doleaves

If should be applied to leaf coefficients ... false by default.

◆ func_domain_is_periodic_

template<typename Q, std::size_t NDIM>
array_of_bools<NDIM> madness::SeparatedConvolution< Q, NDIM >::func_domain_is_periodic_ {false}
private

ignore periodicity of BC when applying this to function

If domain_is_periodic_[d]==false and lattice_summed_[d]==false,

◆ images_only_

template<typename Q, std::size_t NDIM>
bool madness::SeparatedConvolution< Q, NDIM >::images_only_ = false
private

OperatorInfo::images_only as consumed at construction; what the 1D factors were built with.

◆ info

◆ k

template<typename Q, std::size_t NDIM>
const int madness::SeparatedConvolution< Q, NDIM >::k
private

◆ lattice_summed_

template<typename Q, std::size_t NDIM>
array_of_bools<NDIM> madness::SeparatedConvolution< Q, NDIM >::lattice_summed_
private

If lattice_summed_[d] is true, sum over lattice translations along axis d N.B. the resulting kernel can be non-zero at both ends of the simulation cell along that axis

◆ mod_data

template<typename Q, std::size_t NDIM>
SimpleCache< SeparatedConvolutionData<Q,NDIM>, 2*NDIM > madness::SeparatedConvolution< Q, NDIM >::mod_data
mutableprivate

cache for all terms, dims and displacements

◆ modified_

template<typename Q, std::size_t NDIM>
bool madness::SeparatedConvolution< Q, NDIM >::modified_ =false

use modified NS form

◆ opdim

template<typename Q, std::size_t NDIM>
const size_t madness::SeparatedConvolution< Q, NDIM >::opdim =NDIM
static

◆ ops

template<typename Q, std::size_t NDIM>
std::vector< ConvolutionND<Q,NDIM> > madness::SeparatedConvolution< Q, NDIM >::ops
mutableprivate

ConvolutionND keeps data for 1 term, all dimensions, 1 displacement.

◆ particle_

template<typename Q, std::size_t NDIM>
int madness::SeparatedConvolution< Q, NDIM >::particle_ =1

must only be 1 or 2

◆ print_timings

template<typename Q, std::size_t NDIM>
bool madness::SeparatedConvolution< Q, NDIM >::print_timings =false

◆ range

template<typename Q, std::size_t NDIM>
std::array<KernelRange, NDIM> madness::SeparatedConvolution< Q, NDIM >::range
private

kernel range is along axis d is limited by range[d] if it's nonnull

◆ rank

◆ s0

template<typename Q, std::size_t NDIM>
const std::vector<Slice> madness::SeparatedConvolution< Q, NDIM >::s0
private

◆ stored_coeffs

template<typename Q, std::size_t NDIM>
Tensor<Q> madness::SeparatedConvolution< Q, NDIM >::stored_coeffs

cached Gaussian-expansion coefficients/exponents (for combine_generic and introspection). Populated by the (coeff, expnt, ...) ctor and by the OperatorInfo ctor. May be empty for ctors that do not have access to the raw (c, α) data.

Referenced by madness::LRFunctorF12< T, NDIM, LDIM >::norm2().

◆ stored_exponents

template<typename Q, std::size_t NDIM>
Tensor<double> madness::SeparatedConvolution< Q, NDIM >::stored_exponents

◆ timer_full

template<typename Q, std::size_t NDIM>
Timer madness::SeparatedConvolution< Q, NDIM >::timer_full

◆ timer_low_accumulate

template<typename Q, std::size_t NDIM>
Timer madness::SeparatedConvolution< Q, NDIM >::timer_low_accumulate

◆ timer_low_transf

template<typename Q, std::size_t NDIM>
Timer madness::SeparatedConvolution< Q, NDIM >::timer_low_transf

◆ timer_stats_accumulate

template<typename Q, std::size_t NDIM>
Timer madness::SeparatedConvolution< Q, NDIM >::timer_stats_accumulate

◆ v2k

template<typename Q, std::size_t NDIM>
const std::vector<long> madness::SeparatedConvolution< Q, NDIM >::v2k
private

◆ vk

template<typename Q, std::size_t NDIM>
const std::vector<long> madness::SeparatedConvolution< Q, NDIM >::vk
private

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