|
MADNESS 0.10.1
|
#include <SCFOperators.h>


Classes | |
| class | MacroTaskCoulomb |
Public Member Functions | |
| Coulomb (World &world) | |
| default empty ctor | |
| Coulomb (World &world, const double lo, const double thresh=FunctionDefaults< 3 >::get_thresh()) | |
| default empty ctor | |
| Coulomb (World &world, const Nemo *nemo) | |
| ctor with a Nemo calculation providing the MOs and density | |
| Coulomb (World &world, const SCF *calc) | |
| ctor with an SCF calculation providing the MOs and density | |
| Function< T, NDIM > | compute_density (const SCF *calc) const |
| Function< T, NDIM > | compute_potential (const Function< T, NDIM > &density) const |
| given a density compute the Coulomb potential | |
| Function< T, NDIM > | compute_potential (const Nemo *nemo) const |
| given a set of MOs in an SCF calculation, compute the Coulomb potential | |
| Function< T, NDIM > | compute_potential (const SCF *calc) const |
| given a set of MOs in an SCF calculation, compute the Coulomb potential | |
| std::string | info () const |
| print some information about this operator | |
| T | operator() (const Function< T, NDIM > &bra, const Function< T, NDIM > &ket) const |
| compute the matrix element <bra | op | ket> | |
| Function< T, NDIM > | operator() (const Function< T, NDIM > &ket) const |
| Tensor< T > | operator() (const std::vector< Function< T, NDIM > > &vbra, const std::vector< Function< T, NDIM > > &vket) const |
| std::vector< Function< T, NDIM > > | operator() (const std::vector< Function< T, NDIM > > &vket) const |
| Function< T, NDIM > & | potential () |
| setter for the Coulomb potential | |
| const Function< T, NDIM > & | potential () const |
| getter for the Coulomb potential | |
| void | reset_poisson_operator_ptr (const double lo, const double econv) |
| Coulomb & | set_taskq (std::shared_ptr< MacroTaskQ > taskq1) |
| Public Member Functions inherited from madness::SCFOperatorBase< T, NDIM > | |
| SCFOperatorBase ()=default | |
| SCFOperatorBase (std::shared_ptr< MacroTaskQ > taskq) | |
| virtual | ~SCFOperatorBase () |
| virtual tensorT | operator() (const vecfuncT &vbra, const vecfuncT &vket) const =0 |
| compute the matrix <vbra | op | vket> | |
| virtual vecfuncT | operator() (const vecfuncT &vket) const =0 |
| apply this operator on the argument vector of functions | |
Private Attributes | |
| double | lo =1.e-4 |
| std::shared_ptr< real_convolution_3d > | poisson |
| Function< T, NDIM > | vcoul |
| the coulomb potential, can be complex for excited states using complex orbitals | |
| World & | world |
Additional Inherited Members | |
| Public Types inherited from madness::SCFOperatorBase< T, NDIM > | |
| typedef Function< T, NDIM > | functionT |
| typedef Tensor< T > | tensorT |
| typedef std::vector< functionT > | vecfuncT |
| Public Attributes inherited from madness::SCFOperatorBase< T, NDIM > | |
| nlohmann::json | statistics |
| std::shared_ptr< MacroTaskQ > | taskq =0 |
|
inline |
|
inline |
default empty ctor
References madness::FunctionDefaults< NDIM >::thresh, madness::FunctionDefaults< NDIM >::get_thresh(), lo, reset_poisson_operator_ptr(), and world.
| madness::Coulomb< T, NDIM >::Coulomb | ( | World & | world, |
| const SCF * | calc ) |
ctor with an SCF calculation providing the MOs and density
References compute_potential(), madness::FunctionDefaults< NDIM >::get_thresh(), madness::CalculationParameters::lo(), madness::SCF::param, reset_poisson_operator_ptr(), vcoul, and world.
| madness::Coulomb< T, NDIM >::Coulomb | ( | World & | world, |
| const Nemo * | nemo ) |
ctor with a Nemo calculation providing the MOs and density
ctor with an SCF calculation providing the MOs and density
References compute_potential(), madness::FunctionDefaults< NDIM >::get_thresh(), madness::nemo, reset_poisson_operator_ptr(), vcoul, and world.
| Function< T, NDIM > madness::Coulomb< T, NDIM >::compute_density | ( | const SCF * | calc | ) | const |
References madness::convert(), madness::SCF::get_amo(), madness::SCF::get_aocc(), madness::SCF::get_bmo(), madness::SCF::get_bocc(), madness::SCF::is_spin_restricted(), madness::SCF::make_density(), madness::Function< T, NDIM >::scale(), madness::Function< T, NDIM >::truncate(), and world.
Referenced by compute_potential().
|
inline |
given a density compute the Coulomb potential
this function uses a newly constructed Poisson operator. Note that the accuracy parameters must be consistent with the exchange operator. density can be complex, e.g. for excitation energies
References poisson, and madness::truncate().
Referenced by Coulomb(), Coulomb(), madness::OEP::compute_coulomb_potential(), madness::OEP::compute_energy(), madness::Zcis::compute_potentials(), madness::OEP::compute_slater_potential(), madness::TDHF::get_tda_potential(), madness::Nemo::make_cphf_constant_term(), madness::Nemo::solve_cphf(), and test_coulomb().
| Function< T, NDIM > madness::Coulomb< T, NDIM >::compute_potential | ( | const Nemo * | nemo | ) | const |
given a set of MOs in an SCF calculation, compute the Coulomb potential
same as above, but with the additional factor R^2 in the density
this function uses the Poisson operator of the SCF calculation
References madness::convert(), madness::nemo, poisson, madness::Function< T, NDIM >::scale(), madness::truncate(), and world.
| Function< T, NDIM > madness::Coulomb< T, NDIM >::compute_potential | ( | const SCF * | calc | ) | const |
given a set of MOs in an SCF calculation, compute the Coulomb potential
this function uses the Poisson operator of the SCF calculation
References compute_density(), poisson, and madness::truncate().
|
inlinevirtual |
print some information about this operator
Implements madness::SCFOperatorBase< T, NDIM >.
|
inlinevirtual |
compute the matrix element <bra | op | ket>
| bra | bra state |
| ket | ket state |
Implements madness::SCFOperatorBase< T, NDIM >.
References madness::inner(), and vcoul.
|
inlinevirtual |
apply this operator on the argument function
| ket | the argument function |
Implements madness::SCFOperatorBase< T, NDIM >.
References operator()().
Referenced by operator()().
|
inline |
References madness::matrix_inner(), and world.
|
inline |
References task(), madness::SCFOperatorBase< T, NDIM >::taskq, vcoul, and world.
|
inline |
|
inline |
getter for the Coulomb potential
References vcoul.
Referenced by madness::OEP::compute_coulomb_potential(), madness::Nemo::compute_nemo_potentials_impl(), madness::TDHF::get_tda_potential(), madness::Nemo::make_cphf_constant_term(), madness::Nemo::make_fock_operator(), madness::Nemo::solve_cphf(), and test_coulomb().
| void madness::Coulomb< T, NDIM >::reset_poisson_operator_ptr | ( | const double | lo, |
| const double | econv ) |
References madness::CoulombOperatorPtr(), lo, poisson, and world.
Referenced by Coulomb(), Coulomb(), Coulomb(), and test_coulomb().
|
inline |
References Coulomb(), and madness::SCFOperatorBase< T, NDIM >::taskq.
Referenced by madness::Nemo::compute_nemo_potentials_impl().
|
private |
Referenced by Coulomb(), and reset_poisson_operator_ptr().
|
private |
Referenced by compute_potential(), compute_potential(), compute_potential(), and reset_poisson_operator_ptr().
|
private |
the coulomb potential, can be complex for excited states using complex orbitals
Referenced by Coulomb(), Coulomb(), madness::Coulomb< T, NDIM >::MacroTaskCoulomb::operator()(), operator()(), operator()(), potential(), and potential().
|
private |