MADNESS 0.10.1
Public Member Functions | Public Attributes | Friends | List of all members
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 >:
Inheritance graph
[legend]
Collaboration diagram for madness::CCFunction< T, NDIM >:
Collaboration graph
[legend]

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, NDIMf () const
 
Function< T, NDIMget () 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, NDIMfunction
 
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

◆ CCFunction() [4/4]

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

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

◆ 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

◆ name()

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

◆ operator*()

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

◆ operator==()

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

◆ plot()

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

◆ serialize()

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

◆ set()

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

Friends And Related Symbol Documentation

◆ copy

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

deep copy

Member Data Documentation

◆ current_error

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

◆ function

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

◆ i

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

◆ type

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

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