MADNESS 0.10.1
madness::CCFunction< T, NDIM > Class Template Reference

structure for a CC Function 3D which holds an index and a type More...

#include <ccpairfunction.h>

Inheritance diagram for madness::CCFunction< T, NDIM >:
Collaboration diagram for madness::CCFunction< T, NDIM >:

Public Member Functions

 CCFunction ()
 CCFunction (const CCFunction &other)
 CCFunction (const Function< T, NDIM > &f)
 CCFunction (const Function< T, NDIM > &f, const size_t &ii, const FuncType &type_)
Function< T, NDIM > f () const
Function< T, NDIM > get () const
void info (World &world, const std::string &msg=" ") const
double inner (const CCFunction &f) const
double inner (const Function< T, NDIM > &f) const
std::string name () const
CCFunction operator* (const double &fac) const
 scalar multiplication
bool operator== (const CCFunction &other) const
void plot (const std::string &msg="") const
 plotting
template<typename Archive>
void serialize (const Archive &ar)
void set (const Function< T, NDIM > &other)

Public Attributes

double current_error
Function< T, NDIM > function
size_t i
FuncType type

Friends

CCFunction copy (const CCFunction &other)
 deep copy

Detailed Description

template<typename T = double, std::size_t NDIM = 3>
class madness::CCFunction< T, NDIM >

structure for a CC Function 3D which holds an index and a type

Constructor & Destructor Documentation

◆ CCFunction() [1/4]

template<typename T = double, std::size_t NDIM = 3>
madness::CCFunction< T, NDIM >::CCFunction ( )
inline

◆ CCFunction() [2/4]

template<typename T = double, std::size_t NDIM = 3>
madness::CCFunction< T, NDIM >::CCFunction ( const Function< T, NDIM > & f)
inline

◆ CCFunction() [3/4]

template<typename T = double, std::size_t NDIM = 3>
madness::CCFunction< T, NDIM >::CCFunction ( const Function< T, NDIM > & f,
const size_t & ii,
const FuncType & type_ )
inline

References current_error, f(), function, i, and type.

◆ CCFunction() [4/4]

template<typename T = double, std::size_t NDIM = 3>
madness::CCFunction< T, NDIM >::CCFunction ( const CCFunction< T, NDIM > & other)
inline

References CCFunction(), current_error, function, i, and type.

Member Function Documentation

◆ f()

template<typename T = double, std::size_t NDIM = 3>
Function< T, NDIM > madness::CCFunction< T, NDIM >::f ( ) const
inline

◆ get()

template<typename T = double, std::size_t NDIM = 3>
Function< T, NDIM > madness::CCFunction< T, NDIM >::get ( ) const
inline

References function.

◆ info()

template<typename T = double, std::size_t NDIM = 3>
void madness::CCFunction< T, NDIM >::info ( World & world,
const std::string & msg = " " ) const
inline

◆ inner() [1/2]

template<typename T = double, std::size_t NDIM = 3>
double madness::CCFunction< T, NDIM >::inner ( const CCFunction< T, NDIM > & f) const
inline

◆ inner() [2/2]

template<typename T = double, std::size_t NDIM = 3>
double madness::CCFunction< T, NDIM >::inner ( const Function< T, NDIM > & f) const
inline

References f(), and function.

◆ name()

◆ operator*()

template<typename T = double, std::size_t NDIM = 3>
CCFunction madness::CCFunction< T, NDIM >::operator* ( const double & fac) const
inline

scalar multiplication

References CCFunction(), function, i, and type.

◆ operator==()

template<typename T = double, std::size_t NDIM = 3>
bool madness::CCFunction< T, NDIM >::operator== ( const CCFunction< T, NDIM > & other) const
inline

References CCFunction(), i, and type.

◆ plot()

template<typename T = double, std::size_t NDIM = 3>
void madness::CCFunction< T, NDIM >::plot ( const std::string & msg = "") const
inline

plotting

References function, name(), and madness::plot_plane().

◆ serialize()

template<typename T = double, std::size_t NDIM = 3>
template<typename Archive>
void madness::CCFunction< T, NDIM >::serialize ( const Archive & ar)
inline

References current_error, function, i, and type.

◆ set()

template<typename T = double, std::size_t NDIM = 3>
void madness::CCFunction< T, NDIM >::set ( const Function< T, NDIM > & other)
inline

References function.

◆ copy

template<typename T = double, std::size_t NDIM = 3>
CCFunction copy ( const CCFunction< T, NDIM > & other)
friend

deep copy

References CCFunction(), madness::copy(), current_error, function, i, and type.

Member Data Documentation

◆ current_error

template<typename T = double, std::size_t NDIM = 3>
double madness::CCFunction< T, NDIM >::current_error

◆ function

◆ i

◆ type


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