|
MADNESS 0.10.1
|
#include <iostream>#include <cmath>#include <madness/world/array_addons.h>#include <madness/world/print.h>#include <madness/world/text_fstream_archive.h>#include <madness/world/binary_fstream_archive.h>#include <madness/world/vector_archive.h>#include <madness/world/buffer_archive.h>#include <madness/world/cereal_archive.h>#include <madness/world/world.h>#include <madness/world/worldgop.h>
Namespaces | |
| namespace | madness |
| Namespace for all elements and tools of MADNESS. | |
| namespace | madness::archive |
| Namespace for I/O tools. | |
Macros | |
| #define | TEST(cond) |
Typedefs | |
| typedef std::complex< double > | double_complex |
| typedef std::map< short, std::complex< double > > | madness::archive::map_short_complex_double |
| typedef std::pair< int, double > | madness::archive::pair_int_double |
| typedef std::pair< short, std::complex< double > > | madness::archive::pair_short_complex_double |
| typedef std::tuple< int, double, std::complex< float > > | tuple_int_double_complexfloat |
| #define TEST | ( | cond | ) |
| typedef std::complex<double> double_complex |
| typedef std::tuple<int,double,std::complex<float> > tuple_int_double_complexfloat |
| int main | ( | int | argc, |
| char * | argv[] ) |
References madness::archive::archive_initialize_type_names(), ARCHIVE_REGISTER_TYPE_AND_PTR_NAMES, madness::archive::BinaryFstreamInputArchive::close(), madness::archive::BinaryFstreamOutputArchive::close(), madness::archive::BufferInputArchive::close(), madness::archive::BufferOutputArchive::close(), madness::archive::TextFstreamInputArchive::close(), madness::archive::TextFstreamOutputArchive::close(), madness::archive::VectorInputArchive::close(), madness::archive::VectorOutputArchive::close(), f, madness::finalize(), madness::archive::fn_ptr_origin(), fout, madness::initialize(), me, nproc, madness::archive::BufferOutputArchive::size(), test_array_count_beyond_32_bits(), test_in(), and test_out().
| std::ostream & operator<< | ( | std::ostream & | os, |
| const F & | data ) |
| int operator<< | ( | std::ostream & | os, |
| const NotStreammable & | data ) |
| std::istream & operator>> | ( | std::istream & | os, |
| F & | data ) |
| void operator>> | ( | std::istream & | os, |
| NotStreammable & | data ) |
| void test_array_count_beyond_32_bits | ( | ) |
References MADNESS_CHECK, madness::archive::BufferOutputArchive::size(), madness::archive::wrap(), wrap(), and madness::archive::wrap_opaque().
Referenced by main().
| void test_in | ( | const InputArchive & | iar | ) |
References a, A::a, b, B::b, c, C::c, d, e(), f, g1(), D::i, F::i, G1::i, madness::is_default_serializable_v, madness::is_istreammable_v, madness::is_ostreammable_v, madness::is_text_archive_v, k, D::l, F::l, G1::l, m, MAD_ARCHIVE_DEBUG, p(), pi, linked_list::print(), q(), status, TEST, v, and wrap().
Referenced by main().
| void test_out | ( | const OutputArchive & | oar | ) |
|
inline |
Factory function to wrap a dynamically allocated pointer as a typed archive_array.
| T | The data type. |
| [in] | ptr | The pointer. |
| [in] | n | The number of data elements in the array. |
Referenced by test_array_count_beyond_32_bits(), test_in(), and test_out().