IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::atom::CHARMMInternalCoordinate Class Reference

A geometric relationship between four atoms. More...

#include <IMP/atom/charmm_topology.h>

Inheritance diagram for IMP::atom::CHARMMInternalCoordinate:

Detailed Description

A geometric relationship between four atoms.

The atoms (denoted i,j,k,l here) are uniquely positioned in 3D space relative to each other by means of two distances, two angles, and a dihedral.

A regular internal coordinate stores the distances between ij and kl respectively, and the angles between ijk and jkl.

An improper internal coordinate stores the distances between ik and kl respectively, and the angles between ikj and jkl.

In both cases the dihedral is the angle between the two planes formed by ijk and jkl.

Definition at line 203 of file charmm_topology.h.

Public Member Functions

 CHARMMInternalCoordinate (const IMP::Strings &atoms, float first_distance, float first_angle, float dihedral, float second_angle, float second_distance, bool improper)
 CHARMMInternalCoordinate (const Vector< CHARMMBondEndpoint > endpoints, float first_distance, float first_angle, float dihedral, float second_angle, float second_distance, bool improper)
float get_dihedral () const
float get_first_angle () const
float get_first_distance () const
bool get_improper () const
float get_second_angle () const
float get_second_distance () const
void show (std::ostream &out=std::cout) const
Public Member Functions inherited from IMP::atom::CHARMMConnection< 4 >
 CHARMMConnection (const IMP::Strings &atoms)
 CHARMMConnection (Vector< CHARMMBondEndpoint > endpoints)
Atoms get_atoms (const CHARMMResidueTopology *current_residue, const CHARMMResidueTopology *previous_residue, const CHARMMResidueTopology *next_residue, const std::map< const CHARMMResidueTopology *, Hierarchy > &resmap) const
 Map the bond to a list of Atom particles.
bool get_contains_atom (std::string name) const
 Return true if the bond contains the named atom.
const IMP::atom::CHARMMBondEndpoint & get_endpoint (unsigned int i) const
void show (std::ostream &out=std::cout) const

Additional Inherited Members

Protected Attributes inherited from IMP::atom::CHARMMConnection< 4 >
Vector< CHARMMBondEndpoint > endpoints_

Constructor & Destructor Documentation

◆ CHARMMInternalCoordinate() [1/2]

IMP::atom::CHARMMInternalCoordinate::CHARMMInternalCoordinate ( const IMP::Strings & atoms,
float first_distance,
float first_angle,
float dihedral,
float second_angle,
float second_distance,
bool improper )

Definition at line 209 of file charmm_topology.h.

◆ CHARMMInternalCoordinate() [2/2]

IMP::atom::CHARMMInternalCoordinate::CHARMMInternalCoordinate ( const Vector< CHARMMBondEndpoint > endpoints,
float first_distance,
float first_angle,
float dihedral,
float second_angle,
float second_distance,
bool improper )

Definition at line 220 of file charmm_topology.h.

Member Function Documentation

◆ get_dihedral()

float IMP::atom::CHARMMInternalCoordinate::get_dihedral ( ) const

Definition at line 236 of file charmm_topology.h.

◆ get_first_angle()

float IMP::atom::CHARMMInternalCoordinate::get_first_angle ( ) const

Definition at line 234 of file charmm_topology.h.

◆ get_first_distance()

float IMP::atom::CHARMMInternalCoordinate::get_first_distance ( ) const

Definition at line 232 of file charmm_topology.h.

◆ get_improper()

bool IMP::atom::CHARMMInternalCoordinate::get_improper ( ) const

Definition at line 237 of file charmm_topology.h.

◆ get_second_angle()

float IMP::atom::CHARMMInternalCoordinate::get_second_angle ( ) const

Definition at line 235 of file charmm_topology.h.

◆ get_second_distance()

float IMP::atom::CHARMMInternalCoordinate::get_second_distance ( ) const

Definition at line 233 of file charmm_topology.h.


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