occ
Loading...
Searching...
No Matches
optimization_state.h File Reference
Include dependency graph for optimization_state.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  occ::opt::ConvergenceCriteria
 Thresholds on per-atom quantities: the norm of each atom's gradient and of its displacement in the proposed step. More...

Namespaces

namespace  occ
namespace  occ::opt

Functions

bool occ::opt::check_convergence (const Mat3N &gradient, const Vec &displacements, double energy_change, bool check_energy, const ConvergenceCriteria &criteria, int step)
 Checks and logs the criteria for the gradient (3 x N, Hartree/Bohr), the per-atom displacements of the proposed step (Bohr) and the energy change since the previous point (ignored when check_energy is false).