|
MADNESS 0.10.1
|

Namespaces | |
| namespace | madness |
| Namespace for all elements and tools of MADNESS. | |
Functions | |
| static void | madness::archive::ArchiveLoadImpl< ParallelInputArchive< localarchiveT >, WorldContainer< keyT, valueT > >::load (const ParallelInputArchive< localarchiveT > &ar, WorldContainer< keyT, valueT > &t) |
| Read container from parallel archive. | |
| template<typename keyT , typename valueT , typename hashfunT > | |
| void | madness::swap (WorldContainer< keyT, valueT, hashfunT > &dc0, WorldContainer< keyT, valueT, hashfunT > &dc1) |
| Swaps the content of two WorldContainer objects. It should be called on all nodes. | |
|
inlinestatic |
Read container from parallel archive.
See store method above for format of file content. !!! We presently ASSUME that the number of writers and readers are the same. This is frustrating but not a show stopper since you can always run a separate job to copy to a different number.
The IO node simply reads all data and inserts entries.
References madness::archive::BaseParallelArchive< Archive >::dofence(), madness::WorldGopInterface::fence(), madness::archive::BaseParallelArchive< Archive >::get_world(), madness::World::gop, madness::archive::BaseParallelArchive< Archive >::is_io_node(), madness::archive::BaseParallelArchive< Archive >::local_archive(), and MADNESS_CHECK.
| void madness::swap | ( | WorldContainer< keyT, valueT, hashfunT > & | dc0, |
| WorldContainer< keyT, valueT, hashfunT > & | dc1 | ||
| ) |
Swaps the content of two WorldContainer objects. It should be called on all nodes.
References madness::WorldContainer< keyT, valueT, hashfunT >::p.