Commit Graph

92 Commits

Author SHA1 Message Date
a6261d75b9 some more define to static constexpr conversions 2024-01-24 21:14:19 -05:00
0fbe388cbd undo "boxgeom" changes 2023-11-03 16:40:18 -04:00
a0f7612f13 encode system box geometry into a class member 2023-11-03 03:25:08 -04:00
925d006d19 join wrapped strings 2023-11-02 13:43:37 -04:00
731400e004 improve error messages for read_dump 2023-10-22 18:29:07 -04:00
1782008b28 programming style updates 2023-10-22 18:13:17 -04:00
b5a01e84e1 consolidate dump file field enumerators into reader.h header for consistency 2023-10-22 18:09:11 -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
bf6ad1bb45 add option to read_dump that prevents resetting the timestep 2022-07-10 05:00:03 -04:00
d4ea5ca49e more clang-tidy fixes after re-running it with added settings 2022-05-14 07:18:05 -04:00
d6f7570d57 avoid redundant use of boolean literals 2022-04-10 20:47:31 -04:00
39b316729b use auto type when assigning from cast or using new 2022-04-10 18:16:36 -04:00
7824e43339 Change Update::reset_timestep() API so that rerun can bypass the time depended fix check 2022-02-27 11:35:34 -05:00
85433e8bd1 use true/false instead of 1/0 detected and changed by clang-tidy 2021-10-20 12:41:02 -04:00
914f035475 a few more converted commands and updates for unit tests 2021-09-21 17:23:41 -04:00
6adac6b637 Merge branch 'master' into parse-logical-keyword 2021-09-20 20:41:48 -04:00
f80259dfae some applications of the new function 2021-09-19 19:05:40 -04:00
385220fd4b format changes 2021-09-17 22:50:15 -04:00
09c19a936b update URLs in source code and manual 2021-05-24 14:18:20 -04:00
d1941392d3 disable clang-format for all existing .cpp files (for now) 2021-05-05 23:53:38 -04:00
a1665fddc8 next iteration of preparing for clang-format 2021-04-30 13:51:14 -04:00
6b04ebd617 Merge branch 'master' into varargs-log-error-functions 2021-04-26 13:27:58 -04:00
ef858ae70f silence compiler warnings 2021-04-23 16:19:57 -04:00
d2cdb318ab apply new logmesg() overload to a bunch of cases. 2021-04-21 23:38:45 -04:00
b53822da46 provide Command base class in command.h for deriving command styles from 2021-04-13 17:47:00 -04:00
5d5fc4a04d simplify by using utils::strdup() 2021-03-16 08:56:52 -04:00
e3ecb6ccc4 must nullify "readers" array, so there is no crash when deleting it later 2020-10-23 04:21:15 -04:00
adf74b3a22 use https://lammps.sandia.gov based URLs consistently 2020-10-21 16:45:30 -04:00
0f6a34775c Merge branch 'master' into symbolic-atom-constants 2020-09-15 17:44:31 -04:00
93a0d4c096 fix up some comments 2020-09-12 14:26:34 -04:00
1597cd5dcb T2345: After examining comments changed by batch conversion of NULL
to nullptr, I've corrected a small number where it seemed clear
that the previous NULL should have been either "NULL" (where the
code is looking for a string with that value),  or null char / null byte
(where the comment is talking about the char/byte that terminates
a c-style string).

Also changed 6 places where the batch change had changed 'NULL ptr'
to 'nullptr ptr'. Now they simply say 'nullptr'.
2020-09-12 09:34:39 -06: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
9d0c3bc665 replace some numeric constants in Atom and AtomVec classes with enumerators 2020-09-11 19:07:55 -04:00
390c6ba106 rechecking some corefiles with IWYU after the many updates 2020-09-03 15:28:07 -04:00
a4a1f7e848 more IWYU cleanup 2020-09-02 23:49:17 -04:00
96d8d12a88 replace calls to force->*numeric() with the corresponding utils::*numeric()
this also removes the now obsolete functions from Force
2020-08-29 20:31:02 -04:00
729cc81f31 make more use of utils::logmesg() 2020-07-31 22:16:06 -04:00
e4a3a518f7 more use of fmtlib and std::string 2020-06-25 22:50:38 -04:00
f547d66104 Merge branch 'master' into more-fmtlib-and-string
# Conflicts:
#	src/write_restart.cpp
2020-06-05 11:13:44 -04:00
73c6171ad6 get rid of BIGINT_FORMAT and use utils::logmesg() 2020-06-05 08:19:45 -04:00
dd11fb3964 remove .c_str() and simplify output in several places 2020-06-03 16:37:30 -04:00
125a82f572 change isReaderParallel flag to parallel and generally adapt more to LAMMPS programming style 2020-01-20 09:20:42 -05:00
580909fd47 Implement read_dump with format 'adios'. It modifies read_dump.cpp to support reading from one dataset by all processes. 2020-01-20 09:20:42 -05:00
55fde76d59 may only close files on MPI ranks that have a file reader instance 2019-12-16 07:22:41 -05:00
b6b022b610 whitespace cleanup: remove trailing blanks 2019-11-03 11:03:39 -05:00
06dcc9e283 Merge branch 'master' into improve-include-consistency
# Conflicts:
#	src/USER-MESO/atom_vec_tdpd.cpp
2019-07-09 14:50:00 -04:00
74414afdea Added the boxinfo argument 2019-07-08 17:25:23 -06:00
65e281d661 Fixed a few problems with read_dump xyz 2019-07-07 18:00:07 -06:00
ce6fa0118a continuing to clean up include file lists 2019-07-04 08:39:17 -04:00