1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-07-22 18:57:39 +02:00
Commit Graph

107 Commits

Author SHA1 Message Date
0bee7bb8d9 Moved popcount and trailz in private header 2022-05-29 11:24:51 +02:00
9186a9493f Adapt the tests to shifted MO indices 2022-05-23 16:02:45 +02:00
q-posev
9bbfc34ee5 Update unit tests to use get_int64_num 2022-04-29 12:17:38 +02:00
109f3ea41f Add tests for to_orbital_list_up_dn functions 2022-04-22 13:18:29 +02:00
7f16ade48f Add tests 2022-04-15 15:21:20 +02:00
17ea14f648 Test I/O of coefficients for two states 2022-04-15 11:42:27 +02:00
42ae31a4d1 Add coefficients to text back end and test 2022-04-14 16:35:32 +02:00
33838546c7 Merge branch 'master' into add-determinants 2022-04-13 16:56:31 +02:00
cc447a4933 Fix CMake 2022-04-13 10:44:58 +02:00
q-posev
f333c9a20f Fortran test determinants and minor changes 2022-04-12 16:36:04 +02:00
q-posev
722453688b Fix EOF detection for an arbitrary ranked dset 2022-04-12 11:48:21 +02:00
q-posev
4904de5674 Fix bug with broken data offset upon writing 2022-04-12 11:47:07 +02:00
q-posev
81c4283353 Add tests 2022-04-12 00:45:59 +02:00
15c8e10184 Added test 2022-03-31 13:53:57 +02:00
7a2a60f347 Use trexio int types in Fortran tests 2022-03-07 12:48:13 +01:00
246847b8d5 Merge branch 'master' into add-auto-backend 2022-01-25 16:24:34 +01:00
d9309f5ab2 modify some tests to use TREXIO_AUTO back end 2022-01-25 15:00:55 +01:00
8947f6caa7 Merge branch 'master' into add-unsafe-open-mode 2022-01-24 18:25:52 +01:00
82e7cd058b add overwriting functionality for unsafe mode [HDF5] 2022-01-24 16:15:31 +01:00
f68a59417e add overwriting functionality for unsafe mode [TEXT] 2022-01-24 16:13:27 +01:00
7ba6924a8a add unit tests for delete_group functionality 2022-01-24 10:12:44 +01:00
4afd9cf2c1 Merge branch 'master' into add-inquire-functionality 2022-01-20 14:32:50 +01:00
5e82e0fc57 add tests for trexio_info 2022-01-20 14:22:32 +01:00
78c632f93f
Merge pull request #74 from TREX-CoE/build_fixes
Build fixes
2022-01-19 19:33:23 +01:00
e9db0c66d4 add tests 2022-01-19 14:08:38 +01:00
Pablo Lopez Rios
12a7454c0c Fix cmake compilation.
This includes:
* Declare generated source files in include/ as GENERATED in
  TREXIO_DEVEL mode.
* Generate include/config.h with version components from project
  delcaration, and for good measure have src/templates_front/build.sh
  set version components to 0 if not present.
2022-01-18 14:04:00 +00:00
fafb155228 return the number of read elements if read_sparse reached EOF 2021-12-16 11:05:57 +01:00
ba758e991f improve tests 2021-12-14 17:46:04 +01:00
b90abcc307 fix memory leak in the Fortran test 2021-12-13 09:59:27 +01:00
9f5ee463e1 only shift indices that have been read to the buffer (EOF case) 2021-12-10 14:02:05 +01:00
7afb53be49 implement shift of sparse indices to be one-based in Fortran 2021-12-10 11:34:37 +01:00
2731b5dd6b add tests for I/O of floating point attributes 2021-12-09 16:23:22 +01:00
e00f3b106e working HDF5 I/O for sparse indices 2021-12-09 16:13:28 +01:00
e774cb6852 add read_size function to HDF5 back end 2021-12-09 14:10:51 +01:00
ddcfff0f83 add the unit test for HDF5 back end 2021-12-08 17:24:16 +01:00
46a381550e adapt Fortran test to proper indices for sparse data 2021-12-07 14:43:42 +01:00
1ad20c1cb9 add a test of reading a chunk that can reach EOF 2021-12-03 19:24:49 +01:00
1bb8ae5b67 unit testing for sparse data in C 2021-12-03 11:06:31 +01:00
7e83e6698d add Fortran test for reading sparse data size 2021-12-02 17:35:06 +01:00
f9fd18caa3 add assert to check the read values 2021-12-01 13:36:29 +01:00
c30c3a532c add Fortran interface for sparse data 2021-12-01 13:35:42 +01:00
83c926fd6b replace offset_data arg with pointer arithmetics 2021-12-01 09:56:31 +01:00
db4b66d81d [WIP] add C test for sparse I/O in text back end 2021-11-30 16:33:30 +01:00
72c355c7cc Top-level CMakeLists with subdirectories 2021-11-17 14:00:35 +01:00
e18dcd5c4a conditional HDF5 tests based on the trexio_has_backend function 2021-11-02 11:06:03 +01:00
c24484b86a adapt tests to optional HDF5 2021-11-01 11:57:03 +01:00
7459589701 adapt the tests to use basis_shell_num 2021-10-21 15:52:12 +02:00
db35b102ed fix tests broken due to new dimension of basis_nucleus_index 2021-10-19 10:22:08 +02:00
fb9c95bd61 add version attributes to the Fortran module 2021-10-08 13:55:56 +02:00
8ef0c1963f add unit tests in C for trexio_open errors 2021-09-22 16:43:18 +02:00