From 6c616977f760d52eabb377bc223078e33ad68844 Mon Sep 17 00:00:00 2001
From: scemama Table of Contents
-
-
stdint.h
Memory allocation of structures can be facilitated by using the @@ -401,8 +401,8 @@ The maximum string size for the filenames is 4096 characters.
All calls to TREXIO are thread-safe. @@ -410,10 +410,10 @@ TREXIO front end is modular, which simplifies implementation of new back ends.
TREXIO_INVALID_NUM |
12 | -'Invalid exit code' | +'Invalid dimensions' |
TREXIO_NUM_ALREADY_EXISTS |
13 | -'This variable already exists' | +'Variable already exists' |
The C
templates that correspond to each of the abovementioned functions can be found below.
@@ -1493,8 +1493,8 @@ The basic (non-suffixed) API call on dimensioning variables deals with single pr
The Fortran
templates that provide an access to the C
API calls from Fortran.
@@ -1580,8 +1580,8 @@ These templates are based on the use of iso_c_binding
. Pointers hav
This section concerns API calls related to datasets. @@ -1650,8 +1650,8 @@ This section concerns API calls related to datasets.
The C templates that correspond to each of the abovementioned functions can be found below. @@ -1909,8 +1909,8 @@ The basic (non-suffixed) API call on datasets deals with double precision (see T
The Fortran
templates that provide an access to the C
API calls from Fortran
.
@@ -1997,8 +1997,8 @@ These templates are based on the use of iso_c_binding
. Pointers hav
The function below adapts the original C-based trexio_open
for Fortran.
@@ -2027,7 +2027,7 @@ Note, that Fortran interface calls the main TREXIO
API, which is wr
#define $GROUP$_GROUP_NAME "$group$" @@ -340,8 +340,8 @@ for the JavaScript code in this tag.
typedef struct trexio_hdf5_s { @@ -356,8 +356,8 @@ for the JavaScript code in this tag.
trexio_exit_code
@@ -440,8 +440,8 @@ for the JavaScript code in this tag.
trexio_exit_code
@@ -563,8 +563,8 @@ for the JavaScript code in this tag.
trexio_exit_code
@@ -698,7 +698,7 @@ for the JavaScript code in this tag.
$group_num$
attribute$group_dset$
dataset$group_num$
attribute$group_dset$
datasetThe "file" produced by the text back end is a directory with one @@ -359,8 +359,8 @@ The file is written when closed, or when the flush function is called.
typedef struct $group$_s { @@ -376,8 +376,8 @@ The file is written when closed, or when the flush function is called.
typedef struct rdm_s { @@ -403,8 +403,8 @@ The file is written when closed, or when the flush function is called.
trexio_exit_code
@@ -509,8 +509,8 @@ The file is written when closed, or when the flush function is called.
trexio_exit_code
@@ -534,8 +534,8 @@ The file is written when closed, or when the flush function is called.
$group$_t* @@ -706,8 +706,8 @@ trexio_text_read_$group$ (trexio_text_t*
trexio_exit_code @@ -766,8 +766,8 @@ trexio_text_read_$group$ (trexio_text_t*
Memory is allocated when reading. The following function frees memory. @@ -803,8 +803,8 @@ Memory is allocated when reading. The following function frees memory.
$group_num$
attribute$group_num$
attributetrexio_exit_code
@@ -866,8 +866,8 @@ Memory is allocated when reading. The following function frees memory.
$group_dset$
dataset$group_dset$
dataset
The group_dset
array is assumed allocated with the appropriate size.
@@ -964,12 +964,12 @@ The group_dset
array is assumed allocated with the appropriate size
rdm_t* trexio_text_read_rdm(trexio_text_t* const file);
@@ -1064,8 +1064,8 @@ The group_dset
array is assumed allocated with the appropriate size
trexio_exit_code trexio_text_flush_rdm(trexio_text_t* const file);
@@ -1108,8 +1108,8 @@ The group_dset
array is assumed allocated with the appropriate size
Memory is allocated when reading. The followig function frees memory. @@ -1145,8 +1145,8 @@ Memory is allocated when reading. The followig function frees memory.
The one_e
array is assumed allocated with the appropriate size.
@@ -1212,8 +1212,8 @@ The one_e
array is assumed allocated with the appropriate size.
two_e
is a sparse data structure, which can be too large to fit
@@ -1321,7 +1321,7 @@ file for each sparse float structure.