MADNESS 0.10.1
Public Types | Public Member Functions | Public Attributes | List of all members
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 >, TpairmapT
 

Public Member Functions

void insert (int i, int j, T pair)
 setter
 
Toperator() (int i, int j)
 getter
 
const Toperator() (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

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

Member Data Documentation

◆ allpairs

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

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