Commit Graph

32 Commits

Author SHA1 Message Date
8fcde04097 add a "matches()" method to the Tokenizer and ValueTokenizer classes using utils::strmatch() 2024-07-05 15:45:49 -04:00
2132b1d904 update developer reference text 2022-10-24 11:08:26 -04:00
cccf3f6f78 change email for contacting LAMMPS developers, add to homepage checker 2022-10-20 20:36:03 -04:00
f84790ba62 add a more specific example to explain how values are rejected and how atoi() fails 2022-02-14 15:52:33 -05:00
06beb28d7d Apply override to Pair classes 2022-01-21 16:13:49 -05:00
1792b3b0cf Apply override to Reader classes 2022-01-18 14:39:31 -05:00
71a24580b8 remove parser_error exception class ambiguity completely 2021-10-23 04:24:54 -04:00
2106075320 use call-by-value with std::move() function 2021-10-14 01:30:18 -04:00
2fba6b44e4 use '= default' when default functions should be used 2021-10-13 23:59:05 -04:00
dd6f49a753 use 'noexcept' instead of the deprecated 'throw()' 2021-10-12 21:29:33 -04:00
bca99f684f update list and order of include files from include-what-you-use analysis 2021-09-18 14:16:48 -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
462f27d661 Use copy-and-swap in Tokenizers
Ensures that the classes behave consistently when copied, moved, copy assigned,
and move assigned.
2021-04-26 14:28:13 -04:00
df7fe4431f make LAMMPS homepage URL and C++ indicator comments consistent 2021-04-22 21:26:07 -04:00
36c6410fd8 make skip() function argument optional and default to 1 2021-04-04 21:14:12 -04:00
6113169a47 IWYU based include statement cleanup 2020-09-02 17:39:34 -04:00
dd03c7232a Merge remote-tracking branch 'github/master' into move-convenience-functions 2020-08-31 11:41:18 -04:00
199cfeba78 more tweaks. doxygen translation has no more warnings now. 2020-08-30 14:32:53 -04:00
f3ed1dea4d minor tweaks 2020-08-30 14:28:19 -04:00
4b0999e167 complete documentation of tokenizer classes 2020-08-30 14:12:21 -04:00
96ee132e85 start documenting tokenizer classes 2020-08-30 01:50:37 -04:00
5a22f4d7f2 support that LAMMPS_POTENTIALS is a real path variable with multiple entries, not just a single folder 2020-08-29 22:22:03 -04:00
c9dc5d90d2 Merge remote-tracking branch 'origin/master' into refactor-reading 2020-07-17 23:08:26 -04:00
81d937ee97 Performance optimization of Tokenizer
Reduces string allocations and removes std::vector from Tokenizer
Most processing now happens on-demand.
2020-06-11 00:22:04 -04:00
c1f6c004ca Add contains method to ValueTokenizer 2020-06-09 12:11:53 -04:00
6c41c2f69d Make Tokenizers movable 2020-06-04 16:23:46 -04:00
4f169e99e6 silence compiler warnings: const has no effect on return type 2020-05-31 09:49:22 -04:00
636a1bffe3 Fix whitespace 2020-05-29 17:25:41 -04:00
74249380ec Add count method to ValueTokenizer 2020-05-26 16:30:46 -04:00
7ac0f869ef Add ValueTokenizer 2020-05-20 15:53:50 -04:00
d41927b056 Add Tokenizer class 2020-05-20 15:49:02 -04:00