MADNESS  0.10.1
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
madness::Displacements< NDIM > Class Template Reference

Holds displacements for applying operators to avoid replicating for all operators. More...

#include <displacements.h>

Public Member Functions

 Displacements ()
 
const std::vector< Key< NDIM > > & get_disp (Level n, bool isperiodicsum)
 

Static Public Member Functions

static int bmax_default ()
 

Static Private Member Functions

static bool cmp_keys (const Key< NDIM > &a, const Key< NDIM > &b)
 
static bool cmp_keys_periodicsum (const Key< NDIM > &a, const Key< NDIM > &b)
 
static void make_disp (int bmax)
 
static void make_disp_periodicsum (int bmax, Level n)
 

Static Private Attributes

static std::vector< Key< NDIM > > disp
 
static std::vector< Key< NDIM > > disp_periodicsum [64]
 

Detailed Description

template<std::size_t NDIM>
class madness::Displacements< NDIM >

Holds displacements for applying operators to avoid replicating for all operators.

Constructor & Destructor Documentation

◆ Displacements()

template<std::size_t NDIM>
madness::Displacements< NDIM >::Displacements ( )
inline

Member Function Documentation

◆ bmax_default()

template<std::size_t NDIM>
static int madness::Displacements< NDIM >::bmax_default ( )
inlinestatic

◆ cmp_keys()

template<std::size_t NDIM>
static bool madness::Displacements< NDIM >::cmp_keys ( const Key< NDIM > &  a,
const Key< NDIM > &  b 
)
inlinestaticprivate

References a, and b.

Referenced by madness::Displacements< NDIM >::make_disp().

◆ cmp_keys_periodicsum()

template<std::size_t NDIM>
static bool madness::Displacements< NDIM >::cmp_keys_periodicsum ( const Key< NDIM > &  a,
const Key< NDIM > &  b 
)
inlinestaticprivate

◆ get_disp()

template<std::size_t NDIM>
const std::vector< Key<NDIM> >& madness::Displacements< NDIM >::get_disp ( Level  n,
bool  isperiodicsum 
)
inline

◆ make_disp()

template<std::size_t NDIM>
static void madness::Displacements< NDIM >::make_disp ( int  bmax)
inlinestaticprivate

◆ make_disp_periodicsum()

template<std::size_t NDIM>
static void madness::Displacements< NDIM >::make_disp_periodicsum ( int  bmax,
Level  n 
)
inlinestaticprivate

Member Data Documentation

◆ disp

template<std::size_t NDIM>
std::vector< Key< NDIM > > madness::Displacements< NDIM >::disp
staticprivate

◆ disp_periodicsum

template<std::size_t NDIM>
std::vector< Key< NDIM > > madness::Displacements< NDIM >::disp_periodicsum
staticprivate

The documentation for this class was generated from the following files: