MADNESS  0.10.1
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
madness::PNOPairs Struct Reference

POD for PNO code. More...

#include <PNOStructures.h>

Collaboration diagram for madness::PNOPairs:
Collaboration graph
[legend]

Classes

struct  MemInfo
 

Public Types

typedef std::valarray< vector_real_function_3dvfT
 

Public Member Functions

 PNOPairs (const PairType &t, const size_t &n)
 
 PNOPairs (const PairType &t, const size_t &n, const CISData &c)
 
void clear_intermediates (const ElectronPairIterator &it)
 
bool empty () const
 check if all pairs are empty More...
 
vector_real_function_3d extract (const vfT &vf) const
 
void initialize (const std::size_t &nocc)
 
bool is_consistent (std::string &errm) const
 consistency check More...
 
std::string name (const ElectronPairIterator &it) const
 
PNOPairs operator= (const PNOPairs &other)
 
vfT reassemble (const vector_real_function_3d &v)
 
vfT reassemble (const vector_real_function_3d &v, vfT &result) const
 
MemInfo update_meminfo () const
 
void verify () const
 throes exception if consistency check fails fails More...
 

Public Attributes

CISData cis
 CIS excitation structure. More...
 
PairEnergies energies
 all Pair Energies More...
 
std::valarray< Tensor< double > > F_ij
 Fock matrices of the PNOs. More...
 
std::valarray< bool > frozen_ij
 if true then pairs are frozen and not optimized (but still contribute to energy -> not frozen core) More...
 
vfT Kpno_ij
 Exchange Intermediate. More...
 
std::valarray< int > maxranks_ij
 maxranks for all pairs, negative->unlimited More...
 
MemInfo meminfo
 information about the used memory More...
 
const size_t nocc
 number of active occupied orbitals More...
 
const size_t npairs
 number of Pairs More...
 
vfT pno_ij
 the PNOs for all Pairs More...
 
std::valarray< Tensor< double > > rdm_evals_ij
 PNO eigenvalues. More...
 
PNOTensors::Tensor_IJ_IK< double > S_ij_ik
 PNO overlaps. More...
 
PNOTensors::Tensor_IJ_KJ< double > S_ij_kj
 PNO overlaps. More...
 
std::valarray< Tensor< double > > t_ij
 the amplitudes for all Pairs More...
 
const PairType type
 type (i.e. MP2_PAIRTYPE, CISPD_PAIRTYPE, later CCSD etc More...
 
std::valarray< Tensor< double > > W_ij
 Fluctuation matrix. More...
 
vfT W_ij_i
 Fluctuation Potential. More...
 
vfT W_ij_j
 Fluctuation Potential. More...
 

Detailed Description

POD for PNO code.

Member Typedef Documentation

◆ vfT

Constructor & Destructor Documentation

◆ PNOPairs() [1/2]

madness::PNOPairs::PNOPairs ( const PairType t,
const size_t &  n 
)
inline

References initialize().

◆ PNOPairs() [2/2]

madness::PNOPairs::PNOPairs ( const PairType t,
const size_t &  n,
const CISData c 
)
inline

Member Function Documentation

◆ clear_intermediates()

void madness::PNOPairs::clear_intermediates ( const ElectronPairIterator it)

◆ empty()

bool madness::PNOPairs::empty ( ) const
inline

check if all pairs are empty

References p(), and pno_ij.

Referenced by madness::PNO::adaptive_solver(), and madness::PNO::iterate_pairs().

◆ extract()

vector_real_function_3d madness::PNOPairs::extract ( const vfT vf) const

◆ initialize()

void madness::PNOPairs::initialize ( const std::size_t &  nocc)

References energies, F_ij, frozen_ij, Kpno_ij, maxranks_ij, nocc, pno_ij, t_ij, W_ij, W_ij_i, and W_ij_j.

Referenced by PNOPairs().

◆ is_consistent()

bool madness::PNOPairs::is_consistent ( std::string &  errm) const

◆ name()

std::string madness::PNOPairs::name ( const ElectronPairIterator it) const

◆ operator=()

PNOPairs madness::PNOPairs::operator= ( const PNOPairs other)

◆ reassemble() [1/2]

vfT madness::PNOPairs::reassemble ( const vector_real_function_3d v)
inline

◆ reassemble() [2/2]

PNOPairs::vfT madness::PNOPairs::reassemble ( const vector_real_function_3d v,
vfT result 
) const

References frozen_ij, ij(), MADNESS_ASSERT, npairs, pno_ij, and v.

◆ update_meminfo()

PNOPairs::MemInfo madness::PNOPairs::update_meminfo ( ) const

◆ verify()

void madness::PNOPairs::verify ( ) const
inline

throes exception if consistency check fails fails

References is_consistent(), and MADNESS_EXCEPTION.

Referenced by madness::PNO::initialize_pairs(), and madness::PNO::iterate_pairs_internal().

Member Data Documentation

◆ cis

CISData madness::PNOPairs::cis

◆ energies

PairEnergies madness::PNOPairs::energies

◆ F_ij

std::valarray<Tensor<double> > madness::PNOPairs::F_ij

◆ frozen_ij

std::valarray<bool> madness::PNOPairs::frozen_ij

◆ Kpno_ij

vfT madness::PNOPairs::Kpno_ij

◆ maxranks_ij

std::valarray<int> madness::PNOPairs::maxranks_ij

◆ meminfo

MemInfo madness::PNOPairs::meminfo
mutable

information about the used memory

Referenced by madness::PNO::iterate_pairs_internal(), madness::PNO::truncate_pairs(), and update_meminfo().

◆ nocc

const size_t madness::PNOPairs::nocc

number of active occupied orbitals

Referenced by PNOPairs(), initialize(), is_consistent(), madness::PNO::pno_compress(), and madness::PNO::update_pno().

◆ npairs

const size_t madness::PNOPairs::npairs

◆ pno_ij

vfT madness::PNOPairs::pno_ij

◆ rdm_evals_ij

std::valarray<Tensor<double> > madness::PNOPairs::rdm_evals_ij

◆ S_ij_ik

PNOTensors::Tensor_IJ_IK<double> madness::PNOPairs::S_ij_ik

◆ S_ij_kj

PNOTensors::Tensor_IJ_KJ<double> madness::PNOPairs::S_ij_kj

◆ t_ij

std::valarray<Tensor<double> > madness::PNOPairs::t_ij

◆ type

const PairType madness::PNOPairs::type

◆ W_ij

std::valarray<Tensor<double> > madness::PNOPairs::W_ij

◆ W_ij_i

vfT madness::PNOPairs::W_ij_i

◆ W_ij_j

vfT madness::PNOPairs::W_ij_j

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