•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Search Results
mpqc::lcao::JKFockBuilder< Tile, Policy > Class Template Referenceabstract
Collaboration diagram for mpqc::lcao::JKFockBuilder< Tile, Policy >:

Documentation
template<typename Tile, typename Policy>
class mpqc::lcao::JKFockBuilder< Tile, Policy >
JKFockBuilder computes the Coulomb (2-body) + Exchange parts of the Fock matrix
Public Types | |
using array_type = TA::DistArray< Tile, Policy > | |
using arrayvec_type = TA::DistArrayVector< Tile, Policy > | |
using result_type = std::tuple< arrayvec_type, std::optional< double > > | |
![]() | |
using array_type = TA::DistArray< Tile, Policy > | |
using arrayvec_type = TA::DistArrayVector< Tile, Policy > | |
using result_type = std::tuple< arrayvec_type, std::optional< double > > | |
![]() | |
typedef std::shared_ptr< DescribedClass >(* keyval_ctor_wrapper_type) (const KeyVal &) | |
Public Member Functions | |
virtual ~JKFockBuilder ()=default | |
result_type operator() (arrayvec_type const &D, arrayvec_type const &C, double target_precision=std::numeric_limits< double >::epsilon()) override final | |
computes the J+K contribution of the Fock matrix More... | |
virtual result_type compute (arrayvec_type const &D, arrayvec_type const &C, double scale_J_by=1.0, double scale_K_by=1.0, double target_precision=std::numeric_limits< double >::epsilon())=0 | |
computes the J+K part of the Fock matrix with variable fraction of J and K More... | |
![]() | |
virtual ~FockBuilder () | |
virtual void log_iter (std::ostream &os=ExEnv::out0()) const | |
virtual void register_fock (const arrayvec_type &, FormulaRegistry< array_type > &) const =0 | |
![]() | |
DescribedClass ()=default | |
virtual ~DescribedClass () | |
std::string class_key () const | |
![]() | |
virtual ~enable_shared_from_this ()=default | |
std::shared_ptr< DescribedClass > shared_from_this () | |
returns the pointer to this object More... | |
std::shared_ptr< std::add_const_t< DescribedClass > > shared_from_this () const | |
returns the pointer to this object More... | |
![]() | |
virtual ~virt_base_of_enable_shared_from_this ()=default | |
bool shared_from_this_possible () const | |
template<typename Target , typename = std::enable_if_t<!std::is_const_v<Target>>> | |
std::shared_ptr< Target > cast_shared_from_this_to () | |
returns the pointer to this cast to a particular type More... | |
template<typename Target > | |
std::shared_ptr< std::add_const_t< Target > > cast_shared_from_this_to () const | |
returns the pointer to this cast to a particular type More... | |
Additional Inherited Members | |
![]() | |
static keyval_ctor_wrapper_type type_to_keyval_ctor (const std::string &type_name) | |
template<typename T > | |
static void register_keyval_ctor () | |
template<typename T > | |
static bool is_registered () | |
template<typename T > | |
static std::string class_key () | |
static const keyval_ctor_registry_type & keyval_ctor_registry () | |
returns const ref to the keyval ctor registry More... | |
Member Typedef Documentation
◆ array_type
template<typename Tile , typename Policy >
using mpqc::lcao::JKFockBuilder< Tile, Policy >::array_type = TA::DistArray<Tile, Policy> |
◆ arrayvec_type
template<typename Tile , typename Policy >
using mpqc::lcao::JKFockBuilder< Tile, Policy >::arrayvec_type = TA::DistArrayVector<Tile, Policy> |
◆ result_type
template<typename Tile , typename Policy >
using mpqc::lcao::JKFockBuilder< Tile, Policy >::result_type = std::tuple<arrayvec_type, std::optional<double> > |
Constructor & Destructor Documentation
◆ ~JKFockBuilder()
template<typename Tile , typename Policy >
|
virtualdefault |
Member Function Documentation
◆ compute()
template<typename Tile , typename Policy >
|
pure virtual |
computes the J+K part of the Fock matrix with variable fraction of J and K
- Parameters
-
D the (1-particle) density matrix C the occupied orbital AO coefficient matrix scale_J_by the coefficient of J in the result scale_K_by the coefficient of K in the result target_precision the (absolute) target precision of the Fock matrix; this precision is not in general guaranteed, but the actual precision of the Fock matrix is usually proportional to this value.
- Returns
- the J+K contribution to the Fock matrix an optional energy correction
Implemented in mpqc::lcao::DirectFockBuilder< Tile, Policy >, mpqc::lcao::ReferenceFockBuilder< Tile, Policy, Integral >, and mpqc::lcao::ExactKDiagonalBuilder< Tile, Policy >.
◆ operator()()
template<typename Tile , typename Policy >
|
inlinefinaloverridevirtual |
computes the J+K contribution of the Fock matrix
- Parameters
-
D the (1-particle) density matrix C the occupied orbital AO coefficient matrix target_precision the (absolute) target precision of the Fock matrix; this precision is not in general guaranteed, but the actual precision of the Fock matrix is usually proportional to this value.
- Returns
- the J+K contribution to the Fock matrix.
Implements mpqc::lcao::FockBuilder< Tile, Policy >.
The documentation for this class was generated from the following file:
- mpqc/chemistry/qc/lcao/scf/fock_builder.h