#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "molfile_plugin.h"
#include "vaspplugin.h"
Go to the source code of this file.
Functions | |
void * | open_vaspchgcar_read (const char *filename, const char *filetype, int *natoms) |
int | read_vaspchgcar_metadata (void *mydata, int *nvolsets, molfile_volumetric_t **metadata) |
int | read_vaspchgcar_data (void *mydata, int set, float *datablock, float *colorblock) |
void | close_vaspchgcar_read (void *mydata) |
int | VMDPLUGIN_init (void) |
int | VMDPLUGIN_fini (void) |
int | VMDPLUGIN_register (void *v, vmdplugin_register_cb cb) |
Variables | |
molfile_plugin_t | plugin |
|
Definition at line 302 of file vaspchgcarplugin.c. References vasp_plugindata_free. Referenced by VMDPLUGIN_init. |
|
Definition at line 39 of file vaspchgcarplugin.c. References vasp_plugindata_t::cell, vasp_plugindata_t::eachatom, vasp_plugindata_t::file, vasp_plugindata_t::filename, MAXATOMTYPES, MOLFILE_NUMATOMS_UNKNOWN, vasp_plugindata_t::numatoms, vasp_plugindata_t::titleline, vasp_buildrotmat, vasp_plugindata_free, vasp_plugindata_malloc, and vasp_plugindata_t::version. Referenced by VMDPLUGIN_init. |
|
Definition at line 201 of file vaspchgcarplugin.c. References vasp_plugindata_t::cell, molfile_volumetric_t::dataname, vasp_plugindata_t::file, vasp_plugindata_t::filename, MOLFILE_ERROR, vasp_plugindata_t::numatoms, vasp_plugindata_t::nvolsets, vasp_plugindata_t::version, vasp_plugindata_t::vol, molfile_volumetric_t::xsize, molfile_volumetric_t::ysize, and molfile_volumetric_t::zsize. Referenced by VMDPLUGIN_init. |
|
|
Definition at line 330 of file vaspchgcarplugin.c. References VMDPLUGIN_SUCCESS. |
|
|
Definition at line 334 of file vaspchgcarplugin.c. References vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 310 of file vaspchgcarplugin.c. |