28 #ifndef _chemistry_molecule_fdhess_h
29 #define _chemistry_molecule_fdhess_h
37 #include <chemistry/molecule/hess.h>
38 #include <chemistry/molecule/energy.h>
71 char *checkpoint_file_;
73 int only_totally_symmetric_;
76 int eliminate_cubic_terms_;
79 int do_null_displacement_;
87 void get_disp(
int disp,
int &irrep,
int &index,
double &coef);
88 void do_hess_for_irrep(
int irrep,
158 int ndisplace()
const;
159 int ndisplacements_done()
const {
return ndisp_; }
161 void displace(
int disp);
162 void original_geometry();
163 void set_gradient(
int disp,
const RefSCVector &grad);
164 void checkpoint_displacements(
StateOut&);
165 void restore_displacements(
StateIn&);
180 RefSCDimension d3natom()
const {
return mole_->moldim(); }
The RefSymmSCMatrix class is a smart pointer to an SCSymmSCMatrix specialization.
Definition: matrix.h:261
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:332
MolecularHessian is an abstract class that computes a molecule's second derivatives of the energy wit...
Definition: hess.h:47
Restores objects that derive from SavableState.
Definition: statein.h:70
void set_energy(const Ref< MolecularEnergy > &energy)
Some MolecularHessian specializations require a molecular energy object.
The MolecularEnergy abstract class inherits from the Function class.
Definition: energy.h:48
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
The RefSCVector class is a smart pointer to an SCVector specialization.
Definition: matrix.h:55
Serializes objects that derive from SavableState.
Definition: stateout.h:61
RefSymmSCMatrix compute_hessian_from_gradients()
These members are used to compute a cartesian hessian from gradients at finite displacements.
Computes the molecular hessian by finite displacements of gradients.
Definition: fdhess.h:45
void set_checkpoint(int c)
Set checkpoint option.
Definition: fdhess.h:172
MolecularEnergy * energy() const
This returns a MolecularEnergy object, if used by this specialization.
RefSymmSCMatrix cartesian_hessian()
This returns the cartesian hessian.
int checkpoint() const
Return the current value of the checkpoint option.
Definition: fdhess.h:174
Generated at Sun Jan 26 2020 23:33:03 for MPQC
2.3.1 using the documentation package Doxygen
1.8.16.