occ
Loading...
Searching...
No Matches
occ::opt::TRICCoordinates Class Reference

Translation-rotation internal coordinates (TRIC; L. More...

#include <coordinates.h>

Inheritance diagram for occ::opt::TRICCoordinates:
[legend]
Collaboration diagram for occ::opt::TRICCoordinates:
[legend]

Public Member Functions

 TRICCoordinates (const IVec &atomic_numbers, const Mat3N &x)
int size () const override
Vec values (const Mat3N &x) const override
Mat wilson_b (const Mat3N &x) const override
 Wilson B matrix dq/dx, size() x 3N.
Vec difference (const Vec &q1, const Vec &q0) const override
 q1 - q0 with periodic coordinates (dihedrals) wrapped into (-pi, pi].
bool degenerate (const Mat3N &x) const override
 True when the coordinates describe x badly and should be rebuilt there (a bend gone linear, bonds formed or broken, a large rotation).
Vec hessian_floor () const override
 Diagonal added to the model Hessian (Hartree per unit^2), for coordinates the model gives no stiffness (rigid-body motions).
const std::vector< Primitive > & primitives () const
int num_fragments () const
Public Member Functions inherited from occ::opt::CoordinateSystem
virtual ~CoordinateSystem ()=default

Detailed Description

Translation-rotation internal coordinates (TRIC; L.

-P. Wang and C. Song, J. Chem. Phys. 144, 214108 (2016)): distances, angles, linear bends and dihedrals over the covalent bonds of each fragment, an out-of-plane dihedral at every atom with three bonded neighbours, and the translation and rotation of every fragment, so fragments need no artificial bonds. Cartesian coordinates are added for any atom the rest leave undetermined, so B has rank 3N; the coordinates count as degenerate (to be rebuilt) where that rank drops.

Constructor & Destructor Documentation

◆ TRICCoordinates()

occ::opt::TRICCoordinates::TRICCoordinates ( const IVec & atomic_numbers,
const Mat3N & x )

Member Function Documentation

◆ degenerate()

bool occ::opt::TRICCoordinates::degenerate ( const Mat3N & ) const
overridevirtual

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

Reimplemented from occ::opt::CoordinateSystem.

◆ difference()

Vec occ::opt::TRICCoordinates::difference ( const Vec & q1,
const Vec & q0 ) const
overridevirtual

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

Reimplemented from occ::opt::CoordinateSystem.

◆ hessian_floor()

Vec occ::opt::TRICCoordinates::hessian_floor ( ) const
overridevirtual

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

Reimplemented from occ::opt::CoordinateSystem.

◆ num_fragments()

int occ::opt::TRICCoordinates::num_fragments ( ) const
inline

◆ primitives()

const std::vector< Primitive > & occ::opt::TRICCoordinates::primitives ( ) const
inline

◆ size()

int occ::opt::TRICCoordinates::size ( ) const
inlineoverridevirtual

◆ values()

Vec occ::opt::TRICCoordinates::values ( const Mat3N & x) const
overridevirtual

◆ wilson_b()

Mat occ::opt::TRICCoordinates::wilson_b ( const Mat3N & x) const
overridevirtual

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

Implements occ::opt::CoordinateSystem.


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