#include "molfile_plugin.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Compounds | |
struct | bgfdata |
Defines | |
#define | LINESIZE 256 |
Functions | |
void * | open_bgf_read (const char *path, const char *filetype, int *natoms) |
void | adjust_bgf_field_string (char *field) |
void | get_bgf_coordinates (const char *record, float *x, float *y, float *z) |
void | get_bgf_fields (const char *record, char *name, char *resname, char *chain, char *segname, int *resid, char *type, float *charge, float *x, float *y, float *z) |
int | read_bgf_structure (void *v, int *optflags, molfile_atom_t *atoms) |
int | read_bgf_timestep (void *v, int natoms, molfile_timestep_t *ts) |
void * | open_bgf_write (const char *filename, const char *filetype, int natoms) |
int | write_bgf_structure (void *mydata, int optflags, const molfile_atom_t *atoms) |
void | getatomfield (char *atomfield, const char *resname) |
int | read_bgf_bonds_aux (void *v, int *nbonds, int **fromptr, int **toptr, float **bondorderptr) |
int | read_bgf_bonds (void *v, int *nbonds, int **fromptr, int **toptr, float **bondorderptr, int **bondtype, int *nbondtypes, char ***bondtypename) |
int | write_bgf_timestep (void *mydata, const molfile_timestep_t *ts) |
int | write_bgf_bonds (void *v, int nbonds, int *fromptr, int *toptr, float *bondorderptr, int *bondtype, int nbondtypes, char **bondtypename) |
void | close_bgf_write (void *mydata) |
void | close_bgf_read (void *v) |
VMDPLUGIN_API int | VMDPLUGIN_init () |
VMDPLUGIN_API int | VMDPLUGIN_register (void *v, vmdplugin_register_cb cb) |
VMDPLUGIN_API int | VMDPLUGIN_fini () |
Variables | |
molfile_plugin_t | plugin |
|
Definition at line 28 of file bgfplugin.C. Referenced by open_bgf_read, read_bgf_bonds_aux, read_bgf_structure, and read_bgf_timestep. |
|
Definition at line 93 of file bgfplugin.C. Referenced by get_bgf_fields. |
|
Definition at line 617 of file bgfplugin.C. References bgfdata::bondorder, bgfdata::file, bgfdata::from, and bgfdata::to. Referenced by VMDPLUGIN_init. |
|
Definition at line 598 of file bgfplugin.C. References bgfdata::atomlist, bgfdata::bondorder, bgfdata::file, bgfdata::from, and bgfdata::to. Referenced by VMDPLUGIN_init. |
|
Definition at line 110 of file bgfplugin.C. Referenced by get_bgf_fields, and read_bgf_timestep. |
|
Definition at line 131 of file bgfplugin.C. References adjust_bgf_field_string, get_bgf_coordinates, and name. Referenced by read_bgf_structure. |
|
Definition at line 297 of file bgfplugin.C. Referenced by write_bgf_timestep. |
|
Definition at line 40 of file bgfplugin.C. References bgfdata::bondorder, bgfdata::coords_read, bgfdata::file, bgfdata::from, LINESIZE, MOLFILE_CHARGE, MOLFILE_INSERTION, bgfdata::natoms, bgfdata::nbonds, bgfdata::optflags, and bgfdata::to. Referenced by VMDPLUGIN_init. |
|
Definition at line 270 of file bgfplugin.C. References bgfdata::file, bgfdata::natoms, and bgfdata::nbonds. Referenced by VMDPLUGIN_init. |
|
Definition at line 432 of file bgfplugin.C. References bgfdata::bondorder, bgfdata::file, bgfdata::from, MOLFILE_ERROR, bgfdata::nbonds, read_bgf_bonds_aux, and bgfdata::to. Referenced by VMDPLUGIN_init. |
|
Definition at line 305 of file bgfplugin.C. References bgfdata::bondorder, bgfdata::file, bgfdata::from, LINESIZE, MOLFILE_ERROR, bgfdata::nbonds, and bgfdata::to. Referenced by read_bgf_bonds. |
|
Definition at line 178 of file bgfplugin.C. References molfile_atom_t::chain, molfile_atom_t::charge, bgfdata::file, get_bgf_fields, LINESIZE, MOLFILE_ERROR, molfile_atom_t::name, bgfdata::natoms, bgfdata::optflags, molfile_atom_t::resid, molfile_atom_t::resname, molfile_atom_t::segid, and molfile_atom_t::type. Referenced by VMDPLUGIN_init. |
|
Definition at line 222 of file bgfplugin.C. References molfile_timestep_t::coords, bgfdata::coords_read, bgfdata::file, get_bgf_coordinates, LINESIZE, MOLFILE_EOF, MOLFILE_ERROR, and bgfdata::natoms. Referenced by VMDPLUGIN_init. |
|
Definition at line 664 of file bgfplugin.C. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
Definition at line 659 of file bgfplugin.C. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 574 of file bgfplugin.C. References bgfdata::bondorder, bgfdata::from, bgfdata::nbonds, and bgfdata::to. Referenced by VMDPLUGIN_init. |
|
Definition at line 289 of file bgfplugin.C. References bgfdata::atomlist, and bgfdata::natoms. Referenced by VMDPLUGIN_init. |
|
Definition at line 466 of file bgfplugin.C. References bgfdata::atomlist, bgfdata::bondorder, molfile_atom_t::chain, molfile_atom_t::charge, molfile_timestep_t::coords, bgfdata::file, bgfdata::from, getatomfield, molfile_atom_t::name, bgfdata::natoms, bgfdata::nbonds, molfile_atom_t::resid, molfile_atom_t::resname, bgfdata::to, and molfile_atom_t::type. Referenced by VMDPLUGIN_init. |
|
Definition at line 633 of file bgfplugin.C. |