23b185a625
add overload to utils::print() so it can be used without FILE pointer
2025-06-06 11:29:12 -04:00
c037ec07a2
make utils::errorurl() point to generic page with error code 0
2025-03-20 22:45:41 -04:00
030ad0d5af
set version string to 4Feb2025
2025-01-30 17:22:28 -05:00
8c6d0bef41
remove repeated code
2025-01-23 20:25:14 -05:00
6fb318f61c
Merge branch 'develop' into collected-small-changes
2025-01-23 20:22:14 -05:00
dac011b865
add placeholders for versionadded tags for new functions
2025-01-23 11:21:09 -05:00
8baec60155
implement an utils::print() function similar to fmt::print()
...
this doesn't have the constexpr requirement for the format string.
also it will help porting to std::format in C++20, which doesn't
have a similar functionality either.
2025-01-23 00:03:30 -05:00
a5b66f02d1
update docs
2025-01-18 22:19:43 -05:00
e38c13a764
add strcompress function and use it for error output
2025-01-17 22:59:44 -05:00
e350f28e26
refactor how error output is created and only print input and parsed line if they differ in text
2025-01-17 18:06:31 -05:00
9b443c9a4d
add utility function to compare two string while ignoring whitespace
2025-01-17 14:06:30 -05:00
b9dbfc6eb2
add support to flag failed arguments for calls to expand_args()
2025-01-17 10:40:34 -05:00
da5a12fcd1
increase visibility of highlighting the failed argument
2025-01-16 11:39:53 -05:00
8c93986e47
add overloads for Error::all() and Error::one() that can point out the location of a faulty argument
2025-01-15 23:12:11 -05:00
fb33541961
use command-line consistently where applicable and drop "line" where not
2024-12-27 04:03:41 -05:00
861b1fb16f
small doxygen updates
2024-12-14 21:40:47 -05:00
b1928596ae
should include <string> in utils.h
2024-10-08 14:47:11 -04:00
25dfb03386
apply clang-format
2024-10-06 00:25:53 -04:00
c299c94ebc
Merge pull request #4262 from jrgissing/type-labels-for-pair_style_commands
...
Type label support for pair_style commands
2024-08-19 15:02:23 -04:00
4c15ac99a3
expand_type_int verify->bool
2024-08-18 23:05:52 -06:00
1afa56e0da
expand_type_int: optional flag to check types
...
verifying type could probably be default, except for historical reasons
would involve removing redundant checks after calling routine
2024-08-18 22:39:01 -06:00
dca156eacc
Edits to devleoper doc files 2
2024-08-15 17:12:39 -06:00
b69e7e03fd
small fix
2024-06-25 19:07:59 -04:00
8e4ffdc84e
update docs for fully integrating utils::bounds_typlabel() function
2024-06-25 18:23:07 -04:00
5cbe85ecf1
remove redundant error argument (accessible through lmp)
2024-06-25 18:19:41 -04:00
44b99b6b76
bounds() wrapper for type labels
2024-05-12 14:30:55 -04:00
61b9469fd1
Revert "example with augmented utils::bounds"
...
This reverts commit 25d4b3484d .
2024-05-12 02:00:48 -04:00
25d4b3484d
example with augmented utils::bounds
...
option to check for type label
2024-05-12 01:00:09 -04:00
b3e03d5188
refactor expand_types to return int
2024-04-17 18:56:28 -04:00
72b0a2dfdf
Merge pull request #3405 from lammps/distributed-grids
...
Support for distributed grids
2022-12-19 12:06:25 -05:00
87a0833edd
whitespace fixes
2022-12-01 10:12:14 -05:00
4adf3708d4
add strip_style_suffix utility function
2022-11-24 11:50:21 -05:00
dd8a14789b
update docs for new image features
2022-11-23 10:52:46 -07:00
9ab4c65f31
more work on dump image
2022-11-22 16:40:39 -07:00
3683f144a6
fixed compile issue
2022-11-17 16:32:15 -07:00
c9b431214c
more work on dump image
2022-11-17 15:56:15 -07:00
b4118c51cc
merged in current master
2022-11-04 08:22:18 -06: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
e2df4ed2a7
Merge branch 'develop' into distributed-grids
...
# Conflicts:
# doc/src/Developer_utils.rst
# doc/src/dump.rst
# doc/src/fix_ave_chunk.rst
# src/utils.h
2022-09-12 18:31:29 -04:00
75e897b2fe
new utility function "utils::expand_type" to convert type labels to numeric strings
2022-09-05 05:45:31 -04:00
ca6222c12b
implement utils::is_type() convenience function
2022-09-03 23:18:44 -04:00
8196745562
update utils::expand_args() to it can handle gridIDs
2022-08-18 17:34:40 -04:00
e4e7272c22
rename utils::gridid_parse() to utils::parse_gridid()
2022-08-18 17:33:29 -04:00
22a9bfebe5
reimplement utils::gridid_parse() function and update related code
2022-08-17 13:18:12 -04:00
faa225d658
Merge branch 'develop' into distributed-grids
2022-08-11 09:44:43 -06:00
72036caf71
use make_format_args() instead of make_args_checked() (removed in v9)
2022-08-04 21:59:37 -04:00
c44794730b
debugging fixes
2022-08-03 17:43:04 -06:00
41fb8acf9e
tweak doc for new utils function
2022-07-29 10:59:26 -06:00
3e81cfb217
refactoring
2022-07-29 10:13:23 -06:00