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

Classes

class  A
 
struct  madness::archive::ArchiveLoadImpl< Archive, C >
 
struct  madness::archive::ArchiveLoadImpl< Archive, linked_list >
 
struct  madness::archive::ArchiveSerializeImpl< Archive, B >
 
struct  madness::archive::ArchiveStoreImpl< Archive, C >
 
struct  madness::archive::ArchiveStoreImpl< Archive, linked_list >
 
class  B
 
class  C
 
struct  D
 
struct  F
 
struct  G1
 
class  linked_list
 
struct  NotStreammable
 
struct  pod_deserialize_dispatch< false >
 
struct  pod_deserialize_dispatch< true >
 
struct  pod_serialize_dispatch< false >
 
struct  pod_serialize_dispatch< true >
 

Namespaces

 madness
 File holds all helper structures necessary for the CC_Operator and CC2 class.
 
 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
 

Functions

 madness::archive::ARCHIVE_REGISTER_TYPE_AND_PTR (A, 128)
 
 madness::archive::ARCHIVE_REGISTER_TYPE_AND_PTR (B, 129)
 
 madness::archive::ARCHIVE_REGISTER_TYPE_AND_PTR (C, 130)
 
 madness::archive::ARCHIVE_REGISTER_TYPE_AND_PTR (linked_list, 131)
 
 madness::archive::ARCHIVE_REGISTER_TYPE_AND_PTR (map_short_complex_double, 133)
 
 madness::archive::ARCHIVE_REGISTER_TYPE_AND_PTR (pair_int_double, 132)
 
 madness::archive::ARCHIVE_REGISTER_TYPE_AND_PTR (pair_short_complex_double, 134)
 
int main (int argc, char *argv[])
 
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)
 
template<class InputArchive >
void test_in (const InputArchive &iar)
 
template<class OutputArchive >
void test_out (const OutputArchive &oar)
 

Macro Definition Documentation

◆ TEST

#define TEST (   cond)
Value:
status &= cond; \
if (!(cond)) std::cout << #cond << " failed" << std::endl
const char * status[2]
Definition: testperiodic.cc:43

Typedef Documentation

◆ double_complex

typedef std::complex<double> double_complex

◆ tuple_int_double_complexfloat

typedef std::tuple<int,double,std::complex<float> > tuple_int_double_complexfloat

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const F data 
)

◆ operator<<() [2/2]

int operator<< ( std::ostream &  os,
const NotStreammable data 
)

◆ operator>>() [1/2]

std::istream& operator>> ( std::istream &  os,
F data 
)

◆ operator>>() [2/2]

void operator>> ( std::istream &  os,
NotStreammable data 
)

◆ test_in()

template<class InputArchive >
void test_in ( const InputArchive &  iar)

◆ test_out()

template<class OutputArchive >
void test_out ( const OutputArchive &  oar)