6d292b1bf2
small tweaks
2021-07-16 14:51:27 -04:00
51d082ff2b
reformat comments
2021-07-11 14:57:00 -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
a7b514e373
fix issue with breathe's doxygen to sphinx translation
2021-05-12 18:03:05 -04:00
a9ff9312d6
Merge remote-tracking branch 'origin/master' into varargs-log-error-functions
2021-04-28 18:13:31 -04:00
7b1b57aa9b
rename utils::fgets_trunc_nl() to utils::fgets_trunc()
2021-04-27 18:32:51 -04:00
b65bc86718
new utility function fgets_trunc_nl()
2021-04-27 16:13:45 -04:00
6b04ebd617
Merge branch 'master' into varargs-log-error-functions
2021-04-26 13:27:58 -04:00
a0b0681cc8
rename _internal_logmesg() to fmtargs_logmesg()
...
vlogmesg() can be too easily confused with logmesg()
2021-04-25 17:20:36 -04:00
b0cd6b3ef7
improve docs also for related functions
2021-04-24 22:08:28 -04:00
8e5e995188
add docs for new utility function
2021-04-24 21:32:29 -04:00
539ab02365
provide more generic implementation of Comm::read_lines_from_file() in utils
2021-04-24 21:05:11 -04:00
df7fe4431f
make LAMMPS homepage URL and C++ indicator comments consistent
2021-04-22 21:26:07 -04:00
3aec5c6484
tweak docs for logmesg() overload
2021-04-21 23:50:13 -04:00
0cf1252f1f
add overload to utils::logmesg() that handles format strings and variable arguments
...
this reduces utils::logmesg(lmp,fmt::format(...)) to utils::logmesg(lmp,...)
while still allowing just a single string argument.
2021-04-21 22:52:32 -04:00
b15502ddc8
Add utils::split_lines
2021-03-24 15:53:00 -04:00
ca8b268ad5
new convencience function for checking valid IDs (includes unit tests)
2021-03-02 11:02:09 -05:00
dfae88cf13
address spelling issues
2021-02-25 23:11:41 -05:00
92d892aa2d
add new utility function utils::strfind()
2021-02-25 23:03:17 -05:00
0f07215a2b
add utils::strdup() convenience function
2021-02-04 17:00:02 -05:00
f5bf10e00f
remove dead code
2021-02-04 15:34:56 -05:00
3e07711739
simplify using C++11 syntax
2021-02-04 14:35:39 -05:00
dadea34663
reformat comment
2021-02-04 14:35:39 -05:00
05f08c0799
avoid false positives in has_utf8() check
2021-01-25 21:44:38 -05:00
72168d6780
add utility functions to detect UTF-8 characters and substitute with ASCII equivalents
2021-01-25 01:41:38 -05:00
b931501711
add utils::path_dirname() to complement utils::path_basename()
2020-10-23 20:40:18 -04:00
9a6dfbc0ee
add some cross referencing
2020-09-18 13:45:33 -04:00
4b25eb1a34
small tweaks
2020-09-15 19:08:40 -04:00
93a0d4c096
fix up some comments
2020-09-12 14:26:34 -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
485a169ef2
move merge sort to utils namespace
2020-09-06 17:38:53 -04:00
ce78be864a
move date2num() convernience function from Universe class to utils namespace
2020-09-03 17:47:45 -04:00
22ccde1d13
modernize utils::bounds() implementation and remove duplicate definition.
2020-08-31 12:58:00 -04:00
cf11945e21
get rid of utils::boundsbig() by making it a template function with two specializations
2020-08-31 11:25:43 -04:00
8d2c16ad66
remove trailing whitespace
2020-08-30 00:31:04 -04:00
f123246189
minor doc updates
2020-08-30 00:25:01 -04:00
ceeaf1e988
update and correct documentation for utils functions
2020-08-29 23:51:46 -04:00
83a9e5e724
handle spelling issues with new doc text
2020-08-29 22:55:05 -04:00
4396dbd9a3
move Force::open_potential() to utils::open_potential()
2020-08-29 22:37:14 -04:00
05ff352021
add utils::open_potential() function to utils namespace
2020-08-29 22:08:16 -04:00
fcd0b9f78f
move Force::bounds() and Force::boundsbig() to utils.
2020-08-29 18:23:03 -04:00
2a365c17e0
update utils namespace documentation including doxygen parts
2020-08-28 18:21:18 -04:00
024e4c5f21
make formatting and doxygen decorations for utils functions consistent
2020-08-24 20:55:13 -04:00
e2b113b5e1
Merge branch 'master' into refactor-reading
2020-08-10 12:25:16 -04:00
9cd0a52c44
Remove old comment
2020-08-03 16:58:56 -04:00
4126ba24c1
Move timespec2seconds to utils
2020-08-03 16:54:53 -04:00
74f50ed1bd
Merge branch 'master' into collected-small-changes
2020-07-31 21:51:10 -04:00
8cb63194aa
optimize utils::strmatch() by using const string reference
2020-07-30 23:42:03 -04:00
4b91ab0d23
add utils::trim() function to remove leading and trailing whitespace from string
2020-07-30 23:39:37 -04:00