struct gpr::geometry::PrimitiveInternal

Overview

#include <gpr/auxiliary/InternalCoordinates.h>
 
struct PrimitiveInternal {
    // fields
 
    PrimitiveKind kind = PrimitiveKind::Bond;
    std::array<int, 4> atoms = {-1, -1, -1, -1};
    Eigen::Vector3d reference = Eigen::Vector3d::Zero();
 
    // methods
 
    static PrimitiveInternal bond(int a, int b);
    static PrimitiveInternal angle(int a, int b, int c);
    static PrimitiveInternal dihedral(int a, int b, int c, int d);
    static PrimitiveInternal linearBend(int a, int b, int c, const Eigen::Vector3d& reference);
    int arity() const;
};

Detailed Documentation

Fields

Eigen::Vector3d reference = Eigen::Vector3d::Zero()

Reference direction of a LinearBend; unused by the other kinds.