Commit Graph

  • cb8d8eefe4 修改了lal_gran_hooke.cpp中resize函数的输入错误,避免幽灵粒子情况下的内存越界 gran_gpu tx258 2025-07-13 22:57:19 +08:00
  • 82f0d869bc lal_gran_hooke.cpp文件的resize函数的输入有bug,调整后可以正常运行幽灵粒子相关算例 tx258 2025-07-13 22:52:01 +08:00
  • 2774fc7b10 只修改了一个resize的数据内存空间重新分配的地方 tx258 2025-07-13 14:34:03 +08:00
  • ec60fcf1fe build(gpu): 添加CUDA调试支持并扩展编译选项 YangZhuo 2025-07-10 15:07:17 +08:00
  • 9978b23eef feat(granregion): 重构漏斗示例并添加两阶段仿真流程 tx258 2025-07-10 09:21:16 +08:00
  • 6dcfc82be5 feat(gpu/pair): 添加 Hooke 颗粒力模型的 GPU 加速支持 tx258 2025-07-07 14:37:56 +08:00
  • 5737eddfbf Fixing compilation errors pair surf granular granular-triangles jtclemm 2025-07-01 11:09:25 -06:00
  • c2c8f06511 remove accidentally included file maintenance Axel Kohlmeyer 2025-06-30 17:38:53 -04:00
  • 461051be95 fix up emitterutils source file in bundled yaml-cpp in ML-PACE for GCC 15+ Axel Kohlmeyer 2025-06-30 17:22:47 -04:00
  • 73b023cccf fix bug detected by static code analysis Axel Kohlmeyer 2025-06-30 15:27:33 -04:00
  • 63fcdb6e52 Merge pull request #4634 from akohlmey/static-analysis-updates develop Axel Kohlmeyer 2025-06-29 22:25:15 -04:00
  • cd44539429 modernize by using anonymous namespace Axel Kohlmeyer 2025-06-29 19:33:20 -04:00
  • 47332f8e46 no need to make member const Axel Kohlmeyer 2025-06-29 19:28:00 -04:00
  • fee96bc777 make double to bool/int/tagint conversions explicit Axel Kohlmeyer 2025-06-29 19:10:29 -04:00
  • b279ba9a40 follow one definition rule by moving functions into class definition Axel Kohlmeyer 2025-06-29 18:45:55 -04:00
  • 7546143ad3 bugfix for improper style class2/kk taken from PR 4593 Axel Kohlmeyer 2025-06-29 18:18:24 -04:00
  • 505365c80c recognize a couple more Windows build numbers Axel Kohlmeyer 2025-06-28 09:55:20 -04:00
  • 0c68c4d493 Merge pull request #4636 from wapisani/fix_bond_create_inter_intra Axel Kohlmeyer 2025-06-28 09:43:54 -04:00
  • 09cffd2df5 backport significant fixes from PR #4634 Axel Kohlmeyer 2025-06-28 06:32:56 -04:00
  • 3e12c3f773 flag move constructor and swap operator as noexcept for performance Axel Kohlmeyer 2025-06-28 05:21:25 -04:00
  • 7bc86899b3 type fixes and error message updates Axel Kohlmeyer 2025-06-28 05:20:49 -04:00
  • ac7013432b don't use double as boolean, use qualified auto Axel Kohlmeyer 2025-06-28 04:48:47 -04:00
  • 039fb94faa improve errors and apply clang-format Axel Kohlmeyer 2025-06-28 04:45:02 -04:00
  • 8c64b2090f process tilt parameters correctly and consistent with FixNH class Axel Kohlmeyer 2025-06-28 04:38:10 -04:00
  • 77417e2223 use correct type Axel Kohlmeyer 2025-06-28 04:37:24 -04:00
  • 2e4f29c900 use correct type and converions function Axel Kohlmeyer 2025-06-28 04:24:46 -04:00
  • 8dae514e03 use correct types Axel Kohlmeyer 2025-06-28 04:06:36 -04:00
  • 22a42446d3 tap_flag is integer and thus we should use utils::inumeric() Axel Kohlmeyer 2025-06-28 03:58:27 -04:00
  • 2968bfa8d9 nsvector_total should be an int Axel Kohlmeyer 2025-06-28 03:53:34 -04:00
  • 669f60b692 use qualified auto and avoid redundant types Axel Kohlmeyer 2025-06-28 03:51:09 -04:00
  • 1bdf30103f used correct type parser and make conversions explicit Axel Kohlmeyer 2025-06-28 03:50:51 -04:00
  • 4992caed95 more modernization of DIFFRACTION package Axel Kohlmeyer 2025-06-28 03:37:42 -04:00
  • f425f2ab26 modernize Axel Kohlmeyer 2025-06-28 03:30:10 -04:00
  • 309e374867 use utils::inumeric() for parsing integers, using qualified auto Axel Kohlmeyer 2025-06-28 03:19:17 -04:00
  • d5a344a5c8 modernize Axel Kohlmeyer 2025-06-28 03:18:52 -04:00
  • 481749dc35 modernize argument processing and error messages Axel Kohlmeyer 2025-06-28 03:05:43 -04:00
  • 14b1241db2 use utils::inumeric() for reading integer arguments Axel Kohlmeyer 2025-06-28 03:05:03 -04:00
  • 4d26bd5fd5 ndouble is an int Axel Kohlmeyer 2025-06-28 03:04:44 -04:00
  • 5fe4c9149f use qualified auto Axel Kohlmeyer 2025-06-28 03:04:33 -04:00
  • a24aeb3fc6 icut, jcut should be doubles Axel Kohlmeyer 2025-06-28 03:04:23 -04:00
  • 0cd4ea4d04 don't use doubles as boolean Axel Kohlmeyer 2025-06-28 02:34:58 -04:00
  • 8726deb9b6 newton_bond is int not double Axel Kohlmeyer 2025-06-28 02:34:39 -04:00
  • 46561f57bd use utils::inumeric() to parse integers Axel Kohlmeyer 2025-06-28 02:34:22 -04:00
  • aacc30c4d7 no benefit from declaring _tid const Axel Kohlmeyer 2025-06-28 02:33:55 -04:00
  • 2833b7adbd make cast to double explicit Axel Kohlmeyer 2025-06-28 02:33:38 -04:00
  • 11c4a8b49c use math.h function without std:: prefix Axel Kohlmeyer 2025-06-28 02:22:25 -04:00
  • c28869124b don't truncate cuberoot to single precision Axel Kohlmeyer 2025-06-28 02:22:09 -04:00
  • bd98354691 make cast to double precision explicit Axel Kohlmeyer 2025-06-28 02:17:25 -04:00
  • 109aec74ea remove one more implicit truncation of precision. update unit test again. Axel Kohlmeyer 2025-06-28 02:06:49 -04:00
  • 588ed11e85 avoid comparison with different signedness Axel Kohlmeyer 2025-06-28 02:01:48 -04:00
  • be5602c44f apply clang-format Axel Kohlmeyer 2025-06-28 02:01:32 -04:00
  • e78d85725b convert to internal linkage with anonymous namespace Axel Kohlmeyer 2025-06-28 02:01:23 -04:00
  • 1b36451f6a modernize. turn static inline into just inline Axel Kohlmeyer 2025-06-27 23:58:11 -04:00
  • d168de00db silence compiler warnings Axel Kohlmeyer 2025-06-27 23:57:37 -04:00
  • 0c6ce8f23c fix typo Axel Kohlmeyer 2025-06-27 23:27:44 -04:00
  • 3ffe858a8b remove dead code and protect from neighbor list with special neighbors Axel Kohlmeyer 2025-06-27 23:25:15 -04:00
  • c279d194dc be paranoid about invalid molecule templates Axel Kohlmeyer 2025-06-27 22:47:50 -04:00
  • 6b58058bca memory is accumulated in doubles not ints Axel Kohlmeyer 2025-06-27 22:38:48 -04:00
  • 0b73966a23 avoid unneeded copies by using const references where allowed Axel Kohlmeyer 2025-06-27 22:36:23 -04:00
  • 5cecfb5c4d use explicit type cast Axel Kohlmeyer 2025-06-27 22:20:41 -04:00
  • d2d613c8b4 bugfix: incorrect application of abs() to doubles Axel Kohlmeyer 2025-06-27 22:20:32 -04:00
  • 8ddd474145 use qualified auto, make implicit type casts explicit Axel Kohlmeyer 2025-06-27 22:13:44 -04:00
  • a8fe7e9252 modernize Axel Kohlmeyer 2025-06-27 22:13:16 -04:00
  • 3dd0971aeb update unit test reference Axel Kohlmeyer 2025-06-27 22:06:09 -04:00
  • 888543ce6d improve loopup accuracy Axel Kohlmeyer 2025-06-27 22:05:40 -04:00
  • 58e67e95f8 Merge remote-tracking branch 'github/develop' into static-analysis-updates Axel Kohlmeyer 2025-06-27 21:48:40 -04:00
  • e41fb67903 update unit tests for changes to tabulated coulomb Axel Kohlmeyer 2025-06-27 21:45:06 -04:00
  • a8d4666233 more accurate processing of coulomb tables through explicit type casts Axel Kohlmeyer 2025-06-27 21:42:00 -04:00
  • 575411c92c Merge pull request #4580 from stanmoore1/kk_update_4.6.1 Axel Kohlmeyer 2025-06-27 15:05:16 -04:00
  • 290aa116f5 Merge branch 'maintenance' of github.com:lammps/lammps into maintenance Axel Kohlmeyer 2025-06-27 14:51:47 -04:00
  • bda0e59177 backport KOKKOS fixes from upstream Axel Kohlmeyer 2025-06-27 14:51:39 -04:00
  • e139d935ab missed one conversion to general fix style Axel Kohlmeyer 2025-06-27 14:26:16 -04:00
  • 786f113d3e whitespace Axel Kohlmeyer 2025-06-27 14:24:11 -04:00
  • 6052744175 modernize error messages Axel Kohlmeyer 2025-06-27 14:21:42 -04:00
  • f1d19c96cb Merge branch 'develop' of github.com:lammps/lammps into kk_update_4.6.1 Stan Moore 2025-06-27 09:50:48 -06:00
  • 7b79382fa7 Update fix_bond_create.rst with inter/intra-molecular bonding info Will Pisani 2025-06-26 15:24:31 -05:00
  • a4121d44a2 Added molecule_keyword Will Pisani 2025-06-26 15:12:10 -05:00
  • d5e938f949 Added support for inter/intra-molecular bonding Will Pisani 2025-06-26 15:10:19 -05:00
  • 8095b9eec0 use qualified auto Axel Kohlmeyer 2025-06-26 14:49:56 -04:00
  • bf1ad04555 don't use floating point as boolean Axel Kohlmeyer 2025-06-26 14:49:47 -04:00
  • 4a58be05fa simplify Axel Kohlmeyer 2025-06-26 14:42:13 -04:00
  • f763420c53 use qualified auto Axel Kohlmeyer 2025-06-26 01:06:27 -04:00
  • fe7bdf5941 make destructor virtual Axel Kohlmeyer 2025-06-26 01:06:16 -04:00
  • ed279cb9f9 fix up more cases where floating point numbers were used as boolean Axel Kohlmeyer 2025-06-26 00:59:02 -04:00
  • 5ad24fc733 restore old version and add comment why it cannot be modernized Axel Kohlmeyer 2025-06-26 00:22:59 -04:00
  • 4309666fa2 remove exception qualifier Axel Kohlmeyer 2025-06-26 00:11:29 -04:00
  • 3c13eebcb2 must use override instead of virtual Axel Kohlmeyer 2025-06-25 23:56:25 -04:00
  • e24b329e1b avoid unnecessary string copies as parameters Axel Kohlmeyer 2025-06-25 23:51:22 -04:00
  • 3e9560190c don't use floating point numbers as booleans Axel Kohlmeyer 2025-06-25 23:48:06 -04:00
  • 7597a227f4 modernize: replace typedef with using, use = default for default members Axel Kohlmeyer 2025-06-25 23:39:38 -04:00
  • 2a3afae3ff modernize: use range based loop and .data() of containers Axel Kohlmeyer 2025-06-25 23:39:03 -04:00
  • ad8d722c68 use C++11 style initializer Axel Kohlmeyer 2025-06-25 23:19:08 -04:00
  • 1906444a1d use utils::inumeric() for integers and use qualified auto Axel Kohlmeyer 2025-06-25 23:16:17 -04:00
  • de46b3b8bf modernize in colvars package Axel Kohlmeyer 2025-06-25 23:11:26 -04:00
  • e9b5e55f18 used .data() to access underlying raw data of container Axel Kohlmeyer 2025-06-25 20:22:30 -04:00
  • 96d1704b8e need another epsilon relaxation Axel Kohlmeyer 2025-06-25 20:21:23 -04:00
  • 9cc2638c91 modernize code Axel Kohlmeyer 2025-06-25 20:02:41 -04:00
  • b093094d5e avoid copying vectors as arguments and pass a const reference instead Axel Kohlmeyer 2025-06-25 19:55:10 -04:00
  • 7d86d7f89a use 'const int' instead of 'int const' to be consistent with the rest of LAMMPS Axel Kohlmeyer 2025-06-25 19:54:35 -04:00
  • 202aeaf1a5 remove redundant return statements at the end of functions returning void Axel Kohlmeyer 2025-06-25 19:46:46 -04:00