Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

parmplugin.C File Reference

#include <string.h>
#include "ReadPARM.h"
#include "molfile_plugin.h"

Go to the source code of this file.

Compounds

struct  parmdata

Functions

void * open_parm_read (const char *filename, const char *, int *natoms)
int read_parm_structure (void *mydata, int *optflags, molfile_atom_t *atoms)
int read_parm_bonds (void *v, int *nbonds, int **fromptr, int **toptr, float **bondorderptr, int **bondtype, int *nbondtypes, char ***bondtypename)
void close_parm_read (void *mydata)
VMDPLUGIN_API int VMDPLUGIN_init (void)
VMDPLUGIN_API int VMDPLUGIN_register (void *v, vmdplugin_register_cb cb)
VMDPLUGIN_API int VMDPLUGIN_fini (void)

Variables

molfile_plugin_t plugin


Function Documentation

void close_parm_read void *    mydata [static]
 

Definition at line 109 of file parmplugin.C.

References ReadPARM::close_parm_file, parmdata::from, parmdata::parm, parmdata::rp, and parmdata::to.

Referenced by VMDPLUGIN_init.

void* open_parm_read const char *    filename,
const char *   ,
int *    natoms
[static]
 

Definition at line 29 of file parmplugin.C.

References ReadPARM::get_parm_natoms, parmdata::natoms, ReadPARM::open_parm_file, parmdata::parm, ReadPARM::readparm, and parmdata::rp.

Referenced by VMDPLUGIN_init.

int read_parm_bonds void *    v,
int *    nbonds,
int **    fromptr,
int **    toptr,
float **    bondorderptr,
int **    bondtype,
int *    nbondtypes,
char ***    bondtypename
[static]
 

Definition at line 76 of file parmplugin.C.

References parmdata::from, ReadPARM::get_parm_bond, ReadPARM::get_parm_nbonds, parmdata::natoms, parmdata::rp, and parmdata::to.

Referenced by VMDPLUGIN_init.

int read_parm_structure void *    mydata,
int *    optflags,
molfile_atom_t   atoms
[static]
 

Definition at line 55 of file parmplugin.C.

References molfile_atom_t::chain, molfile_atom_t::charge, ReadPARM::get_parm_atom, ReadPARM::get_parm_boxInfo, molfile_atom_t::mass, MOLFILE_CHARGE, MOLFILE_MASS, molfile_atom_t::name, parmdata::natoms, molfile_atom_t::resid, molfile_atom_t::resname, parmdata::rp, molfile_atom_t::segid, and molfile_atom_t::type.

Referenced by VMDPLUGIN_init.

VMDPLUGIN_API int VMDPLUGIN_fini void   
 

Definition at line 146 of file parmplugin.C.

References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS.

VMDPLUGIN_API int VMDPLUGIN_init void   
 

Definition at line 123 of file parmplugin.C.

References molfile_plugin_t::close_file_read, close_parm_read, molfile_plugin_t::filename_extension, MOLFILE_PLUGIN_TYPE, molfile_plugin_t::open_file_read, open_parm_read, molfile_plugin_t::read_bonds, read_parm_bonds, read_parm_structure, molfile_plugin_t::read_structure, vmdplugin_ABIVERSION, VMDPLUGIN_API, VMDPLUGIN_SUCCESS, and VMDPLUGIN_THREADSAFE.

VMDPLUGIN_API int VMDPLUGIN_register void *    v,
vmdplugin_register_cb    cb
 

Definition at line 141 of file parmplugin.C.

References VMDPLUGIN_API, and vmdplugin_register_cb.


Variable Documentation

molfile_plugin_t plugin [static]
 

Definition at line 121 of file parmplugin.C.


Generated on Tue Aug 11 03:06:50 2020 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002