|
occ
|
One primitive internal coordinate. More...
#include <coordinates.h>
Public Types | |
| enum class | Kind { Distance , Angle , LinearBend , Dihedral , Cartesian , Translation , Rotation } |
Public Member Functions | |
| double | value (const Mat3N &x) const |
| void | add_derivative (const Mat3N &x, Eigen::Ref< Vec > row) const |
| Adds d value / d x into row (length 3N, atom-major xyz). | |
Public Attributes | |
| Kind | kind |
| std::vector< int > | atoms |
| the atoms involved (the fragment for Translation and Rotation) | |
| int | component {0} |
| Cartesian, Translation, Rotation: 0, 1, 2. | |
| Vec3 | direction {Vec3::Zero()} |
| LinearBend: e; linear Rotation: axis e. | |
| Mat3N | reference |
| Rotation: centred reference positions. | |
| double | scale {1.0} |
| Rotation: radius of gyration of the reference. | |
| bool | linear_fragment {false} |
| Rotation of a linear fragment. | |
One primitive internal coordinate.
Positions are in Bohr throughout; distances, translations and Cartesians are in Bohr, angles in radians, and rotations in radians scaled by the fragment's radius of gyration.
|
strong |
Adds d value / d x into row (length 3N, atom-major xyz).
| double occ::opt::Primitive::value | ( | const Mat3N & | x | ) | const |
| std::vector<int> occ::opt::Primitive::atoms |
the atoms involved (the fragment for Translation and Rotation)
| int occ::opt::Primitive::component {0} |
Cartesian, Translation, Rotation: 0, 1, 2.
| Vec3 occ::opt::Primitive::direction {Vec3::Zero()} |
LinearBend: e; linear Rotation: axis e.
| Kind occ::opt::Primitive::kind |
| bool occ::opt::Primitive::linear_fragment {false} |
Rotation of a linear fragment.
| Mat3N occ::opt::Primitive::reference |
Rotation: centred reference positions.
| double occ::opt::Primitive::scale {1.0} |
Rotation: radius of gyration of the reference.