MADNESS 0.10.1
Typedefs | Functions | Variables
writecoeff2.cc File Reference
#include <complex>
#include <iomanip>
#include <iostream>
#include <madness/mra/mra.h>
#include <memory>
Include dependency graph for writecoeff2.cc:

Typedefs

typedef Vector< double, DcoordT
 
typedef double dataT
 
typedef FunctionFactory< dataT, DfactoryT
 
typedef Function< dataT, DfunctionT
 
typedef std::shared_ptr< FunctionFunctorInterface< dataT, D > > functorT
 
typedef Key< DkeyT
 
typedef SeparatedConvolution< dataT, DoperatorT
 

Functions

template<typename T , std::size_t NDIM>
size_t count_leaf_nodes (const Function< T, NDIM > &f)
 
static dataT f (const coordT &r)
 
int main (int argc, char **argv)
 
template<typename T , std::size_t NDIM>
Function< T, NDIMread_function (World &world, std::istream &in)
 
template<typename T , std::size_t NDIM>
void read_function_coeffs (Function< T, NDIM > &f, std::istream &in)
 
void test (World &world)
 
template<typename T , std::size_t NDIM>
void write_function (const Function< T, NDIM > &f, std::ostream &out)
 
template<typename T , std::size_t NDIM>
void write_function_coeffs (const Function< T, NDIM > &f, std::ostream &out, const Key< NDIM > &key)
 

Variables

static const size_t D = 2
 
static const long k = 5
 
static const double L = 4.0
 
static const double thresh = 1e-3
 

Typedef Documentation

◆ coordT

typedef Vector<double, D> coordT

◆ dataT

typedef double dataT

◆ factoryT

◆ functionT

◆ functorT

typedef std::shared_ptr<FunctionFunctorInterface<dataT, D> > functorT

◆ keyT

typedef Key<D> keyT

◆ operatorT

Function Documentation

◆ count_leaf_nodes()

template<typename T , std::size_t NDIM>
size_t count_leaf_nodes ( const Function< T, NDIM > &  f)

References madness::f.

Referenced by write_function().

◆ f()

static dataT f ( const coordT r)
static

◆ main()

int main ( int  argc,
char **  argv 
)

◆ read_function()

template<typename T , std::size_t NDIM>
Function< T, NDIM > read_function ( World world,
std::istream &  in 
)

◆ read_function_coeffs()

template<typename T , std::size_t NDIM>
void read_function_coeffs ( Function< T, NDIM > &  f,
std::istream &  in 
)

◆ test()

void test ( World world)

◆ write_function()

template<typename T , std::size_t NDIM>
void write_function ( const Function< T, NDIM > &  f,
std::ostream &  out 
)

◆ write_function_coeffs()

template<typename T , std::size_t NDIM>
void write_function_coeffs ( const Function< T, NDIM > &  f,
std::ostream &  out,
const Key< NDIM > &  key 
)

Variable Documentation

◆ D

const size_t D = 2
static

◆ k

const long k = 5
static

Referenced by main(), and read_function().

◆ L

const double L = 4.0
static

Referenced by main().

◆ thresh

const double thresh = 1e-3
static

Referenced by main().