MADNESS 0.10.1
|
#include <CCStructures.h>
Public Member Functions | |
CCPair ()=default | |
CCPair (const CCPair &other) | |
CCPair (const size_t ii, const size_t jj, const CCState t, const CalcType c) | |
CCPair (const size_t ii, const size_t jj, const CCState t, const CalcType c, const std::vector< CCPairFunction< double, 6 > > &f) | |
std::string | basename () const |
return the base name like "MP2_pair_u" or "CC2_pair_x" | |
void | cloud_load (World &world, const Cloud &cloud, Recordlist< Cloud::keyT > &recordlist) |
customized function to load this from the cloud | |
Recordlist< Cloud::keyT > | cloud_store (World &world, Cloud &cloud) const |
customized function to store this to the cloud | |
real_function_6d | function () const |
gives back the pure 6D part of the pair function | |
bool | function_exists () const |
hashT | hash () const |
void | info () const |
bool | load_pair (World &world, const bool verbose=false) |
std::string | name () const |
void | reconstruct () const |
reconstruct constant part and all functions | |
template<typename Archive > | |
void | serialize (const Archive &ar) |
void | store_pair (World &world, const bool verbose=false) |
void | update_u (const real_function_6d &u) |
updates the pure 6D part of the pair function | |
Public Attributes | |
double | bsh_eps =1.0 |
real_function_6d | constant_part |
the constant part | |
CalcType | ctype |
std::vector< CCPairFunction< double, 6 > > | functions |
the functions which belong to the pair | |
size_t | i |
size_t | j |
CCState | type |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
return the base name like "MP2_pair_u" or "CC2_pair_x"
References madness::assign_name(), ctype, madness::EXCITED_STATE, madness::GROUND_STATE, name(), and type.
Referenced by name().
|
inline |
customized function to load this from the cloud
functions and constant_part can be very large and we want to split them and store them in different records
[in,out] | recordlist | containing the keys of the member variables -> will be reduced by the keys which are used |
References bsh_eps, madness::Function< T, NDIM >::clear(), constant_part, ctype, madness::Cloud::forward_load(), functions, i, j, type, and v.
|
inline |
customized function to store this to the cloud
functions and constant_part can be very large and we want to split them and store them in different records NOTE only the 6d function and the constant part are stored in the cloud, not the 3d functions NOTE
References bsh_eps, constant_part, ctype, functions, i, madness::Function< T, NDIM >::is_initialized(), j, madness::Cloud::store(), type, and v.
|
inline |
gives back the pure 6D part of the pair function
References functions, and MADNESS_CHECK_THROW.
Referenced by madness::CCPairBuilder::complete_pair_with_low_rank_parts(), and madness::CC2::iterate_pair().
|
inline |
References functions.
|
inline |
void madness::CCPair::info | ( | ) | const |
|
inline |
|
inline |
References basename(), i, j, and madness::stringify().
Referenced by basename(), info(), madness::CC2::initialize_pairs(), madness::CC2::iterate_pair(), load_pair(), madness::CCPairBuilder::make_bare_pair_from_file(), store_pair(), madness::CC2::update_constant_part_adc2(), and madness::CC2::update_constant_part_cispd().
|
inline |
reconstruct constant part and all functions
References constant_part, madness::f, functions, and madness::Function< T, NDIM >::reconstruct().
Referenced by store_pair().
|
inline |
References bsh_eps, constant_part, ctype, f1, madness::func(), functions, i, madness::Function< T, NDIM >::is_initialized(), j, and type.
|
inline |
References name(), madness::print(), madness::World::rank(), and reconstruct().
|
inline |
updates the pure 6D part of the pair function
References functions, MADNESS_CHECK_THROW, and u().
Referenced by madness::CC2::iterate_pair().
double madness::CCPair::bsh_eps =1.0 |
Energy for the BSH Operator Ground State: e_i + e_j Excited State: e_i + e_j + omega default to positive value to make sure this is set somewhere
Referenced by cloud_load(), cloud_store(), madness::CC2::iterate_adc2_pairs(), madness::CC2::iterate_pair(), madness::CCPairBuilder::make_bare_pair(), serialize(), madness::CC2::solve_cispd(), madness::CC2::update_constant_part_adc2(), and madness::CC2::update_constant_part_cispd().
real_function_6d madness::CCPair::constant_part |
CalcType madness::CCPair::ctype |
std::vector<CCPairFunction<double,6> > madness::CCPair::functions |
the functions which belong to the pair
Referenced by cloud_load(), cloud_store(), madness::CCPairBuilder::complete_pair_with_low_rank_parts(), function(), function_exists(), info(), load_pair(), madness::CCPairBuilder::make_bare_pair_from_file(), madness::CCPairBuilder::make_pair(), reconstruct(), serialize(), madness::CC2::solve_cispd(), and update_u().
size_t madness::CCPair::i |
size_t madness::CCPair::j |
CCState madness::CCPair::type |