Function pele::add_translation_offset_2d#

Function Documentation#

inline void pele::add_translation_offset_2d(Eigen::MatrixXd &hessian, double offset)#

adds a translation offset to the hessian.

This should take care of translational symmetries

Parameters:
  • hessian – the hessian to be modified

  • offset – the offset to be added