Classes | |
struct | fio_iovec |
struct | md_atom |
struct | md_box |
struct | md_file |
struct | md_header |
struct | md_ts |
struct | molfile_atom_t |
Per-atom attributes and information. More... | |
struct | molfile_graphics_t |
Individual graphics object/element data. More... | |
struct | molfile_metadata_t |
File level comments, origin information, and annotations. More... | |
struct | molfile_plugin_t |
Main file reader API. More... | |
struct | molfile_qm_basis_t |
Data for QM basis set. More... | |
struct | molfile_qm_hessian_t |
Data from QM Hessian/normal mode runs. More... | |
struct | molfile_qm_metadata_t |
Sizes of various QM-related, timestep independent data arrays which must be allocated by the caller (VMD) so that the plugin can fill in the arrays with data. More... | |
struct | molfile_qm_sysinfo_t |
QM run info. More... | |
struct | molfile_qm_t |
QM related information that is timestep independent. More... | |
struct | molfile_qm_timestep_metadata |
Sizes of various QM-related, per-timestep data arrays which must be allocated by the caller (VMD) so that the plugin can fill in the arrays with data. More... | |
struct | molfile_qm_timestep_t |
QM per trajectory timestep info Note that each timestep can contain multiple wavefunctions. More... | |
struct | molfile_qm_wavefunction_t |
QM wavefunction. More... | |
struct | molfile_timestep_metadata |
struct | molfile_timestep_t |
Per-timestep atom coordinates, velocities, time, energies and periodic cell info. More... | |
struct | molfile_volumetric_readwrite_t |
Volumetric dataset read/write structure with both flag/parameter sets and VMD-allocated pointers for fields to be used by the plugin. More... | |
struct | molfile_volumetric_t |
Metadata for volumetric datasets, read initially and used for subsequent memory allocations and file loading. More... | |
struct | trx_hdr |
struct | vmdplugin_t |
Typedef for generic plugin header, individual plugins can make their own structures as long as the header info remains the same as the generic plugin header, most easily done by using the vmdplugin_HEAD macro. More... | |
Typedefs | |
typedef void * | fio_caddr_t |
typedef int | fio_fd |
typedef off_t | fio_size_t |
typedef struct PLMD::molfile::molfile_qm_timestep_metadata | molfile_qm_timestep_metadata_t |
Sizes of various QM-related, per-timestep data arrays which must be allocated by the caller (VMD) so that the plugin can fill in the arrays with data. More... | |
typedef struct PLMD::molfile::molfile_timestep_metadata | molfile_timestep_metadata_t |
typedef int(* | vmdplugin_register_cb) (void *, vmdplugin_t *) |
Function pointer typedef for register callback functions. More... | |
Functions | |
static void | adjust_pdb_field_string (char *field) |
static int | fio_fclose (fio_fd fd) |
static fio_size_t | fio_fread (void *ptr, fio_size_t size, fio_size_t nitems, fio_fd fd) |
static fio_size_t | fio_fseek (fio_fd fd, fio_size_t offset, int whence) |
static fio_size_t | fio_ftell (fio_fd fd) |
static fio_size_t | fio_fwrite (void *ptr, fio_size_t size, fio_size_t nitems, fio_fd fd) |
static int | fio_open (const char *filename, int mode, fio_fd *fd) |
static int | fio_read_int32 (fio_fd fd, int *i) |
static fio_size_t | fio_readv (fio_fd fd, const fio_iovec *iov, int iovcnt) |
static int | fio_write_int32 (fio_fd fd, int i) |
static int | fio_write_str (fio_fd fd, const char *str) |
static int | g96_countatoms (md_file *) |
static int | g96_header (md_file *, char *, int, float *) |
static int | g96_rec (md_file *, md_atom *) |
static int | g96_timestep (md_file *, md_ts *) |
static void | get_pdb_conect (const char *record, int natoms, int *idxmap, int *maxbnum, int *nbonds, int **from, int **to) |
static void | get_pdb_coordinates (const char *record, float *x, float *y, float *z, float *occup, float *beta) |
static void | get_pdb_cryst1 (const char *record, float *alpha, float *beta, float *gamma, float *a, float *b, float *c) |
static void | get_pdb_fields (const char *record, int reclength, int *serial, char *name, char *resname, char *chain, char *segname, char *resid, char *insertion, char *altloc, char *elementsymbol, float *x, float *y, float *z, float *occup, float *beta) |
static void | get_pdb_header (const char *record, char *pdbcode, char *date, char *classification) |
static int | get_pte_idx (const char *label) |
static int | get_pte_idx_from_string (const char *label) |
static const char * | get_pte_label (const int idx) |
static float | get_pte_mass (const int idx) |
static float | get_pte_vdw_radius (const int idx) |
static int | gro_header (md_file *, char *, int, float *, int *, int=1) |
static int | gro_rec (md_file *, md_atom *) |
static int | gro_timestep (md_file *, md_ts *) |
static int | host_is_little_endian (void) |
static int | mdio_close (md_file *) |
static const char * | mdio_errmsg (int) |
static int | mdio_errno (void) |
static int | mdio_header (md_file *, md_header *) |
static md_file * | mdio_open (const char *, const int, const int=MDIO_READ) |
static int | mdio_readbox (md_box *, float *, float *, float *) |
static int | mdio_readline (md_file *, char *, int, int=1) |
static int | mdio_seterror (int) |
static int | mdio_timestep (md_file *, md_ts *) |
static int | mdio_tsfree (md_ts *, int=0) |
int | molfile_crdplugin_fini (void) |
int | molfile_crdplugin_init (void) |
int | molfile_crdplugin_register (void *, vmdplugin_register_cb) |
int | molfile_dcdplugin_fini (void) |
int | molfile_dcdplugin_init (void) |
int | molfile_dcdplugin_register (void *, vmdplugin_register_cb) |
int | molfile_gromacsplugin_fini (void) |
int | molfile_gromacsplugin_init (void) |
int | molfile_gromacsplugin_register (void *, vmdplugin_register_cb) |
int | molfile_pdbplugin_fini (void) |
int | molfile_pdbplugin_init (void) |
int | molfile_pdbplugin_register (void *, vmdplugin_register_cb) |
static int | put_trx_int (md_file *mf, int y) |
static int | put_trx_real (md_file *mf, float y) |
static int | put_trx_string (md_file *mf, const char *s) |
static int | read_pdb_record (FILE *f, char *retStr) |
static int | strip_white (char *) |
static void | swap2_aligned (void *v, ptrdiff_t ndata) |
static void | swap2_unaligned (void *v, ptrdiff_t ndata) |
static void | swap4_aligned (void *v, ptrdiff_t ndata) |
static void | swap4_unaligned (void *v, ptrdiff_t ndata) |
static void | swap8_aligned (void *v, ptrdiff_t ndata) |
static void | swap8_unaligned (void *v, ptrdiff_t ndata) |
static int | trx_header (md_file *, int=0) |
static int | trx_int (md_file *, int *) |
static int | trx_real (md_file *, float *) |
static int | trx_rvector (md_file *, float *) |
static int | trx_string (md_file *, char *, int) |
static int | trx_timestep (md_file *, md_ts *) |
VMDPLUGIN_EXTERN int | VMDPLUGIN_fini (void) |
The Fini method is called when the application will no longer use any plugins in the library. More... | |
VMDPLUGIN_EXTERN int | VMDPLUGIN_init (void) |
Init routine: called the first time the library is loaded by the application and before any other API functions are referenced. More... | |
VMDPLUGIN_EXTERN int | VMDPLUGIN_register (void *, vmdplugin_register_cb) |
Allow the library to register plugins with the application. More... | |
VMDPLUGIN_EXTERN int | VMDPLUGIN_register_tcl (void *, void *tcl_interp, vmdplugin_register_cb) |
Allow the library to register Tcl extensions. More... | |
static int | write_raw_pdb_record (FILE *fd, const char *recordname, int index, const char *atomname, const char *resname, int resid, const char *insertion, const char *altloc, const char *elementsymbol, float x, float y, float z, float occ, float beta, const char *chain, const char *segname) |
static int | xtc_3dfcoord (md_file *, float *, int *, float *) |
static int | xtc_data (md_file *mf, char *buf, int len) |
static int | xtc_float (md_file *, float *) |
static int | xtc_int (md_file *, int *) |
static int | xtc_receivebits (int *, int) |
static void | xtc_receiveints (int *buf, const int nints, int nbits, unsigned int *sizes, int *nums) |
static int | xtc_sizeofint (int size) |
static int | xtc_sizeofints (int nints, unsigned int *sizes) |
static int | xtc_timestep (md_file *, md_ts *) |
Variables | |
static int | mdio_errcode |
static const char * | mdio_errdescs [] |
const char * | mdio_fmtexts [] |
static const int | nr_pte_entries = sizeof(pte_label) / sizeof(char *) |
static const char * | pte_label [] |
static const float | pte_mass [] |
static const float | pte_vdw_radius [] |
static int | xtc_magicints [] |
typedef void* PLMD::molfile::fio_caddr_t |
typedef int PLMD::molfile::fio_fd |
typedef off_t PLMD::molfile::fio_size_t |
typedef struct PLMD::molfile::molfile_qm_timestep_metadata PLMD::molfile::molfile_qm_timestep_metadata_t |
Sizes of various QM-related, per-timestep data arrays which must be allocated by the caller (VMD) so that the plugin can fill in the arrays with data.
typedef int(* PLMD::molfile::vmdplugin_register_cb) (void *, vmdplugin_t *) |
Function pointer typedef for register callback functions.
anonymous enum |
Enumeration of all of the wavefunction types that can be read from QM file reader plugins.
CANON = canonical (i.e diagonalized) wavefunction GEMINAL = GVB-ROHF geminal pairs MCSCFNAT = Multi-Configuration SCF natural orbitals MCSCFOPT = Multi-Configuration SCF optimized orbitals CINATUR = Configuration-Interaction natural orbitals BOYS = Boys localization RUEDEN = Ruedenberg localization PIPEK = Pipek-Mezey population localization
NAO = Natural Atomic Orbitals PNAO = pre-orthogonal NAOs NBO = Natural Bond Orbitals PNBO = pre-orthogonal NBOs NHO = Natural Hybrid Orbitals PNHO = pre-orthogonal NHOs NLMO = Natural Localized Molecular Orbitals PNLMO = pre-orthogonal NLMOs
UNKNOWN = Use this for any type not listed here You can use the string field for description
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
detect endiannes of host machine. returns true on little endian machines.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int PLMD::molfile::molfile_crdplugin_fini | ( | void | ) |
int PLMD::molfile::molfile_crdplugin_init | ( | void | ) |
int PLMD::molfile::molfile_crdplugin_register | ( | void * | , |
vmdplugin_register_cb | |||
) |
int PLMD::molfile::molfile_dcdplugin_fini | ( | void | ) |
int PLMD::molfile::molfile_dcdplugin_init | ( | void | ) |
int PLMD::molfile::molfile_dcdplugin_register | ( | void * | , |
vmdplugin_register_cb | |||
) |
int PLMD::molfile::molfile_gromacsplugin_fini | ( | void | ) |
int PLMD::molfile::molfile_gromacsplugin_init | ( | void | ) |
int PLMD::molfile::molfile_gromacsplugin_register | ( | void * | , |
vmdplugin_register_cb | |||
) |
int PLMD::molfile::molfile_pdbplugin_fini | ( | void | ) |
int PLMD::molfile::molfile_pdbplugin_init | ( | void | ) |
int PLMD::molfile::molfile_pdbplugin_register | ( | void * | , |
vmdplugin_register_cb | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
VMDPLUGIN_EXTERN int PLMD::molfile::VMDPLUGIN_fini | ( | void | ) |
The Fini method is called when the application will no longer use any plugins in the library.
VMDPLUGIN_EXTERN int PLMD::molfile::VMDPLUGIN_init | ( | void | ) |
Init routine: called the first time the library is loaded by the application and before any other API functions are referenced.
Return 0 on success.
VMDPLUGIN_EXTERN int PLMD::molfile::VMDPLUGIN_register | ( | void * | , |
vmdplugin_register_cb | |||
) |
Allow the library to register plugins with the application.
The callback should be called using the passed-in void pointer, which should not be interpreted in any way by the library. Each vmdplugin_t pointer passed to the application should point to statically-allocated or heap-allocated memory and should never be later modified by the plugin. Applications must be permitted to retain only a copy of the the plugin pointer, without making any deep copy of the items in the struct.
VMDPLUGIN_EXTERN int PLMD::molfile::VMDPLUGIN_register_tcl | ( | void * | , |
void * | tcl_interp, | ||
vmdplugin_register_cb | |||
) |
Allow the library to register Tcl extensions.
This API is optional; if found by dlopen, it will be called after first calling init and register.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const char* PLMD::molfile::mdio_fmtexts[] |
|
static |
|
static |
|
static |
|
static |
|
static |
Hosted by GitHub | 1.8.17 |