MADNESS 0.10.1
Classes | Functions
test_vectormacrotask.cc File Reference
#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>
Include dependency graph for test_vectormacrotask.cc:

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)
 

Function Documentation

◆ check()

int check ( World universe,
const real_function_3d ref,
const real_function_3d test,
const std::string  msg 
)

◆ check_vector()

int check_vector ( World universe,
const std::vector< real_function_3d > &  ref,
const std::vector< real_function_3d > &  test,
const std::string  msg 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ test_2d_partitioning()

int test_2d_partitioning ( World universe,
const std::vector< real_function_3d > &  v3 
)

◆ test_deferred()

int test_deferred ( World universe,
const std::vector< real_function_3d > &  v3,
const std::vector< real_function_3d > &  ref 
)

◆ test_immediate()

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().

◆ test_scalar_task()

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().

◆ test_task1()

int test_task1 ( World universe,
const std::vector< real_function_3d > &  v3 
)

◆ test_twice()

int test_twice ( World universe,
const std::vector< real_function_3d > &  v3,
const std::vector< real_function_3d > &  ref 
)

◆ test_vector_of_scalar_task()

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().