MADNESS 0.10.1
Public Member Functions | Public Attributes | List of all members
madness::divide_add_interpolate Struct Reference

Class to compute terms of the potential. More...

#include <oep.h>

Public Member Functions

 divide_add_interpolate (double hi, double lo, double eps_regularize)
 
std::size_t get_result_size () const
 
std::vector< Tensor< double > > operator() (const Key< 3 > &key, const std::vector< Tensor< double > > &t) const
 

Public Attributes

double eps_regularize =1.e-8
 
double log_high
 
double log_low
 
bool square_denominator =false
 
double thresh_high =1.e-5
 
double thresh_low =1.e-7
 

Detailed Description

Class to compute terms of the potential.

Constructor & Destructor Documentation

◆ divide_add_interpolate()

madness::divide_add_interpolate::divide_add_interpolate ( double  hi,
double  lo,
double  eps_regularize 
)
inline

Member Function Documentation

◆ get_result_size()

std::size_t madness::divide_add_interpolate::get_result_size ( ) const
inline

◆ operator()()

std::vector< Tensor< double > > madness::divide_add_interpolate::operator() ( const Key< 3 > &  key,
const std::vector< Tensor< double > > &  t 
) const
inline
Parameters
[in]tvector containing: oep, refdensity, longrange
Returns
(num1/denom1 - num2/denom2) * mask + (1-mask)*longrange

References madness::copy(), eps_regularize, madness::Tensor< T >::fill(), IND, ITERATOR, log_high, log_low, mask, square_denominator, thresh_high, and thresh_low.

Member Data Documentation

◆ eps_regularize

double madness::divide_add_interpolate::eps_regularize =1.e-8

Referenced by operator()().

◆ log_high

double madness::divide_add_interpolate::log_high

Referenced by operator()().

◆ log_low

double madness::divide_add_interpolate::log_low

Referenced by operator()().

◆ square_denominator

bool madness::divide_add_interpolate::square_denominator =false

Referenced by operator()().

◆ thresh_high

double madness::divide_add_interpolate::thresh_high =1.e-5

Referenced by operator()().

◆ thresh_low

double madness::divide_add_interpolate::thresh_low =1.e-7

Referenced by operator()().


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