#include "adt/list.h"
#include "adt/table.h"
#include "mdio/file.h"
#include "mdapi/mdtypes.h"
Go to the source code of this file.
Classes | |
struct | mdio_Param_t |
Force field parameter file reader class. More... | |
Typedefs | |
typedef mdio_Param_t | mdio_Param |
Force field parameter file reader class. | |
Functions | |
mdio_Param * | mdio_createParam (void) |
Constructor. | |
void | mdio_destroyParam (mdio_Param *) |
Destructor. | |
int | mdio_readParam (mdio_Param *, const char *name) |
Read force field parameter file. | |
MD_AtomPrm * | mdio_getAtomParam (mdio_Param *, int *nelems) |
Obtain array of atom parameters. | |
MD_BondPrm * | mdio_getBondParam (mdio_Param *, int *nelems) |
Obtain array of bond parameters. | |
MD_AnglePrm * | mdio_getAngleParam (mdio_Param *, int *nelems) |
Obtain array of angle parameters. | |
MD_TorsPrm * | mdio_getDihedParam (mdio_Param *, int *nelems) |
Obtain array of dihedral parameters. | |
MD_TorsPrm * | mdio_getImprParam (mdio_Param *, int *nelems) |
Obtain array of improper parameters. | |
MD_NbfixPrm * | mdio_getNbfixParam (mdio_Param *, int *nelems) |
Obtain array of NBfix parameters. | |
int | mdio_initializeParam (mdio_Param *) |
Alternative constructor. | |
void | mdio_cleanupParam (mdio_Param *) |
Alternative destructor. |
mdio_Param
class reads one or more X-Plor force field parameter files, storing the results into arrays of MDAPI force field parameter data types defined in mdtypes.h
. These arrays are continued if subsequent parameter files are read.
The mdio_Param
class is derived from mdio_File
so that error handling is performed by simply typecasting (mdio_Param
*
) to a (mdio_File
*
).
|
Force field parameter file reader class. Members should be treated as private. |
|
Alternative destructor.
Use to destroy a preallocated |
|
Constructor. Creates dynamically allocated force field parameter file reader object.
|
|
Destructor. Frees dynamically allocated force field parameter file reader object after freeing the arrays of collected force field parameter data types.
Note that the force field parameter arrays obtained do not persist beyond destruction of the |
|
Obtain array of angle parameters.
|
|
Obtain array of atom parameters.
|
|
Obtain array of bond parameters.
|
|
Obtain array of dihedral parameters.
|
|
Obtain array of improper parameters.
|
|
Obtain array of NBfix parameters.
prm [] fields that index the MD_AtomPrm array are left undetermined until the call is made to mdio_indexParamTopo() . |
|
Alternative constructor.
Use to construct a preallocated |
|
Read force field parameter file.
|