#include "largefiles.h"
#include "molfile_plugin.h"
#include "readpdb.h"
#include "periodic_table.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Compounds | |
struct | pdbdata |
Defines | |
#define | PDBBAD(x) ((x) < -999.9994f || (x) > 9999.9994f) |
Functions | |
void * | open_pdb_read (const char *filepath, const char *filetype, int *natoms) |
int | read_pdb_structure (void *mydata, int *optflags, molfile_atom_t *atoms) |
int | read_bonds (void *v, int *nbonds, int **fromptr, int **toptr, float **bondorder, int **bondtype, int *nbondtypes, char ***bondtypename) |
int | read_next_timestep (void *v, int natoms, molfile_timestep_t *ts) |
void | close_pdb_read (void *v) |
void * | open_file_write (const char *path, const char *filetype, int natoms) |
int | write_structure (void *v, int optflags, const molfile_atom_t *atoms) |
void | write_cryst1 (FILE *fd, const molfile_timestep_t *ts) |
int | write_timestep (void *v, const molfile_timestep_t *ts) |
void | close_file_write (void *v) |
int | read_molecule_metadata (void *v, molfile_metadata_t **metadata) |
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 553 of file pdbplugin.c. References pdbdata::atomlist, and pdbdata::fd. Referenced by VMDPLUGIN_init. |
|
Definition at line 281 of file pdbplugin.c. References pdbdata::fd, pdbdata::idxmap, pdbdata::meta, and molfile_metadata_t::remarks. Referenced by VMDPLUGIN_init. |
|
Definition at line 294 of file pdbplugin.c. References pdbdata::atomlist, pdbdata::fd, pdbdata::first_frame, and pdbdata::natoms. Referenced by VMDPLUGIN_init. |
|
Definition at line 47 of file pdbplugin.c. References molfile_metadata_t::accession, pdbdata::atomlist, molfile_metadata_t::database, molfile_metadata_t::date, pdbdata::fd, pdbdata::from, get_pdb_header, pdbdata::idxmap, pdbdata::maxbnum, pdbdata::meta, pdbdata::natoms, pdbdata::nbonds, pdbdata::nconect, PDB_ATOM, PDB_BUFFER_LENGTH, PDB_CONECT, PDB_END, PDB_EOF, PDB_HEADER, PDB_REMARK, PDB_UNKNOWN, read_pdb_record, molfile_metadata_t::remarklen, molfile_metadata_t::remarks, and pdbdata::to. Referenced by open_babel_read, and VMDPLUGIN_init. |
|
Definition at line 198 of file pdbplugin.c. References pdbdata::from, pdbdata::natoms, pdbdata::nbonds, pdbdata::nconect, and pdbdata::to. Referenced by VMDPLUGIN_init. |
|
Definition at line 560 of file pdbplugin.c. References pdbdata::meta. Referenced by VMDPLUGIN_init. |
|
Definition at line 239 of file pdbplugin.c. References molfile_timestep_t::A, molfile_timestep_t::alpha, molfile_timestep_t::B, molfile_timestep_t::beta, molfile_timestep_t::C, molfile_timestep_t::coords, pdbdata::fd, molfile_timestep_t::gamma, get_pdb_coordinates, get_pdb_cryst1, MOLFILE_ERROR, pdbdata::natoms, PDB_ATOM, PDB_BUFFER_LENGTH, PDB_CRYST1, PDB_END, PDB_EOF, and read_pdb_record. Referenced by VMDPLUGIN_init. |
|
|
Definition at line 601 of file pdbplugin.c. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
Definition at line 596 of file pdbplugin.c. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 488 of file pdbplugin.c. References molfile_timestep_t::A, molfile_timestep_t::alpha, molfile_timestep_t::B, molfile_timestep_t::beta, molfile_timestep_t::C, and molfile_timestep_t::gamma. Referenced by write_timestep. |
|
Definition at line 312 of file pdbplugin.c. References molfile_atom_t::altloc, molfile_atom_t::atomicnumber, pdbdata::atomlist, molfile_atom_t::bfactor, molfile_atom_t::insertion, MOLFILE_ALTLOC, MOLFILE_ATOMICNUMBER, MOLFILE_BFACTOR, MOLFILE_INSERTION, MOLFILE_OCCUPANCY, pdbdata::natoms, and molfile_atom_t::occupancy. Referenced by VMDPLUGIN_init. |
|
|
Definition at line 570 of file pdbplugin.c. |