MADNESS
0.10.1
|
#include <PNOTensors.h>
Public Member Functions | |
Tensor_IJ_IK (size_t n) | |
~Tensor_IJ_IK ()=default | |
madness::Tensor< T > | get (size_t i, size_t j, size_t k) const |
std::tuple< size_t, bool > | ijk (size_t i, size_t j, size_t k) const |
bool | is_initialized (size_t i, size_t j, size_t k) const |
bool | is_unique (size_t i, size_t j, size_t k) const |
void | reset () |
void | set (size_t i, size_t j, size_t k, const madness::Tensor< T > &t) |
Private Attributes | |
std::valarray< madness::Tensor< T > > | data_ |
int | n_ |
stores pairs of pairs that share first index (i.e. {ij} and {ik}, where i >= j) as a 3-index tensor: case 1 – i >= j, i >= k: only need j >= k, or ij >= ik; store as {{ij},k} case 2 – i >= j, k > i: can also be found at Tensor_IJ_JK(k,i,j)
|
inline |
References PNOTensors::Tensor_IJ_IK< T >::reset().
|
default |
|
inline |
References PNOTensors::Tensor_IJ_IK< T >::data_, PNOTensors::Tensor_IJ_IK< T >::ijk(), k, PNOTensors::Tensor_IJ_IK< T >::n_, and madness::swap().
Referenced by madness::PNO::update_pno().
|
inline |
References k, PNOTensors::Tensor_IJ_IK< T >::n_, and PNOTensors::tridx().
Referenced by PNOTensors::Tensor_IJ_IK< T >::get(), PNOTensors::Tensor_IJ_IK< T >::is_initialized(), and PNOTensors::Tensor_IJ_IK< T >::set().
|
inline |
References PNOTensors::Tensor_IJ_IK< T >::data_, PNOTensors::Tensor_IJ_IK< T >::ijk(), k, and PNOTensors::Tensor_IJ_IK< T >::n_.
Referenced by madness::PNO::iterate_pairs_internal(), and madness::PNO::update_pno().
|
inline |
References k, and PNOTensors::Tensor_IJ_IK< T >::n_.
|
inline |
|
inline |
|
private |
|
private |