1 #ifndef GROMACSTOPFILE_H 2 #define GROMACSTOPFILE_H 9 #define LONGNAMESIZE 20 97 GenericAtom(
const char *theType,
int theTypeNum,
int theResNum,
98 const char *theResType,
99 const char *theAtomName,
Real theCharge,
Real theMass);
148 void addAtom(
const char *theType,
int theTypeNum,
int theResNum,
149 const char *theResType,
150 const char *theAtomName,
Real theCharge,
Real theMass);
153 void addBond(
int atomi,
int atomj,
int type);
154 void addAngle(
int atomi,
int atomj,
int atomk,
int type);
155 void addDihedral(
int atomi,
int atomj,
int atomk,
int atoml,
int type);
223 void getType(
int num,
char *type)
const;
255 void addType(
const char *typea,
const char *typeb,
Real b0,
266 int getParams(
const char *typea,
const char *typeb,
int funct,
299 void addType(
const char *typea,
const char *typeb,
300 const char *typec,
Real th0,
301 Real kth,
int funct);
312 int getParams(
const char *typea,
const char *typeb,
313 const char *typec,
int funct,
362 void addType(
const char *typea,
const char *typeb,
363 const Real *c,
int mult,
int funct);
369 void getParams(
int num,
Real *c,
int *mult,
int *funct)
const;
381 int getParams(
const char *typea,
const char *typeb,
382 const char *typec,
const char *typed,
int funct,
383 Real *c,
int *mult)
const;
401 int getIndex(
const char *typea,
const char *typeb)
const;
406 void add14Type(
const char *typea,
const char *typeb,
412 int getParams(
const char *typea,
const char *typeb,
470 Real *gaussRepulsive);
485 Real fudgeLJ, fudgeQQ;
533 void getAtom(
int num,
int *residue_number,
char *residue_name,
534 char *atom_name,
char *atom_type,
int *atom_typenum,
560 void getBond(
int num,
int *atomi,
int *atomj,
int *bondtype)
const;
573 void getAngle(
int num,
int *atomi,
int *atomj,
int *atomk,
574 int *angletype)
const;
586 void getDihedral(
int num,
int *atomi,
int *atomj,
int *atomk,
587 int *atoml,
int *type)
const;
609 Real *gaussRepulsive);
621 #endif // GROMACSTOPFILE_H
int getParams(const char *type, Real *m, Real *q, Real *c6, Real *c12) const
GenericMol(const char *theName)
int getNumAngleParams() const
int addPairGaussType2(int typea, int typeb, Real gA, Real gMu1, Real gSigma1)
GenericBond(int i, int j, int theType)
void getAtom(int num, int *residue_number, char *residue_name, char *atom_name, char *atom_type, int *atom_typenum, Real *charge, Real *mass) const
const char * getResType() const
void getPairLJArrays2(int *indexA, int *indexB, Real *pairC6, Real *pairC12)
void getParams(int num, Real *c, int *mult, int *funct) const
static bool GroGaussCompare(GroGaussPair, GroGaussPair)
void getDihedralParams(int num, Real *c, int *mult, int *funct) const
int getNumBondParams() const
void add14Type(const char *typea, const char *typeb, Real c6pair, Real c12pair)
void addType(const char *type, Real m, Real q, Real c6, Real c12)
void getBond(int num, int *atomi, int *atomj, int *bondtype) const
const GenericMol * getMol() const
const char * getAtomName() const
int getNumAtomParams() const
void addType(const char *typea, const char *typeb, const char *typec, Real th0, Real kth, int funct)
void getAngleParams(int num, Real *th0, Real *kth, int *funct) const
void getVDWParams(int typea, int typeb, Real *c6, Real *c12, Real *c6pair, Real *c7) const
int getIndex(Real b0, Real kB, int funct)
const char * getName() const
int getIndex(Real th0, Real kth, int funct)
void addType(const char *typea, const char *typeb, const Real *c, int mult, int funct)
const char * getType() const
const GenericDihedral * getDihedral(int n) const
void getType(int num, char *type) const
void getAtomParams(int num, char *type) const
GromacsTopFile(char *filename)
int getNumDihedrals() const
void getParams(int num, Real *th0, Real *kth, int *funct) const
int addPairLJType2(int typea, int typeb, Real c6, Real c12)
void addAngle(int atomi, int atomj, int atomk, int type)
void getAngle(int num, int *atomi, int *atomj, int *atomk, int *angletype) const
const GenericAtom * getAtom(int n) const
void addType(const char *typea, const char *typeb, Real c6, Real c12)
void addType(const char *typea, const char *typeb, Real b0, Real kB, int funct)
int getNumDihedrals() const
int getNumGaussPair() const
int getNumDihedrals() const
char * getSystemName() const
void getPairLJArrays2(int *indexA, int *indexB, Real *pairC6, Real *pairC12)
int getIndex(const Real *c, int mult, int funct)
static bool GroLJCompare(GroLJPair, GroLJPair)
GenericAngle(int i, int j, int k, int theType)
void getExclusions(int *, int *) const
void getBondParams(int num, Real *b0, Real *kB, int *funct) const
const GenericBond * getBond(int n) const
void getDihedral(int num, int *atomi, int *atomj, int *atomk, int *atoml, int *type) const
int getNumDihedralParams() const
void getPairGaussArrays2(int *indexA, int *indexB, Real *gaussA, Real *gaussMu1, Real *gaussSigma1, Real *gaussMu2, Real *gaussSigma2, Real *gaussRepulsive)
void getPairGaussArrays2(int *indexA, int *indexB, Real *gaussA, Real *gaussMu1, Real *gaussSigma1, Real *gaussMu2, Real *gaussSigma2, Real *gaussRepulsive)
int getParams(const char *typea, const char *typeb, Real *c6, Real *c12, Real *c6pair, Real *c12pair) const
void addBond(int atomi, int atomj, int type)
const GenericAngle * getAngle(int n) const
void addDihedral(int atomi, int atomj, int atomk, int atoml, int type)
int getNumExclusions() const
GenericAtom(const char *theType, int theTypeNum, int theResNum, const char *theResType, const char *theAtomName, Real theCharge, Real theMass)
void getParams(int num, Real *b0, Real *kB, int *funct) const
GenericDihedral(int i, int j, int k, int l, int theType)
void addAtom(const char *theType, int theTypeNum, int theResNum, const char *theResType, const char *theAtomName, Real theCharge, Real theMass)
MolInst(const GenericMol *theMol, int theNum)