Commit Graph

46 Commits

Author SHA1 Message Date
d406289a7a propagate changes from library.cpp/library.h to swig and plugin interface 2025-04-25 17:04:32 -04:00
e0322b96ec sync new library interface function across all interfaced derived packages 2025-03-24 04:33:27 -04:00
23045d62c5 add plugin wrapper and swig interface to new LAMMPS library functions 2025-01-27 14:29:15 -05:00
dce1231052 add a lammps_eval() function to the C library interface and all derived wrappers 2025-01-12 00:39:18 -05:00
e35a00258e add lammps_expand() to swig interface file 2024-09-20 03:56:36 -04:00
9d9e591b54 first try at implementing lammps_extract_atom_size() 2024-08-30 22:50:42 -04:00
f197ce3165 expose new introspection to library interfaces for consistency 2024-08-07 10:37:20 -04:00
3b853adaac add lammps_extract_pair_dimension and lammps_extract_pair to library interface 2024-07-16 01:38:21 -04:00
75a325751e implement support for lammps_map_atom() to plugin loader, Fortran module, swig 2024-05-25 07:01:28 -04:00
c7a3571974 add library interface to Variable::internal_set() 2024-01-24 03:59:29 -05:00
378ef4b23e require CMake version 3.16 2023-06-30 22:59:41 -04:00
62b388b48f consolidate LAMMPS data type constants and enums and use the same names 2023-06-10 19:23:11 -04:00
ce38bb988d add lammps_last_thermo support to swig, plugin and fortran interface 2023-06-08 19:12:59 -04:00
f015aaff84 compile time compatibility with swig 4.1 2023-05-10 16:54:05 -04:00
2620726c96 Update lammps.i 2023-01-26 09:27:13 +02:00
f9a004c752 synchronize comments and update formatting 2022-11-01 06:29:58 -04:00
f474b67c7c update swig interface file for recent changes to the library interface 2022-10-03 09:22:02 -04:00
ea0f31c997 Update SWIG library interface 2022-02-04 17:43:17 -05:00
3381f72b80 correctly handle Tcl stub library if available 2021-09-29 09:19:47 -04:00
b4307e2354 only need Tcl not Tk to compile Tcl swig wrapper 2021-09-29 09:01:01 -04:00
0286c3e2be treat Py_Finalize() more like MPI_Finalize()
this is done by
- not automatically calling Py_Finalize() when destructing a python interpreter
- adding wrapper functions so that the call to Py_Finalize() is hidden
  and skipped if Python support is no included.
- call the Python::finalize() wrapper in main.cpp (similar to the equivalent Kokkos function)
- add a wrapper of that call to the C library interface
2021-09-04 13:53:51 -04:00
fdc75dcf35 add lammps_gather_bonds() function to the C library interface 2021-07-26 18:32:06 -04:00
72744ea441 update swig interface file to the latest changes in the c library header 2021-07-21 12:08:19 -04:00
9a740a4a60 add lammps_kokos_finalize() support to various LAMMPS wrappers and document 2021-06-27 17:07:42 -04:00
228711f59b add GPU device query functions to library interface and its wrappers 2021-05-11 14:59:49 -04:00
b36cf85c31 update Swig interface definition file with added APIs. reorder to match library.h. 2021-05-06 20:50:21 -04:00
c7a10050c2 Merge pull request #2439 from akohlmey/collected-small-changes
Collected small changes for the next release
2020-10-22 17:23:49 -04:00
bc43865f45 need to look for Java Development components, not just JNI parts 2020-10-22 01:55:42 -04:00
9cdf6f1e8b more portability changes 2020-10-21 14:22:06 -04:00
d7a0971578 make python support more portable, require python3 2020-10-21 14:14:46 -04:00
53028b24d6 improve portability for building SWIG Tcl wrappers 2020-10-21 14:06:25 -04:00
ad50db1feb use a different/cleaner approach to build an extended Tcl shell 2020-10-20 18:53:29 -04:00
0547425482 a few more small fixes 2020-10-20 18:30:32 -04:00
6259b277df replace explicit clean-all target with added properties 2020-10-20 18:30:19 -04:00
fe7628f954 add check that that extension module is compiled before running example scripts 2020-10-20 18:29:43 -04:00
7db669df40 add support to also build an extended tcl shell as opposed to dynamically loading the extension 2020-10-20 18:29:16 -04:00
515f1d9ead make module search path commands consistent 2020-10-20 17:38:03 -04:00
eeaff55df7 SWIG support documentation update 2020-10-20 16:37:30 -04:00
bc1d325930 dmonstrate data access functions 2020-10-20 15:57:02 -04:00
3ad397dd60 implement some more data access functions and handle passing string buffers 2020-10-20 11:43:03 -04:00
6c826823fe update SWIG support readme 2020-10-20 11:42:23 -04:00
c891b9dca6 add simple main function for building a static Tcl shell executable 2020-10-19 01:01:27 -04:00
8c5ac3d49c add README file to SWIG tool 2020-10-19 01:01:06 -04:00
5a70ee8a40 make names of custom data functions consistent 2020-10-19 01:00:50 -04:00
97767d0a3c add some support functions to cast pointers and get values from pointers 2020-10-18 12:40:17 -04:00
eab5d68a09 move SWIG support to tools/swig folder 2020-10-18 08:19:20 -04:00