MADNESS 0.10.1
test_dc.cc File Reference
Include dependency graph for test_dc.cc:

Classes

class  Double
struct  Key
struct  LargeNode
struct  Node
class  TestPmap

Functions

int main (int argc, char **argv)
ostream & operator<< (ostream &s, const Key &key)
ostream & operator<< (ostream &s, const Node &node)
void test0 (World &world)
void test1 (World &world)
void test_coalesced_redistribute (World &world)
void test_florian (World &world)
void test_local (World &world)

Variables

AtomicInt double_count

Function Documentation

◆ main()

◆ operator<<() [1/2]

ostream & operator<< ( ostream & s,
const Key & key )

◆ operator<<() [2/2]

ostream & operator<< ( ostream & s,
const Node & node )

References Node::k.

◆ test0()

◆ test1()

◆ test_coalesced_redistribute()

void test_coalesced_redistribute ( World & world)

Coalesced redistribute + WorldDCSingleOwnerPmap: everything onto one rank, onto another with cap_boxes=1 (chunk boundaries), back to the default pmap. Ownership, content and count checked after every move. Run at np >= 2 – one rank makes every move a no-op.

References c, madness::WorldGopInterface::fence(), madness::FunctionDefaults< NDIM >::pmap, madness::World::gop, k, MADNESS_CHECK, madness::print(), madness::World::rank(), madness::World::size(), madness::WorldGopInterface::sum(), and v.

Referenced by main().

◆ test_florian()

◆ test_local()

Variable Documentation

◆ double_count