1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-10-31 11:13:56 +01:00
Commit Graph

873 Commits

Author SHA1 Message Date
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
eadc2c63ac fix leaking memory [front] 2021-06-14 16:27:08 +02:00
5553e9110e add top-level read/write functions that accept arrays of strings directly 2021-06-14 15:40:26 +02:00
ae32a02652 pass max_str_len parameter also to read group_str 2021-06-14 14:36:19 +02:00
be66feec16 introduce _assert and _strarray2str helper subroutines for Fortran 2021-06-14 11:55:17 +02:00
4287d76de2 introduce calls to trexio_assert and trexio_strarray2str subroutines 2021-06-14 11:54:10 +02:00
Evgeny Posenitskiy
cdf25b4162
Merge pull request #49 from TREX-CoE/index
Add index in files
2021-06-14 09:34:36 +02:00
2c4555b7bb C test adapted for string attributes [text] 2021-06-11 18:17:27 +02:00
a39784dc51 adapt the generator to populate string attributes 2021-06-11 18:16:42 +02:00
535d7ed019 enable operation on string attributes [text] 2021-06-11 18:15:30 +02:00
a40804be2e fix leaking memory and avoid allocation of empty blocks 2021-06-11 14:46:24 +02:00
b67d1c2cb2 adapt the generator for arrays of strings [text] 2021-06-11 14:45:42 +02:00
q-posev
f3abcdfd4b add HDF5 and Autotools to requirements 2021-06-11 09:55:37 +02:00
13b8d24108 [WIP] prepare new subloop triggers for the generator to properly read/free groups [text] 2021-06-10 16:35:38 +02:00
2b3e79054a [WIP] working pieces for read_dset_str [text] 2021-06-10 16:34:16 +02:00
65fe15b3e7 removed trex.json 2021-06-10 01:51:28 +02:00
bec752361c Index OK 2021-06-10 01:49:43 +02:00
1b504d92bf Merge branch 'master' into index 2021-06-10 00:32:20 +02:00
15a2386360 update json 2021-06-09 23:44:56 +02:00
5abac3fec2 [WIP] working write dset of strings, but with memory leak [text] 2021-06-09 18:10:59 +02:00
fe4a4fa99b Working on basis set 2021-06-09 16:56:02 +02:00
e8732c3611 print HDF5 version in the configure output 2021-06-09 13:57:11 +02:00
57b2b63902 add C preprocessor directive for memory reclaim call 2021-06-09 13:52:54 +02:00
aea68540c2 working tests [front,hdf5] 2021-06-08 16:13:11 +02:00
5c4782eb03 fix Fortran interface 2021-06-08 16:11:38 +02:00
842b0efaa8 use strncat instead of strcat 2021-06-08 14:59:03 +02:00
2e210bc212 bring back the max_str_len argument for read_ functions [hdf5] 2021-06-08 14:50:59 +02:00
57a83d7cf2 cleaning front end 2021-06-08 14:50:17 +02:00
0b4fe128df add h5 file from Fortran test to clean-local rule 2021-06-08 14:40:39 +02:00
4fd3c05d79 add test for truncating strings using max_str_len argument of read_ 2021-06-08 14:39:41 +02:00
36e85039d5 make file names consistent with the C test 2021-06-08 14:39:04 +02:00
3331cc0591 adapt tests to use max_str_len for a single string 2021-06-08 10:46:20 +02:00
f2c5a3a51b add max_str_len argument to read/write a single string 2021-06-08 10:45:43 +02:00
625cbc3d20 update gitignore 2021-06-08 09:25:07 +02:00
0b8ef9064a Merge branch 'master' into add-strings 2021-06-07 14:16:32 +02:00
Evgeny Posenitskiy
a9bc1fd44e
create actions.yml for CI on Ubuntu and MacOS (#38) 2021-06-07 14:05:41 +02:00
ba0f45d4aa adapt tests to assert-like behaviour 2021-06-07 11:17:02 +02:00
231fe479e7 inline with master branch 2021-06-07 11:01:37 +02:00
8fb44d585c fix tests 2021-06-04 18:42:52 +02:00
1ce1872916 fix missing things after merge 2021-06-04 18:42:35 +02:00
ea9ffaea43 Fix fortran tests 2021-06-04 18:14:45 +02:00
d57f2004ba Merge branch 'master' into add-strings 2021-06-04 18:09:26 +02:00
31bf17c66a Merge branch 'master' into evgeny 2021-06-04 17:30:51 +02:00
34478e366a resolve front end 2021-06-04 17:28:56 +02:00
1bfc8d0c6c fix typos 2021-06-04 17:02:14 +02:00
02d2561d73 add tests for string attributes 2021-06-04 15:36:56 +02:00
3082dbbaf3 [WIP] adapt generator for string attributes [front,hdf5] 2021-06-04 15:36:18 +02:00
5b1cf03aaf [WIP] add has/read/write functions for string attributes [front,hdf5] 2021-06-04 15:33:50 +02:00
4549276e86 Add trexio_set_one_based in fortran interface 2021-06-04 15:00:13 +02:00