#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "molfile_plugin.h"
#include "vaspplugin.h"
#include "periodic_table.h"
Go to the source code of this file.
Functions | |
void * | open_vaspposcar_read (const char *filename, const char *filetype, int *natoms) |
int | read_vaspposcar_structure (void *mydata, int *optflags, molfile_atom_t *atoms) |
int | read_vaspposcar_timestep (void *mydata, int natoms, molfile_timestep_t *ts) |
void | close_vaspposcar_read (void *mydata) |
void * | open_vaspposcar_write (const char *filename, const char *filetype, int natoms) |
int | write_vaspposcar_structure (void *mydata, int optflags, const molfile_atom_t *atoms) |
int | write_vaspposcar_timestep (void *mydata, const molfile_timestep_t *ts) |
void | close_vaspposcar_write (void *mydata) |
int | VMDPLUGIN_init () |
int | VMDPLUGIN_register (void *v, vmdplugin_register_cb cb) |
int | VMDPLUGIN_fini () |
Variables | |
molfile_plugin_t | plugin |
|
Definition at line 283 of file vaspposcarplugin.c. References vasp_plugindata_free. Referenced by VMDPLUGIN_init. |
|
Definition at line 378 of file vaspposcarplugin.c. References vasp_plugindata_free. Referenced by VMDPLUGIN_init. |
|
Definition at line 38 of file vaspposcarplugin.c. References 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_plugindata_free, vasp_plugindata_malloc, and vasp_plugindata_t::version. Referenced by VMDPLUGIN_init. |
|
Definition at line 291 of file vaspposcarplugin.c. References vasp_plugindata_t::file, vasp_plugindata_t::filename, vasp_plugindata_t::numatoms, vasp_plugindata_free, and vasp_plugindata_malloc. Referenced by VMDPLUGIN_init. |
|
|
Definition at line 212 of file vaspposcarplugin.c. References vasp_plugindata_t::cell, molfile_timestep_t::coords, vasp_plugindata_t::file, vasp_plugindata_t::filename, MOLFILE_EOF, vasp_plugindata_t::numatoms, vasp_plugindata_t::rotmat, vasp_buildrotmat, vasp_timestep_unitcell, and vasp_plugindata_t::version. Referenced by VMDPLUGIN_init. |
|
Definition at line 415 of file vaspposcarplugin.c. References VMDPLUGIN_SUCCESS. |
|
|
Definition at line 410 of file vaspposcarplugin.c. References vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 312 of file vaspposcarplugin.c. References vasp_plugindata_t::atomlist, MOLFILE_ERROR, and vasp_plugindata_t::numatoms. Referenced by VMDPLUGIN_init. |
|
Definition at line 327 of file vaspposcarplugin.c. References molfile_timestep_t::A, molfile_timestep_t::alpha, vasp_plugindata_t::atomlist, molfile_timestep_t::B, molfile_timestep_t::beta, molfile_timestep_t::C, molfile_timestep_t::coords, vasp_plugindata_t::file, molfile_timestep_t::gamma, MAXATOMTYPES, MOLFILE_ERROR, vasp_plugindata_t::numatoms, and molfile_atom_t::type. Referenced by VMDPLUGIN_init. |
|
Definition at line 386 of file vaspposcarplugin.c. |