MADNESS 0.10.1
|
#include <madness/mra/mra.h>
#include <madness/world/cloud.h>
#include <madness/mra/macrotaskq.h>
#include <madness/world/world.h>
#include <madness/world/timing_utilities.h>
#include <madness/mra/macrotaskpartitioner.h>
Classes | |
struct | gaussian |
class | MicroTask |
class | MicroTask1 |
class | MicroTask2 |
class | ScalarTask |
struct | slater |
class | VectorOfScalarTask |
Functions | |
int | check (World &universe, const real_function_3d &ref, const real_function_3d &test, const std::string msg) |
int | check_vector (World &universe, const std::vector< real_function_3d > &ref, const std::vector< real_function_3d > &test, const std::string msg) |
int | main (int argc, char **argv) |
int | test_2d_partitioning (World &universe, const std::vector< real_function_3d > &v3) |
int | test_deferred (World &universe, const std::vector< real_function_3d > &v3, const std::vector< real_function_3d > &ref) |
int | test_immediate (World &universe, const std::vector< real_function_3d > &v3, const std::vector< real_function_3d > &ref) |
int | test_scalar_task (World &universe, const std::vector< real_function_3d > &v3) |
each task accumulates into the same result | |
int | test_task1 (World &universe, const std::vector< real_function_3d > &v3) |
int | test_twice (World &universe, const std::vector< real_function_3d > &v3, const std::vector< real_function_3d > &ref) |
int | test_vector_of_scalar_task (World &universe, const std::vector< real_function_3d > &v3) |
int check | ( | World & | universe, |
const real_function_3d & | ref, | ||
const real_function_3d & | test, | ||
const std::string | msg | ||
) |
References madness::error(), madness::Function< T, NDIM >::norm2(), madness::norm2(), madness::print(), madness::World::rank(), and test().
Referenced by test_task1().
int check_vector | ( | World & | universe, |
const std::vector< real_function_3d > & | ref, | ||
const std::vector< real_function_3d > & | test, | ||
const std::string | msg | ||
) |
References madness::error(), madness::norm2(), madness::print(), madness::World::rank(), and test().
Referenced by test_2d_partitioning(), test_deferred(), test_immediate(), and test_twice().
int main | ( | int | argc, |
char ** | argv | ||
) |
References f1, madness::WorldGopInterface::fence(), madness::finalize(), madness::World::gop, madness::World::id(), madness::initialize(), madness::print(), madness::World::rank(), madness::FunctionDefaults< NDIM >::set_cubic_cell(), madness::FunctionDefaults< NDIM >::set_k(), madness::FunctionDefaults< NDIM >::set_thresh(), madness::World::size(), madness::startup(), madness::timer::tag(), test_2d_partitioning(), test_deferred(), test_immediate(), test_scalar_task(), test_task1(), test_twice(), and test_vector_of_scalar_task().
int test_2d_partitioning | ( | World & | universe, |
const std::vector< real_function_3d > & | v3 | ||
) |
References check_vector(), madness::MacroTaskOperationBase::partitioner, madness::print(), madness::World::rank(), madness::World::size(), and task().
Referenced by main().
int test_deferred | ( | World & | universe, |
const std::vector< real_function_3d > & | v3, | ||
const std::vector< real_function_3d > & | ref | ||
) |
References check_vector(), madness::print(), madness::World::rank(), madness::World::size(), and task().
Referenced by main().
int test_immediate | ( | World & | universe, |
const std::vector< real_function_3d > & | v3, | ||
const std::vector< real_function_3d > & | ref | ||
) |
References check_vector(), madness::print(), madness::World::rank(), and v.
Referenced by main().
int test_scalar_task | ( | World & | universe, |
const std::vector< real_function_3d > & | v3 | ||
) |
each task accumulates into the same result
References madness::print(), and madness::World::rank().
Referenced by main().
int test_task1 | ( | World & | universe, |
const std::vector< real_function_3d > & | v3 | ||
) |
References check(), madness::print(), madness::World::rank(), and madness::MacroTask< taskT >::set_debug().
Referenced by main().
int test_twice | ( | World & | universe, |
const std::vector< real_function_3d > & | v3, | ||
const std::vector< real_function_3d > & | ref | ||
) |
References check_vector(), madness::print(), madness::World::rank(), madness::World::size(), and task().
Referenced by main().
int test_vector_of_scalar_task | ( | World & | universe, |
const std::vector< real_function_3d > & | v3 | ||
) |
References madness::print(), and madness::World::rank().
Referenced by main().