1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-11-04 05:03:58 +01:00
Commit Graph

81 Commits

Author SHA1 Message Date
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
9457a826d2 return error code from trexio_open [C, Fortran] 2021-09-22 14:50:22 +02:00
187b15ddd6 fix io_num tests 2021-09-22 11:41:29 +02:00
788f7e666d read single numerical attributes based on _isSet bool flag 2021-09-21 15:41:12 +02:00
2854d617d4 make python directory and adapt build process 2021-08-05 12:55:18 +03:00
60c28c1f3b rename python test and add temporary TODO 2021-08-04 14:13:23 +03:00
da5a990acc add memory-safe API for numerical datasets 2021-07-28 10:19:00 +02:00
58c6de9963 shift values in the basic_nucleus_index array 2021-06-23 16:51:33 +02:00
05eb291ed4 rename TREXIO files to execute tests in parallel 2021-06-22 17:57:34 +02:00
2ba109a404 add tests for open/close 2021-06-22 15:59:35 +02:00
5cc1d13c36 add C unit tests 2021-06-21 12:55:16 +02:00
c010331114 fix names and typos 2021-06-21 12:51:21 +02:00
91319ec3e8 ignore produced binary and .o test files 2021-06-21 12:49:59 +02:00
d4f0b731a5 add assert to read 2021-06-21 09:28:37 +02:00
dfa2604820 complete num attribute testing 2021-06-18 12:53:00 +02:00
fd424c2149 [WIP] unit testing for C API 2021-06-17 17:20:01 +02:00
ac45a937af Merge branch 'master' into add-strings 2021-06-15 11:49:42 +02:00
0909a128d2 minor cleaning in the C test 2021-06-15 11:26:22 +02:00
da188dbea0 add top-level read/write functions for single strings [fortran] 2021-06-15 11:26:03 +02:00
b92a15cce7 add top-level read/write functions for string arrays [fortran] 2021-06-15 10:20:01 +02:00
5553e9110e add top-level read/write functions that accept arrays of strings directly 2021-06-14 15:40:26 +02:00
4287d76de2 introduce calls to trexio_assert and trexio_strarray2str subroutines 2021-06-14 11:54:10 +02:00
2c4555b7bb C test adapted for string attributes [text] 2021-06-11 18:17:27 +02:00
2b3e79054a [WIP] working pieces for read_dset_str [text] 2021-06-10 16:34:16 +02:00
bec752361c Index OK 2021-06-10 01:49:43 +02:00
5abac3fec2 [WIP] working write dset of strings, but with memory leak [text] 2021-06-09 18:10:59 +02:00
aea68540c2 working tests [front,hdf5] 2021-06-08 16:13:11 +02:00