#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 158 of file lammpsyamlplugin.c. Referenced by find_item_keyword, find_next_item, and open_lammpsyaml_read. |
|
Definition at line 104 of file lammpsyamlplugin.c. Referenced by open_lammpsyaml_read, and read_lammpsyaml_timestep. |
|
Definition at line 105 of file lammpsyamlplugin.c. |
|
Definition at line 106 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Definition at line 107 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Definition at line 103 of file lammpsyamlplugin.c. Referenced by open_lammpsyaml_read. |
|
Definition at line 110 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure. |
|
Definition at line 109 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_timestep. |
|
Definition at line 108 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_timestep. |
|
Definition at line 121 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Definition at line 120 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure. |
|
Definition at line 116 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Definition at line 113 of file lammpsyamlplugin.c. Referenced by open_lammpsyaml_read, and read_lammpsyaml_structure. |
|
Definition at line 115 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Definition at line 122 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Definition at line 118 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure. |
|
Definition at line 117 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Definition at line 119 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure. |
|
Definition at line 114 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Definition at line 82 of file lammpsyamlplugin.c. |
|
flags to indicate the custom property stored in a lammps yaml dump Definition at line 125 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure. |
|
Definition at line 100 of file lammpsyamlplugin.c. Referenced by open_lammpsyaml_read, read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Definition at line 86 of file lammpsyamlplugin.c. Referenced by cosangle2deg, and write_lammpsyaml_timestep. |
|
Definition at line 93 of file lammpsyamlplugin.c. |
|
Definition at line 90 of file lammpsyamlplugin.c. |
|
Definition at line 161 of file lammpsyamlplugin.c. |
|
Definition at line 162 of file lammpsyamlplugin.c. |
|
Definition at line 160 of file lammpsyamlplugin.c. |
|
Definition at line 159 of file lammpsyamlplugin.c. |
|
Definition at line 163 of file lammpsyamlplugin.c. |
|
Definition at line 97 of file lammpsyamlplugin.c. Referenced by write_lammpsyaml_timestep. |
|
Definition at line 74 of file lammpsyamlplugin.c. |
|
Definition at line 77 of file lammpsyamlplugin.c. |
|
Definition at line 146 of file lammpsyamlplugin.c. |
|
Definition at line 126 of file lammpsyamlplugin.c. |
|
Definition at line 1382 of file lammpsyamlplugin.c. References lammpsdata::file, lammpsdata::file_name, lammpsdata::idmap, inthash_destroy, inthash_stats, and myFclose. Referenced by VMDPLUGIN_init. |
|
Definition at line 1570 of file lammpsyamlplugin.c. References lammpsdata::atomtypes, lammpsdata::file_name, and lammpsdata::fp. Referenced by VMDPLUGIN_init. |
|
Definition at line 964 of file lammpsyamlplugin.c. References M_PI_2. Referenced by read_lammps_timestep, and read_lammpsyaml_timestep. |
|
Definition at line 363 of file lammpsyamlplugin.c. Referenced by read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
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 330 of file lammpsyamlplugin.c. References FileDesc, and find_next_item. Referenced by open_lammps_read, open_lammpsyaml_read, read_lammps_structure, read_lammps_timestep, read_lammpsyaml_structure, and read_lammpsyaml_timestep. |
|
Scan the file for the next line containing a colon (':') and returns the location of the colon in the string, or 0 for a line with '...', or -1 for a read error or EOF. 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 306 of file lammpsyamlplugin.c. References FileDesc, and myFgets. Referenced by find_item_keyword, read_lammps_timestep, and read_lammpsyaml_timestep. |
|
Definition at line 190 of file lammpsyamlplugin.c. Referenced by id_sort. |
|
Definition at line 207 of file lammpsyamlplugin.c. References id_merge. Referenced by read_lammps_structure, and read_lammpsyaml_structure. |
|
Definition at line 377 of file lammpsyamlplugin.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, KEY_IDENT, LAMMPS_COORD_NONE, LINE_LEN, lammpsdata::maxatoms, myFgets, myFopen, myRewind, lammpsdata::numatoms, velinfo, and VMDCON_INFO. Referenced by VMDPLUGIN_init. |
|
Definition at line 1397 of file lammpsyamlplugin.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 231 of file lammpsyamlplugin.c. Referenced by read_lammps_structure, and read_lammpsyaml_structure. |
|
Definition at line 1616 of file lammpsyamlplugin.c. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
Definition at line 1611 of file lammpsyamlplugin.c. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 1416 of file lammpsyamlplugin.c. References lammpsdata::atomtypes, hash_destroy, hash_init, hash_insert, hash_lookup, and lammpsdata::numatoms. Referenced by VMDPLUGIN_init. |
|
Definition at line 1438 of file lammpsyamlplugin.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 1580 of file lammpsyamlplugin.c. |
|
Definition at line 187 of file lammpsyamlplugin.c. Referenced by open_lammpsyaml_read. |