NAMD
Public Member Functions | List of all members
GenericBond Class Reference

#include <GromacsTopFile.h>

Public Member Functions

 GenericBond (int i, int j, int theType)
 
int getAtomi () const
 
int getAtomj () const
 
int getType () const
 

Detailed Description

Definition at line 15 of file GromacsTopFile.h.

Constructor & Destructor Documentation

◆ GenericBond()

GenericBond::GenericBond ( int  i,
int  j,
int  theType 
)

Definition at line 864 of file GromacsTopFile.C.

864  {
865  atomi=i;
866  atomj=j;
867  type=theType;
868 }

Member Function Documentation

◆ getAtomi()

int GenericBond::getAtomi ( ) const
inline

Definition at line 26 of file GromacsTopFile.h.

Referenced by GromacsTopFile::getBond().

26 {return atomi;}

◆ getAtomj()

int GenericBond::getAtomj ( ) const
inline

Definition at line 27 of file GromacsTopFile.h.

Referenced by GromacsTopFile::getBond().

27 {return atomj;}

◆ getType()

int GenericBond::getType ( ) const
inline

Definition at line 28 of file GromacsTopFile.h.

Referenced by GromacsTopFile::getBond().

28 {return type;}

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