occ
Loading...
Searching...
No Matches
occ::opt::CoordinateSystem Class Referenceabstract

A set of coordinates q(x) for N atoms, with x in Bohr (3 x N). More...

#include <coordinates.h>

Inheritance diagram for occ::opt::CoordinateSystem:
[legend]

Public Member Functions

virtual ~CoordinateSystem ()=default
virtual int size () const =0
virtual Vec values (const Mat3N &x) const =0
virtual Mat wilson_b (const Mat3N &x) const =0
 Wilson B matrix dq/dx, size() x 3N.
virtual Vec difference (const Vec &q1, const Vec &q0) const
 q1 - q0 with periodic coordinates (dihedrals) wrapped into (-pi, pi].
virtual bool degenerate (const Mat3N &) const
 True when the coordinates describe x badly and should be rebuilt there (a bend gone linear, bonds formed or broken, a large rotation).
virtual Vec hessian_floor () const
 Diagonal added to the model Hessian (Hartree per unit^2), for coordinates the model gives no stiffness (rigid-body motions).

Detailed Description

A set of coordinates q(x) for N atoms, with x in Bohr (3 x N).

Constructor & Destructor Documentation

◆ ~CoordinateSystem()

virtual occ::opt::CoordinateSystem::~CoordinateSystem ( )
virtualdefault

Member Function Documentation

◆ degenerate()

virtual bool occ::opt::CoordinateSystem::degenerate ( const Mat3N & ) const
inlinevirtual

True when the coordinates describe x badly and should be rebuilt there (a bend gone linear, bonds formed or broken, a large rotation).

Reimplemented in occ::opt::TRICCoordinates.

◆ difference()

virtual Vec occ::opt::CoordinateSystem::difference ( const Vec & q1,
const Vec & q0 ) const
inlinevirtual

q1 - q0 with periodic coordinates (dihedrals) wrapped into (-pi, pi].

Reimplemented in occ::opt::TRICCoordinates.

◆ hessian_floor()

virtual Vec occ::opt::CoordinateSystem::hessian_floor ( ) const
inlinevirtual

Diagonal added to the model Hessian (Hartree per unit^2), for coordinates the model gives no stiffness (rigid-body motions).

Reimplemented in occ::opt::TRICCoordinates.

◆ size()

virtual int occ::opt::CoordinateSystem::size ( ) const
pure virtual

◆ values()

virtual Vec occ::opt::CoordinateSystem::values ( const Mat3N & x) const
pure virtual

◆ wilson_b()

virtual Mat occ::opt::CoordinateSystem::wilson_b ( const Mat3N & x) const
pure virtual

Wilson B matrix dq/dx, size() x 3N.

Implemented in occ::opt::CartesianCoordinates, and occ::opt::TRICCoordinates.


The documentation for this class was generated from the following file: