Files
lammps/examples/kim/log.22Mar2019.query.g++.1
2019-03-22 20:20:47 -05:00

35 lines
1.0 KiB
Groff

LAMMPS (28 Feb 2019)
# example for performing a query to the OpenKIM test database to retrieve
# a parameter to be used in the input. here it requests the aluminium
# lattice constant for a specific test used for a specific model and then
# assigns it to the variable 'latconst'
units metal
info variables out log
Info-Info-Info-Info-Info-Info-Info-Info-Info-Info-Info
Printed on Fri Mar 22 20:00:56 2019
Variable information:
Info-Info-Info-Info-Info-Info-Info-Info-Info-Info-Info
kim_query latconst get_test_result test=TE_156715955670 species=["Al"] model=MO_800509458712 prop=structure-cubic-crystal-npt keys=["a"] units=["angstrom"]
info variables out log
Info-Info-Info-Info-Info-Info-Info-Info-Info-Info-Info
Printed on Fri Mar 22 20:00:57 2019
Variable information:
Variable[ 0]: latconst , style = string , def = 4.03208274841
Info-Info-Info-Info-Info-Info-Info-Info-Info-Info-Info
lattice fcc ${latconst}
lattice fcc 4.03208274841
Lattice spacing in x,y,z = 4.03208 4.03208 4.03208
Total wall time: 0:00:00