|
AvogadroLibs 1.103.0
|
Public Member Functions | |
| LennardJones * | newInstance () const override |
| std::string | identifier () const override |
| std::string | name () const override |
| std::string | description () const override |
| bool | acceptsIons () const override |
| Indicate if your method can handle ions Many methods only treat neutral systems, either a neutral molecule or a neutral unit cell. | |
| bool | acceptsRadicals () const override |
| Indicate if your method can handle radicals Most methods only treat closed-shell molecules. | |
| bool | acceptsUnitCell () const override |
| Indicate if your method can handle unit cells. | |
| Core::Molecule::ElementMask | elements () const override |
| Indicate if your method only treats a subset of elements. | |
| Real | value (const Eigen::VectorXd &x) override |
| void | gradient (const Eigen::VectorXd &x, Eigen::VectorXd &grad) override |
| void | setMolecule (Core::Molecule *mol) override |
| Public Member Functions inherited from EnergyCalculator | |
| virtual bool | setConfiguration (Core::VariantMap &config) |
| void | gradient (const TVector &x, TVector &grad) override |
| void | cleanGradients (TVector &grad) |
| Real | constraintEnergies (const TVector &x) |
| void | constraintGradients (const TVector &x, TVector &grad) |
| std::vector< Core::Constraint > | constraints () const |
| void | setConstraints (const std::vector< Core::Constraint > &constraints) |
| void | setMask (TVector mask) |
| TVector | mask () const |
Protected Attributes | |
| Core::Molecule * | m_molecule |
| Core::UnitCell * | m_cell |
| Eigen::MatrixXd | m_radii |
| bool | m_vdw |
| Real | m_depth |
| int | m_exponent |
| Core::Molecule::ElementMask | m_elements |
| Protected Attributes inherited from EnergyCalculator | |
| TVector | m_mask |
| std::vector< Core::Constraint > | m_distanceConstraints |
| std::vector< Core::Constraint > | m_angleConstraints |
| std::vector< Core::Constraint > | m_torsionConstraints |
| std::vector< Core::Constraint > | m_outOfPlaneConstraints |
Additional Inherited Members | |
| Protected Member Functions inherited from EnergyCalculator | |
| void | appendError (const std::string &errorString, bool newLine=true) const |
| Append an error to the error string for the model. | |
|
overridevirtual |
Create a new instance of the model. Ownership passes to the caller.
Implements EnergyCalculator.
|
overridevirtual |
Implements EnergyCalculator.
|
overridevirtual |
Implements EnergyCalculator.
|
overridevirtual |
Implements EnergyCalculator.
|
overridevirtual |
Reimplemented from EnergyCalculator.
|
overridevirtual |
Reimplemented from EnergyCalculator.
|
overridevirtual |
Reimplemented from EnergyCalculator.
|
overridevirtual |
Implements EnergyCalculator.
|
overridevirtual |
Called when the current molecule changes.
Implements EnergyCalculator.