MADNESS 0.10.1
Public Member Functions | Public Attributes | List of all members
madness::FunctionCommonFunctionality< T, NDIM > Class Template Reference

collect common functionality does not need to be member function of funcimpl More...

#include <function_common_data.h>

Public Member Functions

 FunctionCommonFunctionality (const FunctionCommonData< T, NDIM > &cdata)
 
 FunctionCommonFunctionality (const long k)
 
GenTensor< Tcoeffs2values (const Key< NDIM > &key, const GenTensor< T > &coeff) const
 
Tensor< Tcoeffs2values (const Key< NDIM > &key, const Tensor< T > &coeff) const
 
GenTensor< Tvalues2coeffs (const Key< NDIM > &key, const GenTensor< T > &values) const
 
Tensor< Tvalues2coeffs (const Key< NDIM > &key, const Tensor< T > &values) const
 

Public Attributes

const FunctionCommonData< T, NDIM > & cdata
 

Detailed Description

template<typename T, std::size_t NDIM>
class madness::FunctionCommonFunctionality< T, NDIM >

collect common functionality does not need to be member function of funcimpl

Constructor & Destructor Documentation

◆ FunctionCommonFunctionality() [1/2]

template<typename T , std::size_t NDIM>
madness::FunctionCommonFunctionality< T, NDIM >::FunctionCommonFunctionality ( const FunctionCommonData< T, NDIM > &  cdata)
inline

◆ FunctionCommonFunctionality() [2/2]

template<typename T , std::size_t NDIM>
madness::FunctionCommonFunctionality< T, NDIM >::FunctionCommonFunctionality ( const long  k)
inline

Member Function Documentation

◆ coeffs2values() [1/2]

template<typename T , std::size_t NDIM>
GenTensor< T > madness::FunctionCommonFunctionality< T, NDIM >::coeffs2values ( const Key< NDIM > &  key,
const GenTensor< T > &  coeff 
) const
inline

◆ coeffs2values() [2/2]

template<typename T , std::size_t NDIM>
Tensor< T > madness::FunctionCommonFunctionality< T, NDIM >::coeffs2values ( const Key< NDIM > &  key,
const Tensor< T > &  coeff 
) const
inline

◆ values2coeffs() [1/2]

template<typename T , std::size_t NDIM>
GenTensor< T > madness::FunctionCommonFunctionality< T, NDIM >::values2coeffs ( const Key< NDIM > &  key,
const GenTensor< T > &  values 
) const
inline

◆ values2coeffs() [2/2]

template<typename T , std::size_t NDIM>
Tensor< T > madness::FunctionCommonFunctionality< T, NDIM >::values2coeffs ( const Key< NDIM > &  key,
const Tensor< T > &  values 
) const
inline

Return the scaling function coeffs when given the function values at the quadrature points

Parameters
[in]keythe key of the function node (box)
Returns
function values for function node (box)

References madness::FunctionCommonFunctionality< T, NDIM >::cdata, madness::Key< NDIM >::level(), NDIM, pow(), madness::scale(), and madness::transform().

Referenced by madness::FunctionImpl< T, NDIM >::pointwise_multiplier< LDIM >::operator()(), and madness::FunctionImpl< T, NDIM >::pointwise_multiplier< LDIM >::operator()().

Member Data Documentation

◆ cdata

template<typename T , std::size_t NDIM>
const FunctionCommonData<T,NDIM>& madness::FunctionCommonFunctionality< T, NDIM >::cdata

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