28 #ifndef _chemistry_molecule_deriv_h
29 #define _chemistry_molecule_deriv_h
33 #include <chemistry/molecule/molecule.h>
34 #include <chemistry/molecule/coor.h>
38 class MolecularEnergy;
47 static double desired_accuracy_default_;
48 double desired_accuracy_;
49 bool desired_accuracy_set_to_default_;
122 std::string filename_;
208 double desired_accuracy_;
GuessMolecularHessian(const Ref< KeyVal > &)
The GuessMolecularHessian KeyVal constructor is used to generate a GuessMolecularHessian object from ...
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
RefSymmSCMatrix cartesian_hessian()
Return the hessian in cartesian coordinates.
virtual void set_desired_accuracy(double acc)
Sets the desired accuracy.
The RefSymmSCMatrix class is a smart pointer to an SCSymmSCMatrix specialization.
Definition: matrix.h:265
virtual double desired_accuracy() const
Reports the desired accuracy.
static void write_cartesian_hessian(const char *filename, const Ref< Molecule > &m, const RefSymmSCMatrix &hess)
Write the hessian in a simple text format.
RefSymmSCMatrix cartesian_hessian()
Return the hessian in cartesian coordinates.
The RefSCMatrix class is a smart pointer to an SCMatrix specialization.
Definition: matrix.h:135
A template class that maintains references counts.
Definition: ref.h:361
static void read_cartesian_gradient(const char *filename, const Ref< Molecule > &m, const RefSCVector &grad)
Read the hessian from a simple text format.
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
static void read_cartesian_hessian(const char *filename, const Ref< Molecule > &m, const RefSymmSCMatrix &hess)
Read the hessian from a simple text format.
static RefSCMatrix cartesian_to_symmetry(const Ref< Molecule > &m, Ref< PointGroup > pg=0, Ref< SCMatrixKit > kit=0)
Find transformation matrix from cartesian to symmetry coordinates.
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
MolecularGradient is an abstract class that computes a molecule's first derivatives of the energy wit...
Definition: deriv.h:207
MolecularHessian is an abstract class that computes a molecule's second derivatives of the energy wit...
Definition: deriv.h:46
DiagMolecularHessian(const Ref< KeyVal > &)
The DiagMolecularHessian KeyVal constructor is used to generate a DiagMolecularHessian object from th...
virtual MolecularEnergy * energy() const
This returns a MolecularEnergy object, if used by this specialization.
virtual double desired_accuracy() const
Reports the desired accuracy.
The RefSCDimension class is a smart pointer to an SCDimension specialization.
Definition: dim.h:152
virtual void set_desired_accuracy(double acc)
Sets the desired accuracy.
virtual MolecularEnergy * energy() const
This returns a MolecularEnergy object, if used by this specialization.
The MolecularEnergy abstract class inherits from the Function class.
Definition: energy.h:50
ReadMolecularHessian(const Ref< KeyVal > &)
The ReadMolecularHessian KeyVal constructor is used to generate a ReadMolecularHessian object from th...
static void write_cartesian_gradient(const char *filename, const Ref< Molecule > &m, const RefSCVector &grad)
Write the gradient in a simple text format.
virtual void set_energy(const Ref< MolecularEnergy > &energy)
Some MolecularHessian specializations require a molecular energy object.
virtual RefSCVector cartesian_gradient()=0
Return the cartesian hessian.
RefSymmSCMatrix cartesian_hessian()
Return the hessian in cartesian coordinates.
The RefSCVector class is a smart pointer to an SCVector specialization.
Definition: matrix.h:55
Definition: stateout.h:71
DiagMolecularHessian is an implementation of MolecularHessian that returns a hessian that is a diagon...
Definition: deriv.h:177
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
virtual RefSymmSCMatrix cartesian_hessian()=0
Return the cartesian hessian.
Base class for objects that can save/restore state.
Definition: state.h:45
GuessMolecularHessian is an implementation of MolecularHessian that estimates the hessian based on th...
Definition: deriv.h:148
bool desired_accuracy_set_to_default() const
Definition: deriv.h:114
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
ReadMolecularHessian is an implementation of MolecularHessian that reads the hessian from a file.
Definition: deriv.h:120
virtual void set_energy(const Ref< MolecularEnergy > &energy)
Some MolecularGradient specializations require a molecular energy object.
Generated at Sun Jan 26 2020 23:23:56 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.