MADNESS  0.10.1
Public Member Functions | Public Attributes | List of all members
madness::guessfactory::ExopUnaryOpStructure Class Reference

#include <GuessFactory.h>

Collaboration diagram for madness::guessfactory::ExopUnaryOpStructure:
Collaboration graph
[legend]

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 More...
 
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 More...
 

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

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(), madness::BaseTensor::ndim(), and madness::FunctionCommonData< T, NDIM >::quad_x.

◆ 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

Referenced by operator()().

◆ exfunc

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

shared pointer to object of excitation operator

Referenced by operator()().


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