MADNESS 0.10.1
madness::BinaryOpStructure< NDIM > Struct Template Reference

computes the corrected exchange correlation potential using the hartree potential More...

#include <AC.h>

Collaboration diagram for madness::BinaryOpStructure< NDIM >:

Public Member Functions

 BinaryOpStructure ()
 necessary to compile the program without getting a strange error i dont understand
 BinaryOpStructure (const BinaryOpStructure< NDIM > &other)
 BinaryOpStructure (const std::shared_ptr< FunctionFunctorInterface< double, NDIM > > f_)
void operator() (const Key< NDIM > &key, Tensor< double > &result, const Tensor< double > &vxc, const Tensor< double > &vhartree) const
template<typename Archive>
void serialize (Archive &ar)

Public Attributes

FunctionCommonData< double, NDIM > cdata
std::shared_ptr< FunctionFunctorInterface< double, NDIM > > f
 shared pointer to object of int_factor_functor

Detailed Description

template<unsigned long int NDIM>
struct madness::BinaryOpStructure< NDIM >

computes the corrected exchange correlation potential using the hartree potential

Constructor & Destructor Documentation

◆ BinaryOpStructure() [1/3]

template<unsigned long int NDIM>
madness::BinaryOpStructure< NDIM >::BinaryOpStructure ( )
inline

necessary to compile the program without getting a strange error i dont understand

References cdata, f, and NDIM.

Referenced by BinaryOpStructure().

◆ BinaryOpStructure() [2/3]

template<unsigned long int NDIM>
madness::BinaryOpStructure< NDIM >::BinaryOpStructure ( const std::shared_ptr< FunctionFunctorInterface< double, NDIM > > f_)
inline

References cdata, f, and NDIM.

◆ BinaryOpStructure() [3/3]

template<unsigned long int NDIM>
madness::BinaryOpStructure< NDIM >::BinaryOpStructure ( const BinaryOpStructure< NDIM > & other)
inline

References BinaryOpStructure(), cdata, and f.

Member Function Documentation

◆ operator()()

template<unsigned long int NDIM>
void madness::BinaryOpStructure< NDIM >::operator() ( const Key< NDIM > & key,
Tensor< double > & result,
const Tensor< double > & vxc,
const Tensor< double > & vhartree ) const
inline

computes the corrected potential (weighting with correction factor and adding of 1/r potential)

Parameters
[in]tuncorrected exchange correlation potential
[out]tcorrected exchange correlation potential

References cdata, madness::copy(), madness::BaseTensor::dims(), madness::Tensor< T >::emul(), f, madness::fcube(), MADNESS_EXCEPTION, and madness::BaseTensor::ndim().

◆ serialize()

template<unsigned long int NDIM>
template<typename Archive>
void madness::BinaryOpStructure< NDIM >::serialize ( Archive & ar)
inline

Member Data Documentation

◆ cdata

template<unsigned long int NDIM>
FunctionCommonData<double,NDIM> madness::BinaryOpStructure< NDIM >::cdata

◆ f

template<unsigned long int NDIM>
std::shared_ptr<FunctionFunctorInterface<double,NDIM> > madness::BinaryOpStructure< NDIM >::f

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