1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-09-27 12:01:01 +02:00
Commit Graph

235 Commits

Author SHA1 Message Date
12c2a3a014 update gitignore 2021-07-26 18:43:49 +02:00
8c6289a8ba build Python module using pythonic distutils 2021-07-26 18:43:15 +02:00
4faee98092 Merge branch 'master' into swig-python 2021-07-23 16:38:06 +02:00
578819afe7 do not propagate the local user name from config.h to trexio.h 2021-07-23 16:19:15 +02:00
2f876ef7cd write TREXIO version in the file if not done yet 2021-07-23 15:55:16 +02:00
856412f06a propagate package version and user name to trexio.h 2021-07-23 15:49:42 +02:00
836603fd32 do no wrap-up the code from back ends and private header 2021-07-20 14:22:54 +02:00
678f90f86a add a note on alternative way to re-define ill-defined constants 2021-07-20 12:31:21 +02:00
46eec89774 remove unsafe and unused file_name field from trexio_hdf5_s 2021-07-20 12:08:18 +02:00
ac28110696 add include guard to the trexio_private.h file 2021-07-20 12:06:44 +02:00
88e777f68b resolve complaint about undefined TREXIO_MAX_FILENAME_LENGTH and remove unused assert header 2021-07-20 11:36:23 +02:00
e06e0b3745 commented brute force patch for re-defining constants in the target language 2021-07-20 10:42:25 +02:00
9fa2bc2835 disable type casting in constant definitions to access them in the target language
required because SWIG cannot handle definitions with type casting
2021-07-20 10:39:05 +02:00
d527561440 add test of basic I/O for Python 2021-07-19 17:59:26 +02:00
79d374bdff [WIP] Python interface generated by SWIG 2021-07-19 17:58:50 +02:00
411334e2ee Merge branch 'master' into unit-testing 2021-06-22 14:46:39 +02:00
3bd730557c remove H5LDget_dset_dims to be compatible with HDF5 v.1.8.21 2021-06-22 12:21:25 +02:00
c8fd3ba045 remove redundant check of overwriting 2021-06-21 12:48:32 +02:00
07d2945333 rename TREXIO_NUM_ALREADY_EXISTS return code 2021-06-21 12:47:39 +02:00
ec0db01f0c Documentation in dist 2021-06-18 12:04:03 +02:00
q-posev
c9f639e0e8 fix compiler warning from MacOS 2021-06-17 20:20:46 +02:00
1a54b7fcf6 fix compiler warning for const pointers 2021-06-15 12:04:30 +02:00
ac45a937af Merge branch 'master' into add-strings 2021-06-15 11:49:42 +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
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
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
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
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
5abac3fec2 [WIP] working write dset of strings, but with memory leak [text] 2021-06-09 18:10:59 +02:00
57b2b63902 add C preprocessor directive for memory reclaim call 2021-06-09 13:52:54 +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
36e85039d5 make file names consistent with the C test 2021-06-08 14:39:04 +02:00
f2c5a3a51b add max_str_len argument to read/write a single string 2021-06-08 10:45:43 +02:00
231fe479e7 inline with master branch 2021-06-07 11:01:37 +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