1d986280ce
rename variable special function to retrieve types for labels to label2type()
2022-09-06 18:56:00 -04:00
f9717049b1
Merge branch 'develop' into type-labels
2022-08-08 17:16:50 -04:00
6c32058728
adapt all users of FixStore to use FixStoreGlobal or FixStorePeratom
2022-08-04 11:33:14 -04:00
5784fab588
starting to add timer-style variable
2022-05-05 17:04:50 -06:00
78c10bac4a
clang-format update
2022-04-23 13:08:11 -04:00
115962db88
Merge branch 'develop' into remove-error-docs-in-header
2022-04-23 12:46:54 -04:00
79a7d2abf6
remove error docs from header files
2022-04-22 23:31:15 -04:00
9f9a5ca76f
Merge branch 'develop' into region-lookup-refactor
2022-04-22 22:53:02 -04:00
aa4787f604
complete region handling refactor
2022-04-16 00:17:39 -04:00
e13a70ad2f
Merge branch 'develop' into type-labels
2022-03-23 01:08:35 -04:00
576f2266ae
Mark virtual destructors in derived as override
...
Following C++ Core Guideline C.128
2022-01-18 14:28:25 -05:00
cac7c59bb6
error messages fix
2021-12-07 23:36:05 -05:00
83a978d69b
error messages
2021-12-07 23:32:14 -05:00
67ae6eb7b6
Merge branch 'lammps:master' into type-labels
2021-09-30 09:44:18 -04:00
91b0ae798a
make VALUELENGTH constant consistent.
2021-09-04 12:41:52 -04:00
b124de3484
Merge branch 'master' of https://github.com/lammps/lammps into lammps-master
2021-06-07 22:48:51 -04:00
09c19a936b
update URLs in source code and manual
2021-05-24 14:18:20 -04:00
7fcd449864
apply clang-format to all headers with some exceptions
2021-05-14 19:16:07 -04:00
1e294111e7
Merge branch 'master' of https://github.com/lammps/lammps into lammps-master
2021-04-27 14:46:33 -04:00
df7fe4431f
make LAMMPS homepage URL and C++ indicator comments consistent
2021-04-22 21:26:07 -04:00
20e6174e59
cannot use tokenizer for parse_args() as the search for commata must be away of parenthesis
2021-03-29 21:11:07 -04:00
67f1f12c20
more tests for expressions
2021-03-23 21:42:45 -04:00
85d1257222
move redundant enumerator to Variable class definition in variable.h
2021-03-23 21:41:50 -04:00
4f46ee30a2
avoid crash when functions expecting an argument are used without
2021-03-23 18:13:01 -04:00
346c36e227
replace redundant functions to handle constants with (unordered) map
2021-03-23 17:48:47 -04:00
014f9ad527
simplify Variable::parse_args() by using Tokenizer class
2021-03-23 16:47:04 -04:00
c7215b54be
add labelmap function to variable command
2021-01-23 17:28:11 -05:00
9dfb715296
add support for variable names to id introspection in library interface
2020-10-04 06:01:26 -04:00
f1ef7d85a8
T2345: Replace instances of NULL with nullptr
...
The following changes have been applied to src and lib folders:
regex replace: ([^"_])NULL ⇒ \1nullptr (8968 chgs in src, 1153 in lib)
Manually find/change: (void \*) nullptr ⇒ nullptr (1 case)
regex find: ".*?nullptr.*?"
Manually ~14 cases back to "NULL" in src, ~2 in lib
regex finds a few false positive where nullptr appears between two
strings in a function call
2020-09-12 09:34:38 -06:00
9925122cea
more IWYU updates
2020-09-03 00:22:09 -04:00
cac4c5d930
fix merge artifact
2020-07-20 20:40:02 -04:00
5b4275002c
Merge branch 'master' into kim_fix
2020-07-20 20:27:41 -04:00
b3bd36947d
add convenience function to allow variable->set() command with a single string argument
2020-07-17 13:57:54 -04:00
2fb6a61f2a
refactor code to make better use of std::string and simplify using changes to Variable class API
2020-07-17 01:23:17 -04:00
63bebf58fd
add convenience function to allow variable->set() command with a single string argument
2020-07-17 00:46:31 -04:00
dd7bc1d34e
use const char * instead of char * so we don't need a cast for string constants
2020-07-17 00:45:58 -04:00
0af7fbe98e
use const char * instead of char * so we don't need a cast for string constants
2020-07-17 00:34:23 -04:00
dd11fb3964
remove .c_str() and simplify output in several places
2020-06-03 16:37:30 -04:00
4ec3a508fc
bulk removal of #include <cstdio> from header files
2019-06-27 21:54:07 -04:00
ff36bad099
cleanup includes in variable.h
2019-06-27 00:33:48 -04:00
02e7dd5716
also allow %e in format variables of suffix
2019-05-30 14:52:26 -04:00
1a5c3c6dcb
add check that allows only %f and %g conversions in variable format strings
2019-05-30 14:46:07 -04:00
6f8c544a7d
add option to print_var_error() function to delegate errors to error->one() instead of error->all()
...
this change is applied to cases that may happen on individual ranks only, e.g. out-of-range access, division by zero, invalid argument.
2019-01-10 16:50:00 -05:00
b19ee27f86
initialize two more struct Tree members to appease coverity scan
2018-12-28 01:01:33 -05:00
09abc0c75a
Fix memory leak in Variable::compute_atom
2018-11-29 00:41:40 -05:00
3e79296dcf
Variable style 'string' substitutes variables in definition
2018-06-14 13:10:08 +02:00
e4071d7f46
replace C-style include files with their C++ equivalents
2018-04-27 18:00:24 -04:00
5221ac2d55
add placeholders to include files for error messges
2018-04-03 17:48:31 -06:00
01cfb710ff
propagate printing variable name with error deeper into the code
...
this now covers a large set of cases where the variable name can be printed.
it also is complete for the current code, since no more default arguments are required
2018-01-16 11:31:20 -05:00
f37f4f0041
support more cases where the variable name is reported on errors
2018-01-14 17:56:03 -05:00