|
MADNESS 0.10.1
|
Computes matrix representation of the Fock operator. More...
#include <SCFOperators.h>


Public Member Functions | |
| Fock (World &world) | |
| Fock (World &world, const Nemo *nemo) | |
| Fock (World &world, const Nemo *nemo) | |
| Fock (World &world, const NemoBase *nemo) | |
| Fock (World &world, const NemoBase *nemobase) | |
| Fock (World &world, const OEP *nemo) | |
| Fock (World &world, const OEP *oep) | |
| void | add_operator (std::string name, std::shared_ptr< SCFOperatorBase< T, NDIM > > new_op) |
| add an operator with default prefactor 1.0 | |
| void | add_operator (std::string name, std::tuple< double, std::shared_ptr< SCFOperatorBase< T, NDIM > > > new_op) |
| add an operator with custom prefactor (e.g. -1.0 for the exchange, supposedly) | |
| std::string | info () const |
| pretty print what this is actually computing | |
| 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 |
| compute the Fock matrix by summing up all contributions | |
| Tensor< T > | operator() (const std::vector< Function< T, NDIM > > &vbra, const std::vector< Function< T, NDIM > > &vket, const bool symmetric) const |
| compute the Fock matrix by summing up all contributions | |
| std::vector< Function< T, NDIM > > | operator() (const std::vector< Function< T, NDIM > > &vket) const |
| int | remove_operator (std::string name) |
| remove operator, returns 0 if no operator was found | |
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 Types | |
| typedef std::tuple< double, std::shared_ptr< SCFOperatorBase< T, NDIM > > > | valueT |
| type defining Fock operator contribution including prefactor | |
Private Attributes | |
| std::map< std::string, valueT > | operators |
| all the Fock operator contribution | |
| World & | world |
| the 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 |
Computes matrix representation of the Fock operator.
|
private |
type defining Fock operator contribution including prefactor
| madness::Fock< T, NDIM >::Fock | ( | World & | world, |
| const Nemo * | nemo | ||
| ) |
| madness::Fock< T, NDIM >::Fock | ( | World & | world, |
| const OEP * | nemo | ||
| ) |
| madness::Fock< T, NDIM >::Fock | ( | World & | world, |
| const NemoBase * | nemo | ||
| ) |
| madness::Fock< double, 3 >::Fock | ( | World & | world, |
| const Nemo * | nemo | ||
| ) |
| madness::Fock< double, 3 >::Fock | ( | World & | world, |
| const OEP * | oep | ||
| ) |
| madness::Fock< double, 3 >::Fock | ( | World & | world, |
| const NemoBase * | nemobase | ||
| ) |
|
inline |
add an operator with default prefactor 1.0
References madness::name(), madness::nonlinear_vector_solver(), and madness::Fock< T, NDIM >::operators.
Referenced by madness::OEP::make_fock_operator().
|
inline |
add an operator with custom prefactor (e.g. -1.0 for the exchange, supposedly)
References madness::name(), madness::nonlinear_vector_solver(), and madness::Fock< T, NDIM >::operators.
|
inlinevirtual |
pretty print what this is actually computing
Implements madness::SCFOperatorBase< T, NDIM >.
References MADNESS_CHECK, madness::nonlinear_vector_solver(), op(), and madness::Fock< T, NDIM >::operators.
|
inlinevirtual |
compute the matrix element <bra | op | ket>
| bra | bra state |
| ket | ket state |
Implements madness::SCFOperatorBase< T, NDIM >.
References madness::nonlinear_vector_solver().
|
inlinevirtual |
apply this operator on the argument function
| ket | the argument function |
Implements madness::SCFOperatorBase< T, NDIM >.
References MADNESS_EXCEPTION.
Referenced by madness::Fock< T, NDIM >::operator()().
|
inline |
compute the Fock matrix by summing up all contributions
References madness::nonlinear_vector_solver(), and madness::Fock< T, NDIM >::operator()().
|
inline |
compute the Fock matrix by summing up all contributions
References madness::nonlinear_vector_solver(), op(), and madness::Fock< T, NDIM >::operators.
|
inline |
|
inline |
remove operator, returns 0 if no operator was found
References madness::name(), and madness::Fock< T, NDIM >::operators.
Referenced by madness::TDHF::get_tda_potential(), and madness::OEP::make_fock_operator().
|
private |
all the Fock operator contribution
Referenced by madness::Fock< T, NDIM >::Fock(), madness::Fock< T, NDIM >::Fock(), madness::Fock< T, NDIM >::Fock(), madness::Fock< T, NDIM >::add_operator(), madness::Fock< T, NDIM >::add_operator(), madness::Fock< T, NDIM >::info(), madness::Fock< T, NDIM >::operator()(), madness::Fock< T, NDIM >::operator()(), and madness::Fock< T, NDIM >::remove_operator().
the world
Referenced by madness::Fock< T, NDIM >::operator()().