#include <stdlib.h>#include <string.h>#include <ctype.h>#include <errno.h>#include <time.h>#include <math.h>#include "qmplugin.h"#include "unit_conversion.h"Go to the source code of this file.
Defines | |
| #define | ANGSTROM 0 |
| #define | BOHR 1 |
| #define | SPIN_ALPHA 0 |
| #define | SPIN_BETA 1 |
| #define | PRINTERR (void)(0) |
| #define | GET_LINE(x, y) if (!fgets(x, sizeof(x), y)) return FALSE |
| #define | UNK_SHELL -666 |
| #define | SPD_D_SHELL -5 |
| #define | SPD_P_SHELL -4 |
| #define | SPD_S_SHELL -3 |
| #define | SP_S_SHELL -2 |
| #define | SP_P_SHELL -1 |
| #define | S_SHELL 0 |
| #define | P_SHELL 1 |
| #define | D_SHELL 2 |
| #define | F_SHELL 3 |
| #define | G_SHELL 4 |
| #define | H_SHELL 5 |
| #define | FOUND 1 |
| #define | STOPPED 2 |
| #define | NUM_ELEMENTS 109 |
| #define | TORF(x) (x ? "T" : "F") |
Functions | |
| void | print_input_data (qmdata_t *) |
| int | get_basis (qmdata_t *) |
| int | read_shell_primitives (qmdata_t *, prim_t **prim, char *shellsymm, int icoeff) |
| int | shelltype_int (char type) |
| int | fill_basis_arrays (qmdata_t *) |
| void * | open_basis_read (const char *filename, const char *filetype, int *natoms) |
| int | read_basis_metadata (void *mydata, molfile_qm_metadata_t *metadata) |
| int | read_basis_rundata (void *mydata, molfile_qm_t *qm_data) |
| void | close_basis_read (void *mydata) |
| VMDPLUGIN_API int | VMDPLUGIN_init (void) |
| VMDPLUGIN_API int | VMDPLUGIN_register (void *v, vmdplugin_register_cb cb) |
| VMDPLUGIN_API int | VMDPLUGIN_fini (void) |
Variables | |
| const char * | elements [] |
| molfile_plugin_t | plugin |
|
|
Definition at line 40 of file basissetplugin.c. |
|
|
Definition at line 41 of file basissetplugin.c. |
|
|
Definition at line 69 of file basissetplugin.c. Referenced by shelltype_int. |
|
|
Definition at line 70 of file basissetplugin.c. Referenced by shelltype_int. |
|
|
Definition at line 74 of file basissetplugin.c. |
|
|
Definition at line 71 of file basissetplugin.c. Referenced by shelltype_int. |
|
|
|
Definition at line 72 of file basissetplugin.c. |
|
|
Definition at line 77 of file basissetplugin.c. Referenced by fill_basis_arrays. |
|
|
Definition at line 68 of file basissetplugin.c. Referenced by shelltype_int. |
|
|
Definition at line 52 of file basissetplugin.c. Referenced by fill_basis_arrays, and open_basis_read. |
|
|
Definition at line 67 of file basissetplugin.c. Referenced by shelltype_int. |
|
|
Definition at line 66 of file basissetplugin.c. Referenced by get_basis, and shelltype_int. |
|
|
Definition at line 65 of file basissetplugin.c. Referenced by shelltype_int. |
|
|
Definition at line 62 of file basissetplugin.c. |
|
|
Definition at line 63 of file basissetplugin.c. |
|
|
Definition at line 64 of file basissetplugin.c. |
|
|
Definition at line 42 of file basissetplugin.c. |
|
|
Definition at line 43 of file basissetplugin.c. |
|
|
Definition at line 75 of file basissetplugin.c. |
|
|
Definition at line 309 of file basissetplugin.c. |
|
|
Definition at line 61 of file basissetplugin.c. Referenced by shelltype_int. |
|
|
Definition at line 276 of file basissetplugin.c. References qmdata_t::angular_momentum, qmdata_t::atomicnum_per_basisatom, qmdata_t::basis, qmdata_t::basis_set, qmdata_t::file, qmdata_t::filepos_array, qmdata_t::num_basis_atoms, qmdata_t::num_prim_per_shell, qmdata_t::num_shells_per_atom, basis_atom_t::numshells, shell_t::prim, basis_atom_t::shell, and qmdata_t::shell_types. Referenced by VMDPLUGIN_init. |
|
|
|
Definition at line 364 of file basissetplugin.c. References qmdata_t::basis_set, qmdata_t::file, fill_basis_arrays, GET_LINE, basis_atom_t::name, qmdata_t::num_basis_atoms, qmdata_t::num_basis_funcs, qmdata_t::num_shells, shell_t::numprims, basis_atom_t::numshells, pass_keyline, shell_t::prim, read_shell_primitives, basis_atom_t::shell, shelltype_int, SP_P_SHELL, and shell_t::type. |
|
||||||||||||||||
|
Definition at line 147 of file basissetplugin.c. References qmdata_t::basis_string, qmdata_t::file, get_basis, qmdata_t::num_basis_atoms, qmdata_t::num_basis_funcs, qmdata_t::num_shells, print_input_data, and PRINTERR. Referenced by VMDPLUGIN_init. |
|
|
Definition at line 311 of file basissetplugin.c. References basis_atom_t::atomicnum, qmdata_t::basis_set, prim_t::contraction_coeff, prim_t::exponent, basis_atom_t::name, qmdata_t::num_basis_atoms, qmdata_t::num_shells, qmdata_t::numatoms, shell_t::numprims, basis_atom_t::numshells, shell_t::prim, basis_atom_t::shell, and shell_t::type. |
|
||||||||||||
|
||||||||||||
|
||||||||||||||||||||
|
Definition at line 639 of file basissetplugin.c. References qmdata_t::file, and GET_LINE. |
|
|
Definition at line 487 of file basissetplugin.c. References D_SHELL, F_SHELL, G_SHELL, P_SHELL, S_SHELL, SP_P_SHELL, SP_S_SHELL, and UNK_SHELL. |
|
|
Definition at line 737 of file basissetplugin.c. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
||||||||||||
|
Definition at line 732 of file basissetplugin.c. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
|
Initial value: {
"(unknown)", "HYDROGEN", "HELIUM", "LITHIUM", "BERYLLIUM", "BORON",
"CARBON", "NITROGEN", "OXYGEN", "FLUORINE", "NEON",
"SODIUM", "MAGNESIUM", "ALUMINUM", "SILICON", "PHOSPHOROUS",
"SULFUR", "CHLORINE", "ARGON", "POTASSIUM", "CALCIUM", "SCANDIUM",
"TITANIUM", "VANADIUM", "CHROMIUM", "MANGANESE", "IRON", "COBALT",
"NICKEL", "COPPER", "ZINC", "GALLIUM", "GERMANIUM", "ARSENIC",
"SELENIUM", "BROMINE", "KRYPTON",
"RUBIDIUM", "STRONTIUM", "YTTRIUM", "ZIRCONIUM", "NIOBIUM",
"MOLYBDENUM", "TECHNETIUM", "RUTHENIUM", "RHODIUM", "PALLADIUM",
"SILVER", "CADMIUM", "INDIUM", "TIN", "ANTIMONY", "TELLURIUM",
"IODINE", "XENON",
"CESIUM", "BARIUM", "LANTHANUM", "CER", "PRASEODYMIUM", "NEODYMIUM",
"PROMETIUM", "SAMARIUM", "EUROPIUM", "GADOLIUM", "TERBIUM",
"DYSPROSIUM", "HOLMIUM", "ERBIUM", "THULIUM", "YTTERBIUM",
"LUTETIUM", "HAFNIUM", "TANTALUM", "TUNGSTEN", "RHENIUM", "OSMIUM",
"IRIDIUM", "PLATINUM", "GOLD", "MERCURY", "THALLIUM", "LEAD",
"BISMUTH", "POLONIUM", "ASTATINE", "RADON",
"FRANCIUM", "RADIUM", "ACTINIUM", "THORIUM", "PROTACTINIUM",
"URANIUM", "NEPTUNIUM", "PLUTONIUM", "AMERICIUM", "CURIUM",
"BERKELIUM", "CALIFORNIUM", "EINSTEINIUM", "FERMIUM", "MENDELEVIUM",
"NOBELIUM", "LAWRENCIUM", "RUTHERFORDIUM", "DUBNIUM", "SEABORGIUM",
"BOHRIUM", "HASSIUM", "MEITNERIUM"}Definition at line 81 of file basissetplugin.c. Referenced by fill_basis_arrays. |
|
|
Definition at line 703 of file basissetplugin.c. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002