MADNESS 0.10.1
key.h File Reference

Multidimension Key for MRA tree and associated iterators. More...

#include <madness/mra/bc.h>
#include <madness/mra/power.h>
#include <madness/tensor/tensor.h>
#include <madness/world/vector.h>
#include <madness/world/binary_fstream_archive.h>
#include <madness/world/worldhash.h>
#include <algorithm>
#include <climits>
#include <cstdint>
#include <optional>
Include dependency graph for key.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  madness::archive::ArchiveLoadImpl< Archive, Key< NDIM > >
struct  madness::archive::ArchiveLoadImpl< BinaryFstreamInputArchive, Key< NDIM > >
struct  madness::archive::ArchiveStoreImpl< Archive, Key< NDIM > >
class  madness::Key< NDIM >
 Key is the index for a node of the 2^NDIM-tree. More...
class  madness::KeyChildIterator< NDIM >
 Iterates in lexical order thru all children of a key. More...

Namespaces

namespace  madness
 Namespace for all elements and tools of MADNESS.
namespace  madness::archive
 Namespace for I/O tools.

Typedefs

typedef int madness::Level
typedef int64_t madness::Translation

Functions

template<size_t NDIM>
Key< NDIM > madness::displacement (const Key< NDIM > &source, const Key< NDIM > &target)
 given a source and a target, return the displacement in translation
template<std::size_t NDIM, typename objT>
void madness::foreach_child (const Key< NDIM > &parent, objT *obj, void(objT::*memfun)(const Key< NDIM > &))
 Applies member function of obj to each child key of parent.
template<std::size_t NDIM, typename opT>
void madness::foreach_child (const Key< NDIM > &parent, opT &op)
 Applies op(key) to each child key of parent.
template<std::size_t NDIM>
std::ostream & madness::operator<< (std::ostream &s, const Key< NDIM > &key)

Detailed Description

Multidimension Key for MRA tree and associated iterators.