#include "largefiles.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
#include "molfile_plugin.h"
#include "periodic_table.h"
#include "vmdconio.h"
#include "hash.h"
#include "inthash.h"
Go to the source code of this file.
|
Definition at line 155 of file lammpsplugin.c. Referenced by find_item_keyword, find_next_item, and open_lammps_read. |
|
Definition at line 103 of file lammpsplugin.c. Referenced by open_lammps_read, and read_lammps_timestep. |
|
Definition at line 104 of file lammpsplugin.c. Referenced by read_lammps_structure, and read_lammps_timestep. |
|
Definition at line 105 of file lammpsplugin.c. Referenced by read_lammps_structure, and read_lammps_timestep. |
|
Definition at line 107 of file lammpsplugin.c. Referenced by read_lammps_timestep. |
|
Definition at line 106 of file lammpsplugin.c. Referenced by read_lammps_timestep. |
|
Definition at line 118 of file lammpsplugin.c. Referenced by read_lammps_structure, and read_lammps_timestep. |
|
Definition at line 117 of file lammpsplugin.c. Referenced by read_lammps_structure. |
|
Definition at line 113 of file lammpsplugin.c. Referenced by read_lammps_structure, and read_lammps_timestep. |
|
Definition at line 110 of file lammpsplugin.c. Referenced by open_lammps_read, and read_lammps_structure. |
|
Definition at line 112 of file lammpsplugin.c. Referenced by read_lammps_structure, and read_lammps_timestep. |
|
Definition at line 119 of file lammpsplugin.c. Referenced by read_lammps_structure, and read_lammps_timestep. |
|
Definition at line 115 of file lammpsplugin.c. Referenced by read_lammps_structure. |
|
Definition at line 114 of file lammpsplugin.c. Referenced by read_lammps_structure, and read_lammps_timestep. |
|
Definition at line 116 of file lammpsplugin.c. Referenced by read_lammps_structure. |
|
Definition at line 111 of file lammpsplugin.c. Referenced by read_lammps_structure, and read_lammps_timestep. |
|
Definition at line 82 of file lammpsplugin.c. |
|
flags to indicate the property stored in a custom lammps dump Definition at line 122 of file lammpsplugin.c. Referenced by read_lammps_structure. |
|
Definition at line 100 of file lammpsplugin.c. Referenced by open_lammps_read, read_lammps_structure, and read_lammps_timestep. |
|
Definition at line 86 of file lammpsplugin.c. Referenced by cosangle2deg, and write_lammps_timestep. |
|
Definition at line 93 of file lammpsplugin.c. Referenced by read_lammps_timestep, and read_lammpsyaml_timestep. |
|
Definition at line 90 of file lammpsplugin.c. Referenced by read_lammps_timestep, read_lammpsyaml_timestep, tpr_save_string, and write_situs_data. |
|
Definition at line 158 of file lammpsplugin.c. Referenced by close_lammps_read, and close_lammpsyaml_read. |
|
Definition at line 159 of file lammpsplugin.c. Referenced by find_next_item, open_lammps_read, open_lammpsyaml_read, read_lammps_structure, read_lammps_timestep, read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Definition at line 157 of file lammpsplugin.c. Referenced by open_lammps_read, and open_lammpsyaml_read. |
|
Definition at line 156 of file lammpsplugin.c. |
|
Definition at line 160 of file lammpsplugin.c. Referenced by open_lammps_read, open_lammpsyaml_read, read_lammps_structure, and read_lammpsyaml_structure. |
|
Definition at line 97 of file lammpsplugin.c. Referenced by write_lammps_timestep. |
|
Definition at line 74 of file lammpsplugin.c. |
|
Definition at line 77 of file lammpsplugin.c. |
|
Definition at line 143 of file lammpsplugin.c. |
|
Definition at line 123 of file lammpsplugin.c. |
|
Definition at line 1410 of file lammpsplugin.c. References lammpsdata::file, lammpsdata::file_name, lammpsdata::idmap, inthash_destroy, inthash_stats, and myFclose. Referenced by VMDPLUGIN_init. |
|
Definition at line 1597 of file lammpsplugin.c. References lammpsdata::atomtypes, lammpsdata::file_name, and lammpsdata::fp. Referenced by VMDPLUGIN_init. |
|
Definition at line 989 of file lammpsplugin.c. References M_PI_2. |
|
Scan the file for the next occurence of a record of the type given in keyword. If such a record is found, the file descriptor points to the beginning of the record content, and this function returns a pointer to the remainder of the line (EOL character or or additional data). otherwise a NULL pointer is returned. a pointer to a line buffer and its length have to be given. the return value will point to some location inside this buffer. Definition at line 329 of file lammpsplugin.c. References FileDesc, and find_next_item. |
|
Scan the file for the next line beginning with the string "ITEM: " and returns a string containing the remainder of that line or NULL. Upon return, the file descriptor points either to the beginning of the next line or at the first character that didn't fit into the buffer (linebuf[buflen]). Definition at line 301 of file lammpsplugin.c. |
|
Definition at line 187 of file lammpsplugin.c. |
|
Definition at line 204 of file lammpsplugin.c. References id_merge. |
|
Definition at line 363 of file lammpsplugin.c. References lammpsdata::coord_data, lammpsdata::dip2atoms, lammpsdata::dumx, lammpsdata::dumy, lammpsdata::dumz, lammpsdata::fieldinit, lammpsdata::file, lammpsdata::file_name, FileDesc, find_item_keyword, KEY_ATOMS, LAMMPS_COORD_NONE, LINE_LEN, lammpsdata::maxatoms, myFgets, myFopen, myRewind, lammpsdata::numatoms, velinfo, and VMDCON_INFO. Referenced by VMDPLUGIN_init. |
|
Definition at line 1425 of file lammpsplugin.c. References lammpsdata::file_name, lammpsdata::fp, lammpsdata::nstep, and lammpsdata::numatoms. Referenced by VMDPLUGIN_init. |
|
|
|
Check a token against a list of equivalences. The list has the format "toka=tok1,tokb=tok2,tokc=tok3" and is split in pairs "toka=tok1" and then if "tok1" matches, toka will be returned. The first match or tag is returned. Definition at line 228 of file lammpsplugin.c. |
|
Definition at line 1645 of file lammpsplugin.c. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
Definition at line 1640 of file lammpsplugin.c. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 1445 of file lammpsplugin.c. References lammpsdata::atomtypes, hash_destroy, hash_init, hash_insert, hash_lookup, and lammpsdata::numatoms. Referenced by VMDPLUGIN_init. |
|
Definition at line 1468 of file lammpsplugin.c. References molfile_timestep_t::A, molfile_timestep_t::alpha, lammpsdata::atomtypes, molfile_timestep_t::B, molfile_timestep_t::beta, molfile_timestep_t::C, molfile_timestep_t::coords, lammpsdata::fp, molfile_timestep_t::gamma, M_PI_2, lammpsdata::nstep, lammpsdata::numatoms, and SMALL. Referenced by VMDPLUGIN_init. |
|
Definition at line 1608 of file lammpsplugin.c. |
|
Definition at line 184 of file lammpsplugin.c. Referenced by open_lammps_read. |