•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Search Results
mpqc::Energy::Provider Class Referenceabstract
Collaboration diagram for mpqc::Energy::Provider:

Documentation
every class that can evaluate Energy (e.g. Wavefunction) will publicly inherit from Energy::Provider
Public Member Functions | |
virtual bool can_evaluate (Energy *energy)=0 | |
virtual void evaluate (Energy *energy)=0 | |
Additional Inherited Members | |
![]() | |
static void set_value (function_base_type *f, typename Function::value_type value) | |
static const Function::value_type & get_value (function_base_type *f) | |
Member Function Documentation
◆ can_evaluate()
|
pure virtual |
- Returns
true
ifenergy
can be computed. For example, ifenergy
demands Taylor expansion to 1st order but this cannot provide analytic 1st derivatives of energy (i.e., forces), will returnfalse
.
◆ evaluate()
|
pure virtual |
Provider::evaluate computes the Taylor expansion of the energy and uses Energy::set_value to assign the values to energy
The documentation for this class was generated from the following file:
- mpqc/chemistry/qc/properties/energy.h