#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "molfile_plugin.h"
#include "unit_conversion.h"
#include "periodic_table.h"
#include "qmplugin.h"
Go to the source code of this file.
Compounds | |
struct | moldendata_t |
Defines | |
#define | ALLOCATE(array, type, size) |
#define | GET_LINE(x, y) if (!fgets(x, sizeof(x), y)) return FALSE |
Functions | |
int | get_basis (qmdata_t *) |
int | shelltype_int (char *type) |
int | fill_basis_arrays (qmdata_t *data) |
int | read_geom_block (qmdata_t *data) |
int | read_molecular_orbitals (qmdata_t *data) |
int | read_wave_coeffs (FILE *file, qm_wavefunction_t *wave) |
int | count_orbitals (qmdata_t *data) |
void * | open_molden_read (const char *filename, const char *filetype, int *natoms) |
int | read_molden_structure (void *mydata, int *optflags, molfile_atom_t *atoms) |
int | read_timestep_metadata (void *mydata, molfile_timestep_metadata_t *meta) |
int | read_qm_timestep_metadata (void *mydata, molfile_qm_timestep_metadata_t *meta) |
int | read_timestep (void *mydata, int natoms, molfile_timestep_t *ts, molfile_qm_metadata_t *qm_metadata, molfile_qm_timestep_t *qm_ts) |
int | read_molden_metadata (void *mydata, molfile_qm_metadata_t *metadata) |
int | read_molden_rundata (void *mydata, molfile_qm_t *qm_data) |
void | close_molden_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 |
|
Value: array = (type *)calloc(size, sizeof(type)); \ if (array == NULL) { \ fprintf(stderr, "moldenplugin) Memory allocation for %s failed!\n", #array); \ return FALSE; \ } Definition at line 47 of file moldenplugin.c. Referenced by fill_basis_arrays, get_basis, read_molden_structure, read_molecular_orbitals, and read_qcschema_structure. |
|
Definition at line 54 of file moldenplugin.c. |
|
|
|
|
|
Definition at line 104 of file moldenplugin.c. References moldendata_t::coordsonly, eatline, eatwhitelines, qmdata_t::file, qmdata_t::filepos_array, moldendata_t::filepos_atoms, moldendata_t::filepos_geomxyz, moldendata_t::filepos_gto, moldendata_t::filepos_mo, qmdata_t::format_specific_data, init_qmdata, iswhiteline, qmdata_t::num_frames, qmdata_t::numatoms, strtoupper, trimleft, trimright, and moldendata_t::units. Referenced by VMDPLUGIN_init. |
|
Definition at line 371 of file moldenplugin.c. References qmdata_t::atoms, eatline, qmdata_t::file, qmdata_t::numatoms, qm_atom_t::x, qm_atom_t::y, and qm_atom_t::z. Referenced by read_timestep. |
|
|
|
|
|
|
|
Definition at line 397 of file moldenplugin.c. References molfile_timestep_metadata::count, and molfile_timestep_metadata::has_velocities. Referenced by VMDPLUGIN_init. |
|
Definition at line 1250 of file moldenplugin.c. References eatline, qm_wavefunction_t::num_coeffs, qm_wavefunction_t::num_orbitals, and qm_wavefunction_t::wave_coeffs. |
|
Definition at line 1075 of file moldenplugin.c. References SP_SHELL. |
|
Definition at line 1329 of file moldenplugin.c. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
Definition at line 1324 of file moldenplugin.c. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 1297 of file moldenplugin.c. |