| 
    NAMD
    
   | 
 
#include <GromacsTopFile.h>
Public Member Functions | |
| GromacsTopFile (char *filename) | |
| char * | getSystemName () const | 
| int | getNumAtoms () const | 
| int | getNumBonds () const | 
| int | getNumAngles () const | 
| int | getNumDihedrals () const | 
| int | getNumAtomParams () const | 
| int | getNumBondParams () const | 
| int | getNumAngleParams () const | 
| int | getNumDihedralParams () const | 
| void | getAtom (int num, int *residue_number, char *residue_name, char *atom_name, char *atom_type, int *atom_typenum, Real *charge, Real *mass) const | 
| void | getAtomParams (int num, char *type) const | 
| int | getNumPair () const | 
| int | getNumLJPair () const | 
| int | getNumGaussPair () const | 
| int | getNumExclusions () const | 
| void | getExclusions (int *, int *) const | 
| void | getBond (int num, int *atomi, int *atomj, int *bondtype) const | 
| void | getBondParams (int num, Real *b0, Real *kB, int *funct) const | 
| void | getAngle (int num, int *atomi, int *atomj, int *atomk, int *angletype) const | 
| void | getAngleParams (int num, Real *th0, Real *kth, int *funct) const | 
| void | getDihedral (int num, int *atomi, int *atomj, int *atomk, int *atoml, int *type) const | 
| void | getDihedralParams (int num, Real *c, int *mult, int *funct) const | 
| void | getPairLJArrays2 (int *indexA, int *indexB, Real *pairC6, Real *pairC12) | 
| void | getPairGaussArrays2 (int *indexA, int *indexB, Real *gaussA, Real *gaussMu1, Real *gaussSigma1, Real *gaussMu2, Real *gaussSigma2, Real *gaussRepulsive) | 
| void | getVDWParams (int typea, int typeb, Real *c6, Real *c12, Real *c6pair, Real *c7) const | 
Definition at line 479 of file GromacsTopFile.h.
| GromacsTopFile::GromacsTopFile | ( | char * | filename | ) | 
Definition at line 65 of file GromacsTopFile.C.
References ResizeArray< Elem >::add(), PairTable::addPairGaussType2(), PairTable::addPairLJType2(), AtomTable::addType(), BondTable::addType(), AngleTable::addType(), DihedralTable::addType(), VDWTable::addType(), ANGLES, ANGLETYPES, ANGSTROMS_PER_NM, ATOMS, ATOMTYPES, BONDS, BONDTYPES, bool_negative_number_warning_flag, DEFAULTS, DIHEDRALS, DIHEDRALTYPES, EXCLUSIONS, exclusions_atom_i, exclusions_atom_j, BondTable::getIndex(), AngleTable::getIndex(), DihedralTable::getIndex(), AtomTable::getParams(), BondTable::getParams(), AngleTable::getParams(), DihedralTable::getParams(), iout, iWARN(), JOULES_PER_CALORIE, LINESIZE, LONGNAMESIZE, MOLECULES, MOLECULETYPE, NAMD_die(), NAMESIZE, NONBOND, numExclusion, PAIRS, PI, ResizeArray< Elem >::size(), SYSTEM, and UNKNOWN.
| void GromacsTopFile::getAngle | ( | int | num, | 
| int * | atomi, | ||
| int * | atomj, | ||
| int * | atomk, | ||
| int * | angletype | ||
| ) | const | 
Definition at line 727 of file GromacsTopFile.C.
References GenericAngle::getAtomi(), GenericAngle::getAtomj(), GenericAngle::getAtomk(), GenericAngle::getType(), and ResizeArray< Elem >::size().
Definition at line 1084 of file GromacsTopFile.C.
References AngleTable::getParams().
| void GromacsTopFile::getAtom | ( | int | num, | 
| int * | residue_number, | ||
| char * | residue_name, | ||
| char * | atom_name, | ||
| char * | atom_type, | ||
| int * | atom_typenum, | ||
| Real * | charge, | ||
| Real * | mass | ||
| ) | const | 
Definition at line 809 of file GromacsTopFile.C.
References GenericAtom::getAtomName(), GenericAtom::getCharge(), GenericAtom::getMass(), GenericAtom::getResNum(), GenericAtom::getResType(), GenericAtom::getType(), GenericAtom::getTypeNum(), and ResizeArray< Elem >::size().
Referenced by PDB::PDB().
      
  | 
  inline | 
