Commit Graph

44055 Commits

Author SHA1 Message Date
d95d97db28 remove dead code, avoid uninitialized access 2025-06-15 05:25:19 -04:00
a6b30c35ac use more obvious flow of control that does not confuse static code analysis 2025-06-15 05:24:37 -04:00
7fb930daed start adding tests for JSON format molecule files 2025-06-15 00:00:59 -04:00
72538fbb84 warn about inconsistent units only during the first pass reading the file 2025-06-14 23:36:20 -04:00
97d09c2ec4 update changelog 2025-06-14 19:14:01 -04:00
4bc5bc3d18 update label only when needed 2025-06-14 19:09:53 -04:00
c5c1f47c20 move redundant code to find pointer to main widget to helper function 2025-06-14 19:04:43 -04:00
90df96b16f fix bugs detected by GitHub Copilot 2025-06-14 17:33:06 -04:00
7dc4e17e0c fix compilation with MPI STUBS 2025-06-14 12:59:07 -04:00
2d5f02a398 add lammps_add_molecule API to the C-library interface and python/fortran module 2025-06-14 12:46:36 -04:00
faa1dbc19d add missing type check and setting of ntypes for json data molecules 2025-06-14 11:48:11 -04:00
ea23af48d3 only perform size check if section is present 2025-06-14 11:47:24 -04:00
e2cd2a1a17 make error handling for checking the handle and its state more consistent 2025-06-14 11:18:12 -04:00
88f5ad160a use "const std::string &" instead of "const char *" it will be converted anyway 2025-06-14 11:16:06 -04:00
81bfcb80e7 add missing prototype 2025-06-14 11:15:05 -04:00
df1d70bf99 move up re-initialization one level to avoid uninitialized access 2025-06-14 09:05:29 -04:00
ced0d350f0 handling parsing exceptions and check for error creating a backup 2025-06-14 09:02:00 -04:00
4b32e58f90 make sure that all molecule members are initialized 2025-06-14 08:48:25 -04:00
1475111f7f use different ccache storage keys for gcc and clang 2025-06-14 06:10:47 -04:00
848ef74459 download sphinx_toolbox extension and enable "collaps" directive 2025-06-14 06:04:54 -04:00
5013b80434 Merge remote-tracking branch 'github/develop' into collected-small-changes 2025-06-14 05:20:05 -04:00
08d2856558 Merge pull request #4627 from Saric-Group/bugfix/bond-react-peratom-mass
Fix segfault when masses are missing in post-reaction template in per-atom systems
2025-06-14 05:18:47 -04:00
2c9dac5505 Merge branch 'develop' into bugfix/bond-react-peratom-mass 2025-06-13 16:39:44 +02:00
3a628ce4b1 simplify by returning new variable index in creator function and avoid calling finder 2025-06-13 04:37:09 -04:00
c5920eeb8d stop installing components from the downloaded pace library 2025-06-13 03:30:33 -04:00
5b8c505c2d only strip debug info 2025-06-13 02:19:01 -04:00
c79a1a6bed flag as development version 2025-06-13 02:18:35 -04:00
0d2f47ddd4 Merge pull request #4613 from akohlmey/next_release
Set version date for next feature release
patch_12Jun2025
2025-06-13 02:08:04 -04:00
336bb4622d add a few missing version tags 2025-06-13 00:08:05 -04:00
380ad17cf3 Merge branch 'develop' into next_release 2025-06-13 00:01:50 -04:00
949bac6b4a Merge pull request #4614 from akohlmey/collected-small-fixes
Collected small changes and fixes
2025-06-12 23:59:06 -04:00
66684deb9f Merge pull request #4600 from akohlmey/molecule-refactor-for-json
Refactor Molecule class to add support for JSON format molecule files
2025-06-12 22:22:39 -04:00
550048f458 Merge branch 'develop' into molecule-refactor-for-json 2025-06-12 21:21:38 -04:00
37b02a27fa improve error messages 2025-06-12 21:21:14 -04:00
f389b6676b make inconsistent units an error; special case: "real" and "metal" are compatible 2025-06-12 21:20:52 -04:00
f9de296ed1 make "coords" optional and infer natoms from "types" instead 2025-06-12 21:19:32 -04:00
a9c5d095e4 Merge pull request #4621 from akohlmey/plugin-add-run-min-style
Add support for run and minimize style plugins and refactor plugin handling to become global
2025-06-12 20:35:15 -04:00
2d10754930 Merge pull request #4624 from ethan-puyaubreau/cuda-preset-fix
Fix GPU architecture in CUDA preset for Kokkos
2025-06-12 19:41:21 -04:00
97b85d34f2 Fix GPU architecture in CUDA preset for Kokkos 2025-06-12 16:02:38 -04:00
9b195d2109 Merge branch 'develop' into molecule-refactor-for-json 2025-06-12 14:23:32 -04:00
db835d1ec5 add false positive 2025-06-12 14:23:25 -04:00
285fffa98e Merge pull request #4619 from lammps/python-wrapper-doc
clarify python and variable doc pages
2025-06-12 13:29:31 -04:00
ed1d49cc16 Merge branch 'python-wrapper-doc' of github.com:lammps/lammps into python-wrapper-doc 2025-06-12 11:48:45 -04:00
db22bdc7b9 rewrap doc source 2025-06-12 11:48:37 -04:00
349def92d2 remove superfluous test 2025-06-12 11:26:08 -04:00
674500781f add minimal documentation for the JSON molecule file format 2025-06-12 11:20:02 -04:00
4097733b52 small tweaks 2025-06-12 11:19:42 -04:00
dd30b5a258 add tool to regularize/reformat/reindent JSON files 2025-06-12 11:19:16 -04:00
2eed658d85 Corrected what I think is a typo
There is no way to evaluate a variable with iv_ prefix.
2025-06-12 15:57:59 +02:00
1db87d827d documentation updates for JSON format in general and molecule files in particular 2025-06-12 07:49:20 -04:00