#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <ctype.h>#include <errno.h>#include <time.h>#include <iostream>#include <sstream>#include <algorithm>#include <string>#include <vector>#include <cctype>#include "qmplugin.h"#include "unit_conversion.h"#include "periodic_table.h"Go to the source code of this file.
Namespaces | |
| namespace | std |
Compounds | |
| class | Matrix |
| struct | orcadata |
Defines | |
| #define | DEBUGGING_ORCA 1 |
| #define | PRINTERR |
| #define | ANGSTROM 0 |
| #define | BOHR 1 |
| #define | GET_LINE(x, y) if (!fgets(x, sizeof(x), y)) return FALSE |
| #define | NOTFOUND 0 |
| #define | FOUND 1 |
| #define | STOPPED 2 |
| #define | ORCA4 4 |
| #define | ORCA3 3 |
Typedefs | |
| typedef std::vector< std::vector< std::vector< float > > > | MoCoeff |
| typedef std::vector< std::vector< float > > | CoeffRowBlock |
Enumerations | |
| enum | Shelltype { dshell, fshell } |
Functions | |
| int | have_orca (qmdata_t *data, orcadata *orca) |
| int | read_orca_structure (void *mydata, int *optflags, molfile_atom_t *atoms) |
| void | close_orca_read (void *mydata) |
| int | parse_static_data (qmdata_t *, int *) |
| int | get_job_info (qmdata_t *data) |
| int | analyze_traj (qmdata_t *data, orcadata *orca) |
| int | get_input_structure (qmdata_t *data, orcadata *orca) |
| int | get_coordinates (FILE *file, qm_atom_t **atoms, int unit, int *numatoms) |
| int | read_first_frame (qmdata_t *data) |
| int | get_basis (qmdata_t *data) |
| int | get_wavefunction (qmdata_t *data, qm_timestep_t *ts, qm_wavefunction_t *wf) |
| int | get_traj_frame (qmdata_t *data, qm_atom_t *atoms, int natoms) |
| int | get_scfdata (qmdata_t *data, qm_timestep_t *ts) |
| int | get_population (qmdata_t *data, qm_timestep_t *ts) |
| int | check_add_wavefunctions (qmdata_t *data, qm_timestep_t *ts) |
| int | fill_basis_arrays (qmdata_t *data) |
| int | shelltype_int (char type) |
| CoeffRowBlock | convertPure (CoeffRowBlock pureBlock) |
| int | read_orca_metadata (void *mydata, molfile_qm_metadata_t *metadata) |
| int | read_orca_rundata (void *mydata, molfile_qm_t *qm_data) |
| 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_timestep_metadata (void *mydata, molfile_timestep_metadata_t *meta) |
| void | print_input_data (qmdata_t *data) |
| template<typename Out> void | split (const std::string &s, char delim, Out result) |
| void * | open_orca_read (const char *filename, const char *filetype, int *natoms) |
| std::vector< std::string > | split (const std::string &s, char delim) |
| std::string | trim (const std::string &str, const std::string &whitespace="\t") |
| std::string | reduce (const std::string &str, const std::string &fill="", const std::string &whitespace="\t\n") |
| bool | only_numbers (const std::vector< std::string > &l) |
| VMDPLUGIN_API int | VMDPLUGIN_init (void) |
| VMDPLUGIN_API int | VMDPLUGIN_register (void *v, vmdplugin_register_cb cb) |
| VMDPLUGIN_API int | VMDPLUGIN_fini (void) |
Variables | |
| Matrix * | convD |
| Matrix * | convF |
| int | dAngMom [18] = {1,0,1, 0,1,1, 1,1,0, 2,0,0, 0,2,0, 0,0,2} |
| int | fAngMom [30] = {1,1,1, 2,1,0, 2,0,1, 1,2,0, 0,2,1, 1,0,2, 0,1,2, 3,0,0, 0,3,0, 0,0,3} |
| molfile_plugin_t | plugin |
|
|
Definition at line 282 of file orcaplugin.C. Referenced by get_traj_frame. |
|
|
Definition at line 283 of file orcaplugin.C. Referenced by get_coordinates. |
|
|
Definition at line 274 of file orcaplugin.C. |
|
|
Definition at line 292 of file orcaplugin.C. Referenced by get_basis, and get_population. |
|
|
Definition at line 289 of file orcaplugin.C. |
|
|
Definition at line 291 of file orcaplugin.C. |
|
|
Definition at line 296 of file orcaplugin.C. Referenced by have_orca. |
|
|
Definition at line 295 of file orcaplugin.C. Referenced by have_orca. |
|
|
Value: fprintf(stderr, "\n In file %s, line %d: \n %s \n \n", \
__FILE__, __LINE__, strerror(errno))Definition at line 276 of file orcaplugin.C. Referenced by fill_basis_arrays, get_population, get_wavefunction, have_orca, and open_orca_read. |
|
|
Definition at line 293 of file orcaplugin.C. |
|
|
Definition at line 316 of file orcaplugin.C. Referenced by convertPure, get_wavefunction, and read_timestep. |
|
|
Definition at line 272 of file orcaplugin.C. Referenced by get_wavefunction. |
|
|
Definition at line 1450 of file orcaplugin.C. Referenced by convertPure. |
|
||||||||||||
|
Definition at line 2106 of file orcaplugin.C. References qmdata_t::end_of_traj, qmdata_t::file, qmdata_t::filepos_array, goto_keyline, MOLFILE_QMSTATUS_FILE_TRUNCATED, MOLFILE_QMSTATUS_OPT_CONV, MOLFILE_QMSTATUS_SCF_NOT_CONV, MOLFILE_QMSTATUS_UNKNOWN, MOLFILE_RUNTYPE_ENERGY, MOLFILE_RUNTYPE_GRADIENT, MOLFILE_RUNTYPE_OPTIMIZE, qmdata_t::num_frames, pass_keyline, qmdata_t::qm_timestep, qmdata_t::runtype, qmdata_t::status, and trimleft. Referenced by parse_static_data. |
|
||||||||||||
|
|
|
Definition at line 1454 of file orcaplugin.C. References CoeffRowBlock, dshell, fshell, Matrix::multiply, Shelltype, and Matrix::toVector. Referenced by get_wavefunction. |
|
|
|
||||||||||||||||||||
|
Definition at line 1029 of file orcaplugin.C. References qm_atom_t::atomicnum, BOHR, BOHR_TO_ANGS, GET_LINE, get_pte_idx, qm_atom_t::type, qm_atom_t::x, qm_atom_t::y, and qm_atom_t::z. Referenced by get_input_structure, and get_traj_frame. |
|
||||||||||||
|
Definition at line 743 of file orcaplugin.C. References qmdata_t::atoms, eatline, qmdata_t::file, get_coordinates, GET_LINE, goto_keyline, qmdata_t::num_frames_read, and qmdata_t::numatoms. Referenced by parse_static_data. |
|
|
Definition at line 557 of file orcaplugin.C. References qmdata_t::basis_string, eatline, qmdata_t::file, qmdata_t::gbasis, GET_LINE, goto_keyline, MOLFILE_RUNTYPE_ENERGY, MOLFILE_RUNTYPE_GRADIENT, MOLFILE_RUNTYPE_OPTIMIZE, qmdata_t::multiplicity, qmdata_t::num_electrons, reduce, qmdata_t::runtype, split, qmdata_t::totalcharge, and trim. Referenced by parse_static_data. |
|
||||||||||||
|
Definition at line 1281 of file orcaplugin.C. References eatline, qmdata_t::file, FOUND, GET_LINE, qm_timestep_t::have_esp, qm_timestep_t::have_lowdin, qm_timestep_t::have_mulliken, qm_timestep_t::lowdin_charges, qm_timestep_t::mulliken_charges, qmdata_t::numatoms, pass_keyline, PRINTERR, reduce, and split. Referenced by get_final_properties, and get_traj_frame. |
|
||||||||||||
|
Definition at line 1234 of file orcaplugin.C. References eatline, qmdata_t::file, GET_LINE, goto_keyline, qm_timestep_t::num_scfiter, only_numbers, reduce, qm_timestep_t::scfenergies, and split. Referenced by get_traj_frame. |
|
||||||||||||||||
|
||||||||||||||||
|
||||||||||||
|
Definition at line 669 of file orcaplugin.C. References orcadata::digits, qmdata_t::file, GET_LINE, goto_keyline, ORCA3, ORCA4, PRINTERR, orcadata::version, and qmdata_t::version_string. Referenced by open_orca_read. |
|
|
Definition at line 1223 of file orcaplugin.C. Referenced by get_scfdata. |
|
||||||||||||||||
|
Definition at line 413 of file orcaplugin.C. References orcadata::digits, qmdata_t::file, qmdata_t::format_specific_data, have_orca, init_qmdata, parse_static_data, PRINTERR, and orcadata::version. Referenced by VMDPLUGIN_init. |
|
||||||||||||
|
Definition at line 716 of file orcaplugin.C. References analyze_traj, qmdata_t::format_specific_data, get_basis, get_input_structure, get_job_info, qmdata_t::numatoms, and read_first_frame. Referenced by open_cpmdlog_read, open_gamess_read, open_gaussian_read, and open_orca_read. |
|
|
Referenced by open_basis_read, and parse_static_data. |
|
|
Definition at line 1101 of file orcaplugin.C. References qmdata_t::atoms, get_traj_frame, and qmdata_t::numatoms. Referenced by parse_static_data. |
|
||||||||||||
|
||||||||||||
|
||||||||||||||||
|
Definition at line 467 of file orcaplugin.C. References qm_atom_t::atomicnum, molfile_atom_t::atomicnumber, qmdata_t::atoms, molfile_atom_t::chain, MOLFILE_ATOMICNUMBER, molfile_atom_t::name, qmdata_t::numatoms, molfile_atom_t::resid, molfile_atom_t::resname, molfile_atom_t::segid, molfile_atom_t::type, and qm_atom_t::type. Referenced by VMDPLUGIN_init. |
|
||||||||||||
|
||||||||||||||||||||||||
|
Definition at line 338 of file qcschemaplugin.c. References CoeffRowBlock. Referenced by VMDPLUGIN_init. |
|
||||||||||||
|
Definition at line 280 of file qcschemaplugin.c. Referenced by VMDPLUGIN_init. |
|
||||||||||||||||
|
Definition at line 534 of file orcaplugin.C. References trim, and whitespace. Referenced by get_basis, get_job_info, get_population, and get_scfdata. |
|
|
Definition at line 2070 of file orcaplugin.C. |
|
||||||||||||
|
Definition at line 512 of file orcaplugin.C. Referenced by get_basis, get_job_info, get_population, and get_scfdata. |
|
||||||||||||||||||||
|
Definition at line 501 of file orcaplugin.C. |
|
||||||||||||
|
Definition at line 520 of file orcaplugin.C. References whitespace. Referenced by get_job_info, and reduce. |
|
|
Definition at line 2362 of file orcaplugin.C. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
||||||||||||
|
Definition at line 2357 of file orcaplugin.C. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
|
Initial value: new Matrix("{{ 0, 1, 0, 0, 0}," "{ 0, 0, 1, 0, 0}," "{ 0, 0, 0, 0, 1}," "{-1, 0, 0, 1, 0}," "{-1, 0, 0,-1, 0}," "{ 2, 0, 0, 0, 0}}") Definition at line 319 of file orcaplugin.C. |
|
|
Initial value: new Matrix("{{ 0, 0, 0, 0, 1, 0, 0}," "{ 0, 0,-1, 0, 0, 0, 3}," "{-3, 0, 0, 1, 0, 0, 0}," "{ 0,-1, 0, 0, 0,-3, 0}," "{-3, 0, 0,-1, 0, 0, 0}," "{ 0, 4, 0, 0, 0, 0, 0}," "{ 0, 0, 4, 0, 0, 0, 0}," "{ 0,-1, 0, 0, 0, 1, 0}," "{ 0, 0,-1, 0, 0, 0,-1}," "{ 2, 0, 0, 0, 0, 0, 0}}") Definition at line 326 of file orcaplugin.C. |
|
|
Definition at line 1447 of file orcaplugin.C. Referenced by get_wavefunction. |
|
|
Definition at line 1448 of file orcaplugin.C. Referenced by get_wavefunction. |
|
|
Definition at line 2328 of file orcaplugin.C. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002