From 68ab47646613444e2e88aadd53dd7117ece8c210 Mon Sep 17 00:00:00 2001 From: q-posev <45995097+q-posev@users.noreply.github.com> Date: Tue, 27 Sep 2022 11:56:12 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20TREX-CoE?= =?UTF-8?q?/trexio@34629c7d97bcd8f96a7339b2953dff4860eb31a9=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.html | 4 +- examples.html | 94 +++---- index.html | 4 +- templator_front.html | 602 +++++++++++++++++++++---------------------- templator_hdf5.html | 76 +++--- templator_text.html | 100 +++---- trex.html | 158 ++++++------ 7 files changed, 519 insertions(+), 519 deletions(-) diff --git a/README.html b/README.html index bb61880..5f42b47 100644 --- a/README.html +++ b/README.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +program print_energy @@ -416,8 +416,8 @@ One needs to read from the TREXIO file:
integer :: i, j, k, l, m @@ -432,8 +432,8 @@ One needs to read from the TREXIO file:
call getarg(1, filename) @@ -449,8 +449,8 @@ f = trexio_open (filename, 'r', TREXIO_HDF5
rc = trexio_read_nucleus_repulsion(f, E_nn)
@@ -464,8 +464,8 @@ f = trexio_open (filename, 'r', TREXIO_HDF5
rc = trexio_read_mo_num(f, n)
@@ -479,8 +479,8 @@ f = trexio_open (filename, 'r', TREXIO_HDF5
allocate( D(n,n), h0(n,n) )
@@ -492,8 +492,8 @@ W(:,:,:,:) = 0.d0
rc = trexio_has_mo_1e_int_core_hamiltonian(f) @@ -525,8 +525,8 @@ rc = trexio_read_rdm_1e(f, D)
Reading is done with OpenMP. Each thread reads its own buffer, and @@ -542,8 +542,8 @@ to be protected in the critical section when modified.
rc = trexio_has_mo_2e_int_eri(f) @@ -592,8 +592,8 @@ icount = BUFSIZE
rc = trexio_has_rdm_2e(f) @@ -637,8 +637,8 @@ icount = bufsize
When the orbitals are real, we can use @@ -684,8 +684,8 @@ E = E + E_nn
deallocate( D, h0, G, W )
@@ -699,12 +699,12 @@ E = E + E_nn
program test @@ -783,7 +783,7 @@ end
stdint.h
Memory allocation of structures can be facilitated by using the @@ -571,8 +571,8 @@ The maximum string size for the filenames is 4096 characters.
All calls to TREXIO are thread-safe. @@ -580,10 +580,10 @@ TREXIO front end is modular, which simplifies implementation of new back ends.
trexio_exit_code
@@ -6300,8 +6300,8 @@ This section concerns API calls related to Slater determinants.
The Fortran
templates that provide an access to the C
API calls from Fortran.
@@ -6458,8 +6458,8 @@ These templates are based on the use of iso_c_binding
. Pointers hav
def write_determinant_list(trexio_file: File, offset_file: int, buffer_size: int, determinants: list) -> None:
@@ -6783,8 +6783,8 @@ These templates are based on the use of iso_c_binding
. Pointers hav
This section contains general helper functions like trexio_info
.
@@ -6823,8 +6823,8 @@ into the corresponding int64_t
bitfield representation of the deter
trexio_exit_code trexio_info(void);
@@ -7055,8 +7055,8 @@ into the corresponding int64_t
bitfield representation of the deter
interface
@@ -7116,8 +7116,8 @@ into the corresponding int64_t
bitfield representation of the deter
def info():
@@ -7224,8 +7224,8 @@ into the corresponding int64_t
bitfield representation of the deter
The function below adapts the original C-based trexio_open
for Fortran.
@@ -7454,7 +7454,7 @@ two code are identical, i.e. if the assert
statement pass.
#define $GROUP$_GROUP_NAME "$group$" @@ -340,8 +340,8 @@ for the JavaScript code in this tag.
Polymorphism of the trexio_t
type is handled by ensuring that the
@@ -361,8 +361,8 @@ corresponding types for all back ends can be safely casted to
trexio_exit_code
@@ -482,8 +482,8 @@ corresponding types for all back ends can be safely casted to
trexio_exit_code
@@ -513,8 +513,8 @@ corresponding types for all back ends can be safely casted to
trexio_exit_code
@@ -618,8 +618,8 @@ corresponding types for all back ends can be safely casted to
trexio_exit_code
@@ -753,8 +753,8 @@ corresponding types for all back ends can be safely casted to
Sparse data is stored using extensible datasets of HDF5. Extensibility is required @@ -957,8 +957,8 @@ due to the fact that the sparse data will be written in chunks of user-defined s
trexio_exit_code
@@ -1156,8 +1156,8 @@ due to the fact that the sparse data will be written in chunks of user-defined s
trexio_exit_code
@@ -1284,8 +1284,8 @@ due to the fact that the sparse data will be written in chunks of user-defined s
Note: in early versions of the HDF5 library (v < 1.10) unlinking an object was not working as expected
@@ -1325,8 +1325,8 @@ Thus, any corrupted/lost file space will remain in the first file. The use of
Each array is stored in a separate HDF5 dataset due to the fact that determinant I/O has to be decoupled. @@ -1579,8 +1579,8 @@ Size specifies the number of data items (e.g. determinants) to process.
trexio_exit_code
@@ -1843,7 +1843,7 @@ Size specifies the number of data items (e.g. determinants) to process.
typedef struct $group$_s { @@ -368,8 +368,8 @@ The file is written when closed, or when the flush function is called.
Polymorphism of the trexio_t
type is handled by ensuring that the
@@ -389,8 +389,8 @@ corresponding types for all back ends can be safely casted to
bool
@@ -557,8 +557,8 @@ corresponding types for all back ends can be safely casted to
trexio_exit_code
@@ -580,8 +580,8 @@ corresponding types for all back ends can be safely casted to
trexio_exit_code
@@ -604,8 +604,8 @@ corresponding types for all back ends can be safely casted to
$group$_t* @@ -831,8 +831,8 @@ trexio_text_read_$group$ (trexio_text_t*
trexio_exit_code @@ -872,8 +872,8 @@ trexio_text_read_$group$ (trexio_text_t*
trexio_exit_code @@ -937,8 +937,8 @@ trexio_text_read_$group$ (trexio_text_t*
Memory is allocated when reading. The following function frees memory.
@@ -1007,8 +1007,8 @@ This function is called upon the non-successful exit from the trexio_text_
trexio_exit_code
@@ -1071,8 +1071,8 @@ This function is called upon the non-successful exit from the trexio_text_
The group_dset
array is assumed allocated with the appropriate size.
@@ -1168,8 +1168,8 @@ The group_dset
array is assumed allocated with the appropriate size
The group_dset
array is assumed allocated with the appropriate size.
@@ -1270,8 +1270,8 @@ The group_dset
array is assumed allocated with the appropriate size
trexio_exit_code
@@ -1345,8 +1345,8 @@ The group_dset
array is assumed allocated with the appropriate size
Each sparse array is stored in a separate .txt
file due to the fact that sparse I/O has to be decoupled
@@ -1636,8 +1636,8 @@ User provides indices and values of the sparse array as two separate variables.
trexio_exit_code
@@ -1665,8 +1665,8 @@ User provides indices and values of the sparse array as two separate variables.
Each array is stored in a separate .txt
file due to the fact that determinant I/O has to be decoupled
@@ -2106,7 +2106,7 @@ Size specifies the number of data items, e.g. determinants.
special
attribute is present in the type. Thi
means that the source code is not produced by the generator, but hand-written.
-As we expect our files to be archived in open-data repositories, we @@ -429,7 +429,7 @@ which have participated to the creation of the file, a list of authors of the file, and a textual description.
-