3701d330c4
add unit test for new library function and settings
2024-05-24 23:03:53 -04:00
0d8f549e33
remove sphere_flag and replace with radius_flag and omega_flag as needed
2024-01-19 12:50:31 -05:00
46768d0ff3
Correctly build argv with nullptr at the end
2023-11-08 09:18:58 -07:00
fc365d3d5f
Merge branch 'develop' into always-exceptions
2023-06-22 10:53:36 -04:00
5d4f9abf5b
add unit tests for c-library interface and plain python module
2023-06-08 15:15:28 -04:00
5f4a80d41f
remove obsolete unittest code specific to handling the case of lammps exceptions disabled
2023-04-16 12:34:47 -04:00
fa9062a87e
make Force::special_lj and Force::special_coul accessible through the library interface
2023-03-15 18:39:32 -04:00
15bf4a281d
documentation corrections
2022-11-17 11:48:13 -05:00
096a70363b
allow to check if Kokkos is active and retrieve number of threads and gpus
2022-11-17 11:31:34 -05:00
74705c8111
port error check test from fortran wrapper to c-library interface test
2022-10-04 09:27:52 -04:00
ab899861d5
apply clang-format
2022-09-10 03:21:28 -04:00
a7084c8fdb
Merge remote-tracking branch 'origin/develop' into kokkos_unittests
2022-02-07 13:04:59 -05:00
7ee7d0c570
apply clang-format
2022-01-30 17:18:40 -05:00
62b236a7cd
Use platform::path_join in unittest tree and remove redundant code
2021-11-22 15:34:23 -05:00
2fba6b44e4
use '= default' when default functions should be used
2021-10-13 23:59:05 -04:00
8c3924352d
only check for meminfo[2] on platforms we know to be supported
2021-09-08 23:02:56 -04:00
0f7a41590d
fix bug in lammps_reset_box() no-box check and error out when atoms exist
2021-05-13 12:46:43 -04:00
7244ccf8b1
update format
2021-04-03 11:04:02 -04:00
cfc39b5a73
complete porting python neighborlist test to c-library version
2021-04-03 10:44:07 -04:00
1a48667026
add minimal test for neighbor list functions
2021-04-03 10:25:14 -04:00
cea4298946
silence LAMMPS output, if requested
2021-04-03 10:25:03 -04:00
47b305b558
with the new llvm based intel compiler getrusage.mu_maxrss is zero
2021-03-15 00:07:57 -04:00
d49f021c8b
silence compiler warnings
2021-01-18 14:40:23 -05:00
849e5ffee2
add option to extract newton_bond/newton_pair settings
2020-11-25 16:51:37 -05:00
7450d9547a
add tests for accessing world/universe size and rank with different MPI settings
2020-11-19 13:52:26 -05:00
ed885847a3
expose document and test more atom style property flags
2020-10-12 20:24:21 -04:00
9ea38c545d
update global properties tests
2020-10-06 22:43:42 -04:00
c626208c80
avoid failure with Intel compilers
2020-09-27 19:05:58 -04:00
54b9e60dd0
reformat
2020-09-20 14:06:40 -04:00
9cdde97863
correct test logic
2020-09-18 22:37:54 -04:00
1afb355d09
Limit int types to LAMMPS_INT and LAMMPS_INT64
...
Keep LAMMPS_TAGINT and LAMMPS_BIGINT internal to LAMMPS.
An external caller now only needs to distinguish between 32 and 64bit
integers, doubles and C strings.
2020-09-18 12:05:37 -04:00
c06d5f7fb7
Fix type cast
2020-09-17 16:37:25 -04:00
d88810f13a
Add datatype introspection methods to library
...
Adds lammps_extract_atom_datatype and lammps_extract_global_datatype functions
to allow extracting type information of properties.
2020-09-17 13:43:43 -04:00
a3765eb75b
Merge branch 'master' into library-progguide
2020-09-15 18:58:29 -04:00
2f3c916a57
add unit test for lammps_memory_usage()
2020-09-15 12:29:03 -04:00
bc31486fd1
start tests for lammps_extract_global()
2020-09-15 09:27:07 -04:00
d27d4912af
test lammps_extract_settings()
2020-09-14 20:53:19 -04:00
1e54a9fcf1
complete tests for extracting and resetting the box
2020-09-14 20:27:29 -04:00
b455812434
more tests for properties and configuration
2020-09-14 14:25:17 -04:00
2438f38afc
skip test if atom style is missing
2020-09-13 17:12:21 -04:00
a2fc33b419
update c-library tests
2020-09-13 17:02:32 -04:00
39255da6ae
use common main function that allows handling of common command line flags.
2020-09-13 16:46:59 -04:00
e813e2d30a
add minimal unit test for lammps_get_mpi_comm() API
2020-09-09 22:12:47 -04:00
c50a82af78
apply consistent naming scheme for tester source files and executables
2020-09-01 20:16:39 -04:00