Commit Graph

138 Commits

Author SHA1 Message Date
7878ec170c Merge pull request #4501 from lammps/errors-more-cleanup
[Community Project] More Error and Warning Messages Cleanup
2025-03-25 17:52:08 -04:00
9e241df062 Merge pull request #4182 from akohlmey/group-bitmap-accessor
Refactor code to use group bitmap accessor
2025-03-25 14:12:27 -04:00
d42330edbd consolidate errors #6 and #7 plus handle non-numeric box. add missing entries. 2025-03-17 11:40:36 -04:00
ebf6ba36bf remove leading 0 in single-digit url codes 2025-03-12 07:39:45 -06:00
ab63993226 add urls for error 07 2025-03-12 07:23:56 -06:00
ac68f70e20 three more 2025-01-09 21:23:56 -05:00
fbba20fa89 validate that a non-temperature compute has not been replaced without fix_modify 2024-12-23 20:24:24 -05:00
210f7d7225 check that the internal pressure compute has not been manually replaced with a non-pressure compute without using fix_modify 2024-12-19 12:08:21 -05:00
f1c5b4b68d avoid access to uninitialized step_respa pointer in Nose-Hoover fixes 2024-06-22 04:16:46 -04:00
4082ca077e Merge branch 'develop' into consolidate-sphere-omega-flag
# Conflicts:
#	src/compute_temp_sphere.cpp
2024-01-25 17:57:53 -05:00
6442e05988 even more define to static constexpr conversions 2024-01-25 02:17:28 -05:00
12422ff510 replace defines with static constexpr declarations 2024-01-21 15:53:35 -05:00
0d8f549e33 remove sphere_flag and replace with radius_flag and omega_flag as needed 2024-01-19 12:50:31 -05:00
dc9140dfa8 modernize 2023-10-27 03:19:11 -04:00
217be1f274 improve error message handling for code shared between fix nvt/nph/npt 2023-04-24 17:32:47 -04:00
3a55a374a9 address compilation failures 2022-12-31 22:10:32 -05:00
2479624a76 Added psllod keyword to toggle between SLLOD and p-SLLOD 2022-12-31 16:47:13 -07: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
67f6adebb7 whitespace fixup with dynamic casts 2022-09-10 13:26:38 -04:00
43726c020a Merge pull request #3394 from crackboy88/improve-errors
Improve errors
2022-08-15 15:47:47 -04:00
d047053473 improved some error messages in compute_msd,fix_indent and fix_nh.cpp 2022-08-15 10:51:29 +08:00
6873ebb17a LAMMPS code clinic 2022 project 2: Replacing find_compute with get_compute_by_id where possible. 2022-08-09 14:01:49 -04:00
899fa8166a Initial modifications LAMMPS code clinic 2022 2022-08-08 17:31:42 -04:00
200b4f13c7 use dynamic cast instead of c-style cast when casting from base type to derived class 2022-04-10 18:18:06 -04:00
39b316729b use auto type when assigning from cast or using new 2022-04-10 18:16:36 -04:00
f5ebfbf90b refactor thermo output processing and add new yaml thermo style 2022-03-19 16:39:09 -04:00
41a3eccd1c apply utils::logical() to more commands 2021-09-21 07:48:50 -04:00
fa7ae99511 Fixed bug in fix np[ht] with runstyle respa 2021-07-18 12:48:05 -03: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
fe063b27c7 silence compiler warnings 2021-04-23 15:51:16 -04:00
183b30abd7 use strmatch() consistently to detect respa and verlet runstyles with optional suffix 2021-03-30 18:30:22 -04:00
a5563e8d04 simplify using utils::strdup() 2021-03-18 20:56:04 -04:00
0ae38fb2ea Fix return values of extract for pressure variables 2021-03-01 09:48:31 +10:00
95a4ac157b update a few more comments 2021-02-10 14:27:17 -05:00
bca3164fc4 fix whitespace issues 2021-01-26 18:39:02 -05:00
6e3b9307a4 remove ecouple variable from Fix 2021-01-21 11:56:33 -07:00
182eb35f1a changes to fixes that use THERMO_ENERGY 2021-01-21 11:32:11 -07:00
382ade15fe more consistent formatting of for/while loops and if statements 2020-12-30 09:09:08 -05:00
adf74b3a22 use https://lammps.sandia.gov based URLs consistently 2020-10-21 16:45:30 -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
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
20a9794b92 fix permissions 2020-06-10 11:26:08 -04:00
2f5a8d0937 remove trailing whitespace 2020-06-09 17:28:26 -04:00
9b99ad271f Adding new ptemp keyword to fix nh 2020-05-11 14:34:00 -06:00
88bf503451 Merge from master 2020-04-30 08:17:05 -06:00
5f68f3006f replace Fix::box_change_xxx variables with Fix::box_change bitmask and add check to Domain::init()
This allows a more specific tracking of whether multiple fixes are
modifying the same box parameter and error out in that case.
2020-02-08 15:12:26 -05:00
d8ef5f6991 added internal fix dummy command to enable more control of fix ordering 2019-11-05 12:57:34 -07:00
7967cb1133 put implementation header first to avoid issues with mpi.h and lmptype.h with OpenMPI 2019-07-03 06:16:16 -04:00