MADNESS 0.10.1
madness::LowRankFunctionFactory< T, NDIM, LDIM >::ThreshGuard Struct Reference

RAII guard for temporarily changing FunctionDefaults and functor thresh. More...

#include <lowrankfunction.h>

Public Member Functions

 ThreshGuard (double tight, LRFunctorBase< T, NDIM > &f)
 ~ThreshGuard ()

Public Attributes

LRFunctorBase< T, NDIM > & functor
double orig_ld
double orig_nd

Detailed Description

template<typename T, std::size_t NDIM, std::size_t LDIM = NDIM/2>
struct madness::LowRankFunctionFactory< T, NDIM, LDIM >::ThreshGuard

RAII guard for temporarily changing FunctionDefaults and functor thresh.

Constructor & Destructor Documentation

◆ ThreshGuard()

template<typename T, std::size_t NDIM, std::size_t LDIM = NDIM/2>
madness::LowRankFunctionFactory< T, NDIM, LDIM >::ThreshGuard::ThreshGuard ( double tight,
LRFunctorBase< T, NDIM > & f )
inline

◆ ~ThreshGuard()

template<typename T, std::size_t NDIM, std::size_t LDIM = NDIM/2>
madness::LowRankFunctionFactory< T, NDIM, LDIM >::ThreshGuard::~ThreshGuard ( )
inline

Member Data Documentation

◆ functor

template<typename T, std::size_t NDIM, std::size_t LDIM = NDIM/2>
LRFunctorBase<T,NDIM>& madness::LowRankFunctionFactory< T, NDIM, LDIM >::ThreshGuard::functor

Referenced by ThreshGuard(), and ~ThreshGuard().

◆ orig_ld

template<typename T, std::size_t NDIM, std::size_t LDIM = NDIM/2>
double madness::LowRankFunctionFactory< T, NDIM, LDIM >::ThreshGuard::orig_ld

Referenced by ThreshGuard(), and ~ThreshGuard().

◆ orig_nd

template<typename T, std::size_t NDIM, std::size_t LDIM = NDIM/2>
double madness::LowRankFunctionFactory< T, NDIM, LDIM >::ThreshGuard::orig_nd

Referenced by ThreshGuard(), and ~ThreshGuard().


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