Definition at line 544 of file GromacsTopFile.h.
References AtomTable::getType().
Referenced by getVDWParams().
| void GromacsTopFile::getBond | ( | int | num, | 
| int * | atomi, | ||
| int * | atomj, | ||
| int * | bondtype | ||
| ) | const | 
Definition at line 693 of file GromacsTopFile.C.
References GenericBond::getAtomi(), GenericBond::getAtomj(), GenericBond::getType(), and ResizeArray< Elem >::size().
Definition at line 1077 of file GromacsTopFile.C.
References BondTable::getParams().
| void GromacsTopFile::getDihedral | ( | int | num, | 
| int * | atomi, | ||
| int * | atomj, | ||
| int * | atomk, | ||
| int * | atoml, | ||
| int * | type | ||
| ) | const | 
Definition at line 762 of file GromacsTopFile.C.
References GenericDihedral::getAtomi(), GenericDihedral::getAtomj(), GenericDihedral::getAtomk(), GenericDihedral::getAtoml(), GenericDihedral::getType(), and ResizeArray< Elem >::size().
| void GromacsTopFile::getDihedralParams | ( | int | num, | 
| Real * | c, | ||
| int * | mult, | ||
| int * | funct | ||
| ) | const | 
Definition at line 1089 of file GromacsTopFile.C.
References DihedralTable::getParams().
| void GromacsTopFile::getExclusions | ( | int * | atomi, | 
| int * | atomj | ||
| ) | const | 
Definition at line 680 of file GromacsTopFile.C.
References exclusions_atom_i, exclusions_atom_j, and ResizeArray< Elem >::size().
      
  | 
  inline | 
| int GromacsTopFile::getNumAngles | ( | ) | const | 
      
  | 
  inline | 
| int GromacsTopFile::getNumAtoms | ( | ) | const | 
Definition at line 796 of file GromacsTopFile.C.
References ResizeArray< Elem >::size().
Referenced by PDB::PDB().
      
  | 
  inline | 
| int GromacsTopFile::getNumBonds | ( | ) | const | 
      
  | 
  inline | 
| int GromacsTopFile::getNumDihedrals | ( | ) | const | 
| int GromacsTopFile::getNumExclusions | ( | ) | const | 
Definition at line 675 of file GromacsTopFile.C.
References numExclusion.
| int GromacsTopFile::getNumGaussPair | ( | ) | const | 
Definition at line 670 of file GromacsTopFile.C.
References numGaussPair.
| int GromacsTopFile::getNumLJPair | ( | ) | const | 
Definition at line 666 of file GromacsTopFile.C.
References numLJPair.
| int GromacsTopFile::getNumPair | ( | ) | const | 
| void GromacsTopFile::getPairGaussArrays2 | ( | int * | indexA, | 
| int * | indexB, | ||
| Real * | gaussA, | ||
| Real * | gaussMu1, | ||
| Real * | gaussSigma1, | ||
| Real * | gaussMu2, | ||
| Real * | gaussSigma2, | ||
| Real * | gaussRepulsive | ||
| ) | 
Definition at line 1098 of file GromacsTopFile.C.
References PairTable::getPairGaussArrays2().
Definition at line 1094 of file GromacsTopFile.C.
References PairTable::getPairLJArrays2().
      
  | 
  inline | 
Definition at line 511 of file GromacsTopFile.h.
| void GromacsTopFile::getVDWParams | ( | int | typea, | 
| int | typeb, | ||
| Real * | c6, | ||
| Real * | c12, | ||
| Real * | c6pair, | ||
| Real * | c7 | ||
| ) | const | 
Definition at line 1417 of file GromacsTopFile.C.
References getAtomParams(), AtomTable::getParams(), and VDWTable::getParams().
 1.8.14