Commit Graph

44278 Commits

Author SHA1 Message Date
be5602c44f apply clang-format 2025-06-28 02:01:32 -04:00
e78d85725b convert to internal linkage with anonymous namespace 2025-06-28 02:01:23 -04:00
1b36451f6a modernize. turn static inline into just inline 2025-06-27 23:58:11 -04:00
d168de00db silence compiler warnings 2025-06-27 23:57:37 -04:00
0c6ce8f23c fix typo 2025-06-27 23:27:44 -04:00
3ffe858a8b remove dead code and protect from neighbor list with special neighbors
this addresses most of issue #4639
2025-06-27 23:25:15 -04:00
c279d194dc be paranoid about invalid molecule templates 2025-06-27 22:47:50 -04:00
6b58058bca memory is accumulated in doubles not ints 2025-06-27 22:38:48 -04:00
0b73966a23 avoid unneeded copies by using const references where allowed 2025-06-27 22:36:23 -04:00
5cecfb5c4d use explicit type cast 2025-06-27 22:20:41 -04:00
d2d613c8b4 bugfix: incorrect application of abs() to doubles
@jtclemm this looks like a real bug.
Can you please check how much of an impact this change has?
2025-06-27 22:20:32 -04:00
8ddd474145 use qualified auto, make implicit type casts explicit 2025-06-27 22:13:44 -04:00
a8fe7e9252 modernize 2025-06-27 22:13:16 -04:00
3dd0971aeb update unit test reference 2025-06-27 22:06:09 -04:00
888543ce6d improve loopup accuracy 2025-06-27 22:05:40 -04:00
58e67e95f8 Merge remote-tracking branch 'github/develop' into static-analysis-updates 2025-06-27 21:48:40 -04:00
e41fb67903 update unit tests for changes to tabulated coulomb 2025-06-27 21:48:03 -04:00
a8d4666233 more accurate processing of coulomb tables through explicit type casts 2025-06-27 21:47:53 -04:00
575411c92c Merge pull request #4580 from stanmoore1/kk_update_4.6.1
Update Kokkos library in LAMMPS to v4.6.1
2025-06-27 15:05:16 -04:00
f1d19c96cb Merge branch 'develop' of github.com:lammps/lammps into kk_update_4.6.1 2025-06-27 09:50:48 -06:00
8095b9eec0 use qualified auto 2025-06-26 14:49:56 -04:00
bf1ad04555 don't use floating point as boolean 2025-06-26 14:49:47 -04:00
4a58be05fa simplify 2025-06-26 14:42:13 -04:00
f763420c53 use qualified auto 2025-06-26 01:06:27 -04:00
fe7bdf5941 make destructor virtual 2025-06-26 01:06:16 -04:00
ed279cb9f9 fix up more cases where floating point numbers were used as boolean 2025-06-26 00:59:02 -04:00
5ad24fc733 restore old version and add comment why it cannot be modernized 2025-06-26 00:22:59 -04:00
4309666fa2 remove exception qualifier 2025-06-26 00:11:29 -04:00
3c13eebcb2 must use override instead of virtual 2025-06-25 23:56:25 -04:00
e24b329e1b avoid unnecessary string copies as parameters 2025-06-25 23:51:22 -04:00
3e9560190c don't use floating point numbers as booleans 2025-06-25 23:48:06 -04:00
7597a227f4 modernize: replace typedef with using, use = default for default members 2025-06-25 23:39:38 -04:00
2a3afae3ff modernize: use range based loop and .data() of containers 2025-06-25 23:39:03 -04:00
ad8d722c68 use C++11 style initializer 2025-06-25 23:19:08 -04:00
1906444a1d use utils::inumeric() for integers and use qualified auto 2025-06-25 23:16:17 -04:00
de46b3b8bf modernize in colvars package 2025-06-25 23:11:26 -04:00
e9b5e55f18 used .data() to access underlying raw data of container 2025-06-25 20:22:30 -04:00
96d1704b8e need another epsilon relaxation 2025-06-25 20:21:23 -04:00
9cc2638c91 modernize code 2025-06-25 20:02:41 -04:00
b093094d5e avoid copying vectors as arguments and pass a const reference instead 2025-06-25 19:57:05 -04:00
7d86d7f89a use 'const int' instead of 'int const' to be consistent with the rest of LAMMPS 2025-06-25 19:56:59 -04:00
202aeaf1a5 remove redundant return statements at the end of functions returning void 2025-06-25 19:46:46 -04:00
fce4006fda address minor memory management issues 2025-06-25 19:46:15 -04:00
6934a31878 relax epsilon again to pass test on macOS 2025-06-25 19:30:19 -04:00
cb9b0cdaf2 update unit test and its epsilon due to removal of single precision math in pair style 2025-06-25 19:01:18 -04:00
c1665cd378 convert to double directly 2025-06-25 18:50:08 -04:00
03067d0059 promote constants to double to avoid float/double conversions 2025-06-25 18:47:23 -04:00
f6befb18ae follow LAMMPS programming style more closely 2025-06-25 18:41:26 -04:00
5711acc9ef avoid float/double conversions but convert directly to double 2025-06-25 18:41:08 -04:00
dcd521e9c6 fix static code analysis issues in Info class 2025-06-25 12:43:05 -04:00