MADNESS 0.10.1
madness::MP2::Pairs< T > Struct Template Reference

POD holding all electron pairs with easy access. More...

Public Types

typedef std::map< std::pair< int, int >, T > pairmapT

Public Member Functions

void insert (int i, int j, T pair)
 setter
T & operator() (int i, int j)
 getter
const T & operator() (int i, int j) const
 getter

Public Attributes

pairmapT allpairs

Detailed Description

template<typename T>
struct madness::MP2::Pairs< T >

POD holding all electron pairs with easy access.

Member Typedef Documentation

◆ pairmapT

template<typename T>
typedef std::map<std::pair<int, int>, T> madness::MP2::Pairs< T >::pairmapT

Member Function Documentation

◆ insert()

template<typename T>
void madness::MP2::Pairs< T >::insert ( int i,
int j,
T pair )
inline

setter

References allpairs.

◆ operator()() [1/2]

template<typename T>
T & madness::MP2::Pairs< T >::operator() ( int i,
int j )
inline

getter

References allpairs.

◆ operator()() [2/2]

template<typename T>
const T & madness::MP2::Pairs< T >::operator() ( int i,
int j ) const
inline

getter

References allpairs.

Member Data Documentation

◆ allpairs

template<typename T>
pairmapT madness::MP2::Pairs< T >::allpairs

Referenced by insert(), operator()(), and operator()().


The documentation for this struct was generated from the following file: