MADNESS 0.10.1
|
#include <madness/mra/mra.h>
Macros | |
#define | END_TIMER(msg) ttt=wall_time()-ttt; sss=cpu_time()-sss; if (world.rank()==0) printf("timer: %-20.20s %8.2fs %8.2fs\n", msg, sss, ttt) |
#define | START_TIMER world.gop.fence(); ttt=wall_time(); sss=cpu_time() |
Typedefs | |
typedef std::shared_ptr< FunctionFunctorInterface< double, 3 > > | functorT |
Functions | |
static double | alpha_func (const coord_3d &r) |
static double | beta_func (const coord_3d &r) |
bool | is_like (double a, double b, double tol) |
int | main (int argc, char **argv) |
Variables | |
static const long | k = 8 |
static const double | L = 5.0*R |
static const double | R = 1.4 |
bool | smalltest = false |
double | sss |
static const double | thresh = 1e-6 |
double | ttt |
#define END_TIMER | ( | msg | ) | ttt=wall_time()-ttt; sss=cpu_time()-sss; if (world.rank()==0) printf("timer: %-20.20s %8.2fs %8.2fs\n", msg, sss, ttt) |
typedef std::shared_ptr< FunctionFunctorInterface<double,3> > functorT |
bool is_like | ( | double | a, |
double | b, | ||
double | tol | ||
) |
References a, std::abs(), and b.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
References alpha1, alpha_func(), beta, beta_func(), SafeMPI::COMM_WORLD, e(), END_TIMER, madness::WorldGopInterface::fence(), madness::finalize(), madness::Function< T, NDIM >::gaxpy_ext(), madness::World::gop, madness::initialize(), is_like(), k, L, madness::Function< T, NDIM >::norm2(), madness::print(), madness::World::rank(), madness::FunctionDefaults< NDIM >::set_cubic_cell(), madness::FunctionDefaults< NDIM >::set_defaults(), madness::FunctionDefaults< NDIM >::set_initial_level(), madness::FunctionDefaults< NDIM >::set_k(), madness::FunctionDefaults< NDIM >::set_refine(), madness::FunctionDefaults< NDIM >::set_thresh(), madness::FunctionDefaults< NDIM >::set_truncate_mode(), madness::FunctionDefaults< NDIM >::set_truncate_on_project(), smalltest, START_TIMER, madness::startup(), and thresh.
|
static |
Referenced by main().
|
static |
bool smalltest = false |
Referenced by main().
double sss |
double ttt |