Commit Graph

30 Commits

Author SHA1 Message Date
98fb095ae9 Update the kim_query
-Clean up the interface and remove the unnecessary function.
-Update the error messages to be more expressive in case of a mistake.
-Update the interface and remove the strtok to be compliant with LAMMPS.

Now, kim_query can also be used with LAMMPS variable replacement, where
the variable is a LAMMPS variable string without quotation marks around it.
2020-11-10 16:18:40 -06:00
adf74b3a22 use https://lammps.sandia.gov based URLs consistently 2020-10-21 16:45:30 -04:00
29a7d598ac update formatting style to be more consistent 2020-09-21 02:04:58 -04:00
88ddfa4eb0 more IWYU cleanup in packages 2020-09-03 05:20:02 -04:00
dbbc60b4b8 Clean up the code 2020-07-16 20:04:55 -05:00
505cc1036f refactor KIM package code for using {fmt} and std::string 2020-06-11 13:25:41 -04:00
b0d0037f50 Certificate Verification
if SSL report an error ("certificate verify failed") during the
handshake and thus refuses further communication with that server,
you can specify your own CA cert path by setting the environment
variable CURL_CA_BUNDLE to the path of your choice.
2019-12-12 12:57:34 -06:00
5ce8860dce Updating the 'kim_query' default behavior and adding the 'list' setting
Adding the 'list' setting of {formatarg} (default behavior or if
{formatarg} is not specified), the result is returned as a
space-separated list of values in {variable}.
2019-10-29 11:51:05 -05:00
259176c590 Add user-agent setting to kim_query curl command 2019-08-14 17:16:10 -06:00
6833d6def6 Merge branch 'master' into kim-simulator-models
# Resolved Conflicts:
#	src/KIM/kim_query.cpp
#	src/KIM/pair_kim.cpp
2019-07-29 20:43:10 -04:00
c03e9c9711 Adjust write_echo() within kim_query 2019-07-29 16:11:29 -05:00
2ffc35297b make kim_query log of variable setting look more like other KIM log messages
this adds BEGIN/END marker comments and echoes the actual command line
that the kim_query command implicitly executes
2019-07-29 16:57:34 -04:00
ea4107c4b4 add write_echo() method to Input class for logging implicit commands where the echo command would send explicit ones 2019-07-29 16:36:57 -04:00
2afc498a2b Add logging to kim_query (compile error at moment) 2019-07-29 15:04:15 -05:00
a0abd270b5 kim_query check for empty query result 2019-07-29 11:41:01 -05:00
47689b4ad3 make include files independent of previously included headers. include them first in implementation files.
this is to be compliant with upcoming definition of include file policy
2019-07-26 06:03:21 -04:00
fadb40051b Update kim_query & clear and update examples/kim 2019-07-25 14:03:35 -05:00
5b4f77b919 kim_query check for explicit 'model=' key in arguments (give error if present). 2019-07-16 16:20:48 -05:00
dbd0158d3f Adjust/update kim_query do_query() routine 2019-07-11 12:01:35 -05:00
ea68db964a trim (left and right) strings from kim_query xxxx split 2019-07-10 14:21:07 -05:00
1f47da6c51 Add fixed_types to kim_init & split to kim_query 2019-07-08 17:46:47 -05:00
5b3a15bd94 putting implementation header first in package folder sources 2019-07-03 19:58:25 -04:00
f6319146b0 Update kim_query to new interface 2019-06-25 15:03:24 -05:00
ce46d52c8a add new 'kim_style' command as front end for KIM simulator (and regular) models 2019-05-24 10:23:26 -04:00
6643a4ec92 Fixup FindKIM-API.cmake and clean up some v2 remnants 2019-04-06 14:20:21 -05:00
b8c4e09b27 Put #ifdef around #include "curl/curl.h" in kim_query.cpp 2019-03-25 19:14:08 -05:00
3464464ea9 Update kim example query and log files 2019-03-22 20:20:47 -05:00
741a7fe630 final touches to support compiling with libcurl transparently 2019-03-19 15:40:49 -04:00
7a8bb5baaf come code cleanup and refactoring 2019-03-19 15:33:53 -04:00
02b800a3bb add template for new kim_query command 2019-03-19 15:33:48 -04:00