IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::atom::CHARMMConnection< D > Class Template Reference

A connection (bond, angle, dihedral) between some number of endpoints. More...

#include <IMP/atom/charmm_topology.h>

Inheritance diagram for IMP::atom::CHARMMConnection< D >:

Detailed Description

template<unsigned int D>
class IMP::atom::CHARMMConnection< D >

A connection (bond, angle, dihedral) between some number of endpoints.

Definition at line 104 of file charmm_topology.h.

Public Member Functions

 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

Protected Attributes

Vector< CHARMMBondEndpoint > endpoints_

Constructor & Destructor Documentation

◆ CHARMMConnection() [1/2]

template<unsigned int D>
IMP::atom::CHARMMConnection< D >::CHARMMConnection ( const IMP::Strings & atoms)

Definition at line 109 of file charmm_topology.h.

◆ CHARMMConnection() [2/2]

template<unsigned int D>
IMP::atom::CHARMMConnection< D >::CHARMMConnection ( Vector< CHARMMBondEndpoint > endpoints)

Definition at line 117 of file charmm_topology.h.

Member Function Documentation

◆ get_atoms()

template<unsigned int D>
Atoms IMP::atom::CHARMMConnection< D >::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.

Definition at line 141 of file charmm_topology.h.

◆ get_contains_atom()

template<unsigned int D>
bool IMP::atom::CHARMMConnection< D >::get_contains_atom ( std::string name) const

Return true if the bond contains the named atom.

Definition at line 128 of file charmm_topology.h.

◆ get_endpoint()

template<unsigned int D>
const IMP::atom::CHARMMBondEndpoint & IMP::atom::CHARMMConnection< D >::get_endpoint ( unsigned int i) const

Definition at line 123 of file charmm_topology.h.

Member Data Documentation

◆ endpoints_

template<unsigned int D>
Vector<CHARMMBondEndpoint> IMP::atom::CHARMMConnection< D >::endpoints_
protected

Definition at line 106 of file charmm_topology.h.


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