MADNESS
0.10.1
|
#include <madness/mra/mra.h>
#include <madness/world/cloud.h>
#include <madness/mra/macrotaskq.h>
#include <madness/world/test_utilities.h>
Classes | |
class | custom_serialize_tester |
this class stores different member variables in different records of the cloud More... | |
struct | gaussian |
Typedefs | |
template<typename T > | |
using | is_world_constructible = std::is_constructible< T, World & > |
Functions | |
int | chunk_example (World &universe) |
test the cloud with message larger than chunk size set in cloud.replicate() More... | |
int | main (int argc, char **argv) |
template<typename T , std::size_t NDIM> | |
double | norm (const Function< T, NDIM > &f1) |
template<typename T , std::size_t NDIM> | |
double | norm (const std::vector< Function< T, NDIM >> &f1) |
template<typename T > | |
double | norm (const std::vector< T > &v) |
template<typename T > | |
double | norm (const T i1) |
template<typename T > | |
double | norm (const Tensor< T > &t) |
void | simple_example (World &universe) |
a simple example for how to use the cloud for inter-world communication More... | |
int | test_custom_serialization (World &universe, Cloud &cloud) |
int | test_custom_worldobject (World &universe, World &subworld, Cloud &cloud) |
test storing and loading a custom WorldObject, used e.g. for the scalar output of a macrotask More... | |
using is_world_constructible = std::is_constructible<T, World &> |
int chunk_example | ( | World & | universe | ) |
test the cloud with message larger than chunk size set in cloud.replicate()
References std::abs(), madness::test_output::end(), madness::Cloud::load(), madness::Cloud::replicate(), madness::Cloud::store(), and madness::sum().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
References madness::arg(), chunk_example(), madness::Cloud::clear_cache(), madness::Cloud::clear_timings(), madness::MacroTaskQ::create_worlds(), madness::test_output::end(), madness::error(), f1, f2, f3, madness::WorldGopInterface::fence(), madness::Tensor< T >::fillrandom(), madness::finalize(), gaussian(), madness::Function< T, NDIM >::get_impl(), madness::World::gop, madness::World::id(), madness::initialize(), madness::Cloud::load(), madness::test_output::logger, max, norm(), madness::Function< T, NDIM >::norm2(), madness::norm2(), madness::print(), madness::Cloud::print_timings(), madness::World::rank(), madness::Cloud::set_debug(), madness::Cloud::set_force_load_from_cache(), madness::Function< T, NDIM >::set_impl(), madness::MacroTaskQ::set_pmap(), simple_example(), madness::World::size(), madness::startup(), madness::Cloud::store(), test_custom_serialization(), and test_custom_worldobject().
References f1.
References f1, and madness::norm2().
double norm | ( | const T | i1 | ) |
Referenced by main(), and simple_example().
References madness::Tensor< T >::normf().
void simple_example | ( | World & | universe | ) |
a simple example for how to use the cloud for inter-world communication
Notes:
References madness::Cloud::clear_cache(), madness::MacroTaskQ::create_worlds(), madness::WorldGopInterface::fence(), gaussian(), madness::World::gop, madness::World::id(), madness::Cloud::load(), norm(), madness::Function< T, NDIM >::norm2(), madness::print(), madness::World::rank(), madness::MacroTaskQ::set_pmap(), madness::World::size(), and madness::Cloud::store().
Referenced by main().
References madness::test_output::checkpoint(), madness::Cloud::clear(), custom_serialize_tester::d, madness::test_output::end(), custom_serialize_tester::i, madness::Cloud::load(), madness::test_output::set_cout_to_terminal(), madness::Cloud::set_debug(), and madness::Cloud::store().
Referenced by main().
test storing and loading a custom WorldObject, used e.g. for the scalar output of a macrotask
References madness::test_output::end(), madness::error(), madness::gaxpy(), madness::Cloud::load(), madness::print(), madness::World::rank(), madness::test_output::set_cout_to_terminal(), madness::Cloud::set_debug(), madness::Cloud::set_force_load_from_cache(), madness::MacroTaskQ::set_pmap(), and madness::Cloud::store().
Referenced by main().