cc447a4933
Fix CMake
2022-04-13 10:44:58 +02:00
e43dde90d9
If nelec != nup+ndn, rewrite nelec
2022-03-31 13:55:50 +02:00
15c8e10184
Added test
2022-03-31 13:53:57 +02:00
8262b97104
Merge branch 'walkers' of github.com:TREX-CoE/trexio into walkers
2022-03-31 13:34:41 +02:00
0e75cb42b5
Add support for Python with statement
...
(see PEP 343 for more details)
2022-03-07 14:12:31 +01:00
999dd2065a
update documentation of the trexio_open function
2022-02-04 11:21:56 +01:00
246847b8d5
Merge branch 'master' into add-auto-backend
2022-01-25 16:24:34 +01:00
a65b22eebb
add TREXIO_AUTO back end for READONLY (r) mode
2022-01-25 14:59:51 +01:00
4e5bb5472a
remove merge leftovers
2022-01-25 13:17:49 +01:00
dcdac7dbf9
add metadata_unsafe attribute to trex.json; write it upon first unsafe trexio_open
2022-01-25 11:13:32 +01:00
8947f6caa7
Merge branch 'master' into add-unsafe-open-mode
2022-01-24 18:25:52 +01:00
f68a59417e
add overwriting functionality for unsafe mode [TEXT]
2022-01-24 16:13:27 +01:00
6fe5a1eaa7
[WIP] add delete_group functions and unsafe trexio_open mode
2022-01-24 10:10:16 +01:00
Evgeny Posenitskiy
f3d17da7b8
Merge branch 'master' into add-inquire-functionality
2022-01-21 12:33:32 +01:00
3e65a74676
better documentation for trexio_inquire function
2022-01-21 10:07:36 +01:00
4afd9cf2c1
Merge branch 'master' into add-inquire-functionality
2022-01-20 14:32:50 +01:00
23c1601442
add trexio_info function
2022-01-20 14:21:54 +01:00
8817a86cf6
Minor fixes
2022-01-20 11:13:28 +01:00
7cb1ca8d68
add missing checks for NULL pointers
2022-01-20 10:54:22 +01:00
73a8ef1925
Renamed backend -> back_end for consistency + Better type names, using types in functions.
2022-01-20 09:58:27 +01:00
0651ef66b6
Removed erroneous c_double
2022-01-19 22:03:25 +01:00
81c41c1ffc
Merge branch 'master' into iso_fortran_env
2022-01-19 19:45:58 +01:00
78c632f93f
Merge pull request #74 from TREX-CoE/build_fixes
...
Build fixes
2022-01-19 19:33:23 +01:00
e3d1026a41
iso_c_binding
2022-01-19 19:16:03 +01:00
16e9a815d2
Using iso_c_binding types in trexio_f.f90
2022-01-19 19:13:52 +01:00
550c5c3954
implement trexio_inquire function in front and back ends
2022-01-19 14:06:10 +01:00
Pablo Lopez Rios
57973eaca0
templator_front.org: undo two unnecessary changes
2022-01-19 10:38:01 +00:00
Pablo Lopez Rios
9e5d81b292
Use c_int64_t and c_int32_t as requested by Evgeny Posenitskiy.
2022-01-19 10:23:11 +00:00
Pablo Lopez Rios
0e9b9f1900
trexio_f: fix complaints from gfortran 11, including data type issues
...
This includes:
* Define kind of arguments of bind(C) procedures using the relevant C
types provided by iso_c_binding.
* Replaced "call exit(1)" with "error stop 1".
* Fixed a couple of implicit type conversions between 4-/8-byte
integers.
The first two fix compilation of the Fortran module with -std=f2008.
2022-01-18 16:58:07 +00:00
acff2de611
safer struct
2022-01-07 11:58:24 +01:00
64081e46ad
cppcheck fixes
2022-01-07 11:50:55 +01:00
98e303ffe2
Merge branch 'master' of github.com:TREX-CoE/trexio
2022-01-07 11:22:44 +01:00
3f4b8e2c7e
cppcheck fixes
2022-01-07 11:21:12 +01:00
dbb6f78397
cppcheck fixes
2022-01-07 11:01:23 +01:00
3787226fd1
overlapping changes
2022-01-07 09:58:03 +01:00
1f7386c4ca
Missing break in front end
2022-01-07 08:57:45 +01:00
fc08ee68ef
Merge branch 'master' of github.com:TREX-CoE/trexio
2022-01-05 14:05:25 +01:00
b65ec031dc
rename returned variable to n_int_read
2021-12-27 17:17:00 +01:00
4ef5386ae6
[cppcheck] fix some warnings
2021-12-27 16:29:26 +01:00
31ffa574ab
finish top-level Python API for sparse data
2021-12-27 14:00:46 +01:00
722c546113
documentation for sparse arrays
...
+ add safe functions to Fortran API
2021-12-24 12:40:23 +01:00
c18a330eab
[WIP] working read/write of sparse data in the low-level (SWIG) Python API
...
TODO: top-level Python API with error handling and truncation of output arrays when EOF is encountered (low-level API fills the remaining elements with garbase)
2021-12-24 11:49:54 +01:00
0a8aa638f6
fix double deallocation in text back end
2021-12-23 18:49:00 +01:00
c2376bf168
Fixed bug in text back-end when reading empt attributes
2021-12-23 18:21:17 +01:00
q-posev
31ccd27a0a
fix warnings on MacOS
2021-12-17 17:07:53 +01:00
2639b76a6e
optimize storage of indices depending on the size_max variable [TEXT]
2021-12-17 15:32:03 +01:00
daa5bdb3cc
(inout) buffer size instead if (out) [Fortran]
2021-12-17 13:33:27 +01:00
fafb155228
return the number of read elements if read_sparse reached EOF
2021-12-16 11:05:57 +01:00
2e99a14b6e
read dim variable of sparse dset to compress storage of indices in HDF5
2021-12-14 18:03:51 +01:00
b90abcc307
fix memory leak in the Fortran test
2021-12-13 09:59:27 +01:00