MADNESS 0.10.1
|
Classes | |
class | Gaussian< T, NDIM > |
Functions | |
int | main (int argc, char **argv) |
real_functor_3d | random_gaussian () |
std::vector< real_function_3d > | random_gaussians (size_t n, World &world) |
void | test (World &world) |
Variables | |
static const long | k = 8 |
static const double | L = 32.0 |
static const size_t | nfunc = 64 |
static const double | thresh = 1e-6 |
int main | ( | int | argc, |
char ** | argv | ||
) |
real_functor_3d random_gaussian | ( | ) |
References e(), madness::FunctionDefaults< NDIM >::get_cell(), lo, madness::constants::pi, pow(), madness::print(), and madness::RandomValue< double >().
Referenced by random_gaussians().
std::vector< real_function_3d > random_gaussians | ( | size_t | n, |
World & | world | ||
) |
References madness::FunctionFactory< T, NDIM >::functor(), and random_gaussian().
Referenced by test().
void test | ( | World & | world | ) |
References a, b, madness::compress(), madness::copy(), madness::default_random_generator, diff(), k, L, nfunc, madness::norm2(), madness::print(), random_gaussians(), madness::World::rank(), madness::reconstruct(), madness::FunctionDefaults< NDIM >::set_cubic_cell(), madness::FunctionDefaults< NDIM >::set_k(), madness::FunctionDefaults< NDIM >::set_thresh(), madness::FunctionDefaults< NDIM >::set_truncate_mode(), madness::Random::setstate(), madness::sub(), thresh, and madness::truncate().
|
static |
Referenced by test().
|
static |
Referenced by test().
|
static |