MADNESS 0.10.1
madness::guessfactory::ExopUnaryOpStructure Class Reference

#include <GuessFactory.h>

Collaboration diagram for madness::guessfactory::ExopUnaryOpStructure:

Public Member Functions

 ExopUnaryOpStructure (const std::shared_ptr< FunctionFunctorInterface< double, 3 > > &f)
void operator() (const Key< 3 > &key, Tensor< double > &t) const
 multiplies the target function by the excitation operator defined by exfunc
void operator() (const Key< 3 > &key, Tensor< double_complex > &t) const
template<typename Archive>
void serialize (Archive &ar)

Public Attributes

FunctionCommonData< double, 3 > cdata
std::shared_ptr< FunctionFunctorInterface< double, 3 > > exfunc
 shared pointer to object of excitation operator

Detailed Description

create excitation operators with unaryop (faster as explicit construction and multiplication) Guess function do not need to be perfectly refined

Constructor & Destructor Documentation

◆ ExopUnaryOpStructure()

madness::guessfactory::ExopUnaryOpStructure::ExopUnaryOpStructure ( const std::shared_ptr< FunctionFunctorInterface< double, 3 > > & f)
inline

References cdata, exfunc, and madness::f.

Member Function Documentation

◆ operator()() [1/2]

void madness::guessfactory::ExopUnaryOpStructure::operator() ( const Key< 3 > & key,
Tensor< double > & t ) const

multiplies the target function by the excitation operator defined by exfunc

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

◆ operator()() [2/2]

void madness::guessfactory::ExopUnaryOpStructure::operator() ( const Key< 3 > & key,
Tensor< double_complex > & t ) const

◆ serialize()

template<typename Archive>
void madness::guessfactory::ExopUnaryOpStructure::serialize ( Archive & ar)
inline

Member Data Documentation

◆ cdata

FunctionCommonData<double,3> madness::guessfactory::ExopUnaryOpStructure::cdata

◆ exfunc

std::shared_ptr<FunctionFunctorInterface<double,3> > madness::guessfactory::ExopUnaryOpStructure::exfunc

shared pointer to object of excitation operator

Referenced by ExopUnaryOpStructure(), operator()(), and operator()().


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