#include <GromacsTopFile.h>
Public Member Functions | |
| void | addType (const char *type, Real m, Real q, Real c6, Real c12) |
| int | getParams (const char *type, Real *m, Real *q, Real *c6, Real *c12) const |
| void | getType (int num, char *type) const |
| int | size () const |
|
||||||||||||||||||||||||
|
Referenced by GromacsTopFile::GromacsTopFile(). |
|
||||||||||||||||||||||||
|
Referenced by GromacsTopFile::getVDWParams(), and GromacsTopFile::GromacsTopFile(). |
|
||||||||||||
|
Definition at line 1123 of file GromacsTopFile.C. References NAMESIZE, and ResizeArray< Elem >::size(). Referenced by GromacsTopFile::getAtomParams(). 01123 {
01124 if(num>=mArray.size() || num<0) {
01125 fprintf(stderr,"atomParam index %d out of bounds!\n",num);
01126 exit(1);
01127 }
01128 strncpy(type,typeArray[num],NAMESIZE+1);
01129 }
|
|
|
Definition at line 225 of file GromacsTopFile.h. References ResizeArray< Elem >::size(). Referenced by GromacsTopFile::getNumAtomParams(). 00225 { return mArray.size(); }
|
1.3.9.1