#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <time.h>
#include <math.h>
#include "gaussianplugin.h"
#include "periodic_table.h"
#include "unit_conversion.h"
#include "vmdconio.h"
Go to the source code of this file.
|
Definition at line 78 of file gaussianplugin.c. Referenced by shellsymm_int. |
|
Definition at line 79 of file gaussianplugin.c. Referenced by shellsymm_int. |
|
Definition at line 80 of file gaussianplugin.c. Referenced by shellsymm_int. |
|
Definition at line 39 of file gaussianplugin.c. |
|
Definition at line 37 of file gaussianplugin.c. |
|
Definition at line 57 of file gaussianplugin.c. |
|
Definition at line 81 of file gaussianplugin.c. |
|
Definition at line 82 of file gaussianplugin.c. |
|
Definition at line 77 of file gaussianplugin.c. Referenced by shellsymm_int. |
|
Definition at line 46 of file gaussianplugin.c. Referenced by get_population, get_wavefunction, and open_gaussian_read. |
|
Definition at line 76 of file gaussianplugin.c. Referenced by shellsymm_int. |
|
Value: ptr = (type *)calloc(count,sizeof(type)); \ if (ptr == NULL) { \ PRINTERR; \ return MOLFILE_ERROR; \ } Definition at line 63 of file gaussianplugin.c. |
|
Definition at line 61 of file gaussianplugin.c. |
|
Definition at line 75 of file gaussianplugin.c. Referenced by get_basis, get_internal_basis, and shellsymm_int. |
|
Definition at line 74 of file gaussianplugin.c. Referenced by get_basis, get_internal_basis, and shellsymm_int. |
|
Definition at line 71 of file gaussianplugin.c. |
|
Definition at line 72 of file gaussianplugin.c. |
|
Definition at line 73 of file gaussianplugin.c. Referenced by shellsymm_int. |
|
Definition at line 84 of file gaussianplugin.c. Referenced by get_wavefunction. |
|
Definition at line 85 of file gaussianplugin.c. |
|
Definition at line 91 of file gaussianplugin.c. Referenced by find_traj_end. |
|
Definition at line 88 of file gaussianplugin.c. Referenced by find_traj_end. |
|
Definition at line 89 of file gaussianplugin.c. Referenced by find_traj_end. |
|
Definition at line 90 of file gaussianplugin.c. Referenced by find_traj_end. |
|
Definition at line 87 of file gaussianplugin.c. |
|
Definition at line 30 of file gaussianplugin.c. |
|
Definition at line 70 of file gaussianplugin.c. Referenced by shellsymm_int. |
|
|
Populate the flat arrays containing the basis set data. Definition at line 1748 of file gaussianplugin.c. References gaussiandata::basis, gaussiandata::basis_set, prim_t::contraction_coeff, prim_t::exponent, gaussiandata::num_basis_atoms, gaussiandata::num_basis_funcs, gaussiandata::num_prim_per_shell, gaussiandata::num_shells, gaussiandata::num_shells_per_atom, shell_t::numprims, basis_atom_t::numshells, shell_t::prim, SAFE_CALLOC, basis_atom_t::shell, gaussiandata::shell_symmetry, and shell_t::symmetry. |
|
Definition at line 1895 of file gaussianplugin.c. References gaussiandata::file, gaussiandata::num_frames, gaussiandata::opt_status, STATUS_BROKEN_OFF, STATUS_CONVERGED, STATUS_SCF_NOT_CONV, STATUS_TOO_MANY_STEPS, and VMDCON_INFO. Referenced by get_final_info. |
|
Definition at line 175 of file gaussianplugin.c. Referenced by get_basis, and get_internal_basis. |
|
|
Get basis set statistics Definition at line 776 of file gaussianplugin.c. References gaussiandata::basis_string, gaussiandata::file, gaussiandata::gbasis, GET_LINE, MOLFILE_BUFSIZ, MOLFILE_ERROR, gaussiandata::multiplicity, gaussiandata::num_basis_atoms, gaussiandata::num_basis_funcs, gaussiandata::num_electrons, gaussiandata::num_orbitals, gaussiandata::num_shells, gaussiandata::occ_orbitals_A, gaussiandata::occ_orbitals_B, VMDCON_INFO, and gaussiandata::wavef_size. Referenced by parse_static_data. |
|
Read and parse the Route section of the input. Definition at line 1046 of file gaussianplugin.c. References gaussiandata::basis_string, gaussiandata::file, gaussiandata::gbasis, GET_LINE, gaussiandata::have_basis, gaussiandata::have_cart_basis, gaussiandata::have_wavefunction, gaussiandata::multiplicity, gaussiandata::runtyp, RUNTYP_ENERGY, RUNTYP_HESSIAN, RUNTYP_OPTIMIZE, RUNTYP_SURFACE, runtypes, gaussiandata::scftyp, SCFTYP_RHF, SCFTYP_ROHF, SCFTYP_UHF, scftypes, and VMDCON_INFO. Referenced by parse_static_data. |
|
Read coordinates Definition at line 1271 of file gaussianplugin.c. References GET_LINE, qm_atom_t::x, qm_atom_t::y, and qm_atom_t::z. |
|
the function get_initial_info provides the atom number, coordinates, and atom types and stores them temporarily. Definition at line 1249 of file gaussianplugin.c. References gaussiandata::file, find_traj_end, gaussiandata::runtyp, RUNTYP_HESSIAN, RUNTYP_OPTIMIZE, RUNTYP_SADPOINT, and RUNTYP_SURFACE. Referenced by parse_static_data. |
|
Read the input atom definitions. Definition at line 964 of file gaussianplugin.c. References qm_atom_t::atomicnum, gaussiandata::file, GET_LINE, get_pte_idx, gaussiandata::initatoms, MOLFILE_BUFSIZ, gaussiandata::multiplicity, gaussiandata::numatoms, gaussiandata::totalcharge, qm_atom_t::type, and VMDCON_INFO. |
|
same as get_coordinates, but we look for coordinates in internal orientation Definition at line 1306 of file gaussianplugin.c. References GET_LINE, qm_atom_t::x, qm_atom_t::y, and qm_atom_t::z. Referenced by get_traj_frame. |
|
|
read in mulliken charges Definition at line 2117 of file gaussianplugin.c. References gaussiandata::file, GET_LINE, gaussiandata::have_mulliken, qm_timestep_t::mulliken_charges, gaussiandata::num_basis_atoms, gaussiandata::numatoms, PRINTERR, and VMDCON_INFO. |
|
Get number of processors requested and amount of memory used. Definition at line 713 of file gaussianplugin.c. References gaussiandata::file, GET_LINE, gaussiandata::memory, MOLFILE_BUFSIZ, gaussiandata::nproc, and VMDCON_INFO. Referenced by parse_static_data. |
|
Determine the run's title text. Definition at line 929 of file gaussianplugin.c. References gaussiandata::file, GET_LINE, and gaussiandata::runtitle. Referenced by parse_static_data. |
|
this function extracts the trajectory information from the output file Definition at line 1799 of file gaussianplugin.c. References gaussiandata::file, get_basis, get_coordinates, get_int_coordinates, get_internal_basis, get_population, get_wavefunction, qm_wavefunction_t::idtag, gaussiandata::initatoms, MOLFILE_BUFSIZ, gaussiandata::num_frames_read, gaussiandata::numatoms, qm_timestep_t::numwave, qm_wavefunction_t::occupancies, qm_wavefunction_t::orb_energies, qm_wavefunction_t::orb_indices, gaussiandata::qm_timestep, SAFE_CALLOC, gaussiandata::scftyp, SCFTYP_UHF, VMDCON_INFO, qm_timestep_t::wave, qm_wavefunction_t::wave_coeffs, and gaussiandata::wavef_size. |
|
|
Check if the current run is an actual Gaussian run; returns true/false Definition at line 639 of file gaussianplugin.c. References gaussiandata::file, gaussiandata::file_name, GET_LINE, MOLFILE_BUFSIZ, gaussiandata::version, gaussiandata::version_string, and VMDCON_INFO. Referenced by open_gaussian_read. |
|
Definition at line 198 of file gaussianplugin.c. References gaussiandata::file, gaussiandata::file_name, have_gaussian, parse_static_data, PRINTERR, gaussiandata::runtyp, RUNTYP_UNKNOWN, gaussiandata::scftyp, SCFTYP_UNKNOWN, gaussiandata::version, and gaussiandata::version_string. Referenced by VMDPLUGIN_init. |
|
Top level gaussian log file parser. Responsible for static, i.e. non-trajectory information. Definition at line 600 of file gaussianplugin.c. References get_basis_options, get_contrl, get_final_info, get_input_structure, get_proc_mem, get_runtitle, gaussiandata::num_frames, gaussiandata::num_frames_read, gaussiandata::num_frames_sent, gaussiandata::numatoms, read_first_frame, and VMDCON_INFO. |
|
Definition at line 1218 of file gaussianplugin.c. References gaussiandata::angular_momentum, get_traj_frame, gaussiandata::num_frames, gaussiandata::qm_timestep, SAFE_CALLOC, VMDCON_INFO, and gaussiandata::wavef_size. |
|
|
|
|
Definition at line 1701 of file gaussianplugin.c. References D_SHELL, F_SHELL, G_SHELL, P_SHELL, S_SHELL, SP_P_SHELL, SP_S_SHELL, SPD_S_SHELL, and UNK_SHELL. Referenced by get_basis, and get_internal_basis. |
|
Definition at line 2195 of file gaussianplugin.c. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
Definition at line 2164 of file gaussianplugin.c. References close_gaussian_read, MOLFILE_PLUGIN_TYPE, open_gaussian_read, read_gaussian_metadata, read_gaussian_rundata, read_gaussian_structure, vmdplugin_ABIVERSION, VMDPLUGIN_API, VMDPLUGIN_SUCCESS, and VMDPLUGIN_THREADUNSAFE. |
|
Definition at line 2190 of file gaussianplugin.c. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Initial value: { "(unknown)", "ENERGY", "OPTIMIZE", "SADPOINT", "HESSIAN", "SURFACE", "DYNAMICS", "PROPERTIES", NULL} Definition at line 93 of file gaussianplugin.c. Referenced by get_contrl. |
|
Initial value: { "(unknown)", "RHF", "UHF", "ROHF", "GVB", "MCSCF", "FF", NULL } Definition at line 97 of file gaussianplugin.c. Referenced by get_contrl. |