mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-23 04:43:57 +01:00
make consistent hierarchy in org-mode files
This commit is contained in:
parent
b656917323
commit
7e55933fea
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#+Title: Templator for HDF5 backend
|
#+Title: Templator for HDF5 back end
|
||||||
|
|
||||||
** Constant file prefixes (not used by generator) for HDF5 :noxport:
|
* Constant file prefixes (not used by the generator) :noexport:
|
||||||
|
|
||||||
#+NAME:header
|
#+NAME:header
|
||||||
#+begin_src c
|
#+begin_src c
|
||||||
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* HDF5 back end
|
||||||
** Template for HDF5 definitions
|
** Template for HDF5 definitions
|
||||||
|
|
||||||
#+begin_src c :tangle def_hdf5.c
|
#+begin_src c :tangle def_hdf5.c
|
||||||
@ -48,7 +48,6 @@
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
** Template for HDF5 structures
|
** Template for HDF5 structures
|
||||||
|
|
||||||
#+begin_src c :tangle struct_hdf5.h
|
#+begin_src c :tangle struct_hdf5.h
|
||||||
@ -65,7 +64,6 @@ trexio_exit_code trexio_hdf5_deinit(trexio_t* const file);
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
** Template for HDF5 init/deinit
|
** Template for HDF5 init/deinit
|
||||||
|
|
||||||
#+begin_src c :tangle basic_hdf5.c
|
#+begin_src c :tangle basic_hdf5.c
|
||||||
@ -143,7 +141,6 @@ trexio_exit_code trexio_hdf5_deinit(trexio_t* const file) {
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
** Template for HDF5 has/read/write a number
|
** Template for HDF5 has/read/write a number
|
||||||
|
|
||||||
#+begin_src c :tangle hrw_num_hdf5.h
|
#+begin_src c :tangle hrw_num_hdf5.h
|
||||||
@ -376,7 +373,7 @@ trexio_exit_code trexio_hdf5_has_$group$_$group_dset$(trexio_t* const file) {
|
|||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Constant file suffixes (not used by generator) for HDF5 :noxport:
|
* Constant file suffixes (not used by the generator) :noexport:
|
||||||
|
|
||||||
#+begin_src c :tangle suffix_hdf5.h
|
#+begin_src c :tangle suffix_hdf5.h
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#+Title: Templator for TEXT backend
|
#+Title: Templator for TEXT back end
|
||||||
|
|
||||||
* Constant file prefixes (not used by generator) :noxport:
|
* Constant file prefixes (not used by the generator) :noexport:
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq-local org-babel-default-header-args:c '((:comments . "both")))
|
(setq-local org-babel-default-header-args:c '((:comments . "both")))
|
||||||
@ -58,8 +58,7 @@
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* TEXT back end
|
||||||
* TEXT Back end
|
|
||||||
|
|
||||||
The "file" produced by the text back end is a directory with one
|
The "file" produced by the text back end is a directory with one
|
||||||
file per group.
|
file per group.
|
||||||
@ -216,7 +215,6 @@ trexio_exit_code trexio_text_unlock(trexio_t* const file) {
|
|||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
** Init/deinit functions (templated part)
|
** Init/deinit functions (templated part)
|
||||||
|
|
||||||
#+begin_src c :tangle basic_text_group.c
|
#+begin_src c :tangle basic_text_group.c
|
||||||
@ -567,7 +565,6 @@ trexio_exit_code trexio_text_has_$group_num$(trexio_t* const file) {
|
|||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
** Template for has/read/write the $group_dset$ dataset
|
** Template for has/read/write the $group_dset$ dataset
|
||||||
|
|
||||||
The ~dset~ array is assumed allocated with the appropriate size.
|
The ~dset~ array is assumed allocated with the appropriate size.
|
||||||
@ -978,9 +975,7 @@ trexio_text_buffered_write_rdm_two_e(trexio_t* const file,
|
|||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
:noexport:
|
* Constant file suffixes (not used by the generator) :noexport:
|
||||||
|
|
||||||
* Constant file suffixes :noxport:
|
|
||||||
|
|
||||||
#+begin_src c :tangle suffix_text.h
|
#+begin_src c :tangle suffix_text.h
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user