#include "molfile_plugin.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Compounds | |
struct | cordata |
Defines | |
#define | COR_RECORD_LENGTH 141 |
Functions | |
void | strip_whitespace (char *str, int n) |
char * | corgets (char *s, int n, FILE *stream) |
FILE * | open_cor_file (const char *fname, int *natom, int *iofoext) |
int | get_cor_atom (FILE *f, char *atomName, char *atomType, char *resName, char *segName, int *resId, int ioext) |
void * | open_cor_read (const char *path, const char *filetype, int *natoms) |
int | read_cor_structure (void *v, int *optflags, molfile_atom_t *atoms) |
int | read_cor_timestep (void *v, int natoms, molfile_timestep_t *ts) |
void | close_cor_read (void *mydata) |
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 46 of file corplugin.c. Referenced by get_cor_atom, open_cor_file, and read_cor_timestep. |
|
Definition at line 352 of file corplugin.c. References cordata::file. Referenced by VMDPLUGIN_init. |
|
Definition at line 77 of file corplugin.c. Referenced by get_cor_atom, and read_cor_timestep. |
|
Definition at line 153 of file corplugin.c. References COR_RECORD_LENGTH, corgets, and strip_whitespace. Referenced by read_cor_structure. |
|
Definition at line 101 of file corplugin.c. References COR_RECORD_LENGTH, and MOLFILE_NUMATOMS_NONE. Referenced by open_cor_read. |
|
Definition at line 250 of file corplugin.c. References cordata::file, cordata::iofoext, cordata::numatoms, and open_cor_file. Referenced by VMDPLUGIN_init. |
|
Definition at line 267 of file corplugin.c. References molfile_atom_t::chain, cordata::file, get_cor_atom, cordata::iofoext, MOLFILE_ERROR, MOLFILE_NOOPTIONS, molfile_atom_t::name, cordata::numatoms, molfile_atom_t::resid, molfile_atom_t::resname, molfile_atom_t::segid, and molfile_atom_t::type. Referenced by VMDPLUGIN_init. |
|
Definition at line 290 of file corplugin.c. References molfile_timestep_t::coords, COR_RECORD_LENGTH, corgets, cordata::file, cordata::iofoext, and MOLFILE_ERROR. Referenced by VMDPLUGIN_init. |
|
Definition at line 49 of file corplugin.c. Referenced by get_cor_atom. |
|
Definition at line 389 of file corplugin.c. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
Definition at line 384 of file corplugin.c. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 364 of file corplugin.c. |