2021-01-01 18:07:06 +01:00
|
|
|
#+TITLE: QCaml documentation
|
2021-01-28 00:34:26 +01:00
|
|
|
#+SETUPFILE: ../docs/theme.setup
|
2021-01-01 18:07:06 +01:00
|
|
|
|
2021-01-28 00:34:26 +01:00
|
|
|
#+ATTR_HTML: :width 400px
|
2021-01-04 23:52:36 +01:00
|
|
|
[[./chamo_bg.png]]
|
2021-01-28 00:34:26 +01:00
|
|
|
|
|
|
|
QCaml is an OCaml library for writing quantum chemistry codes.
|
2021-01-01 18:35:37 +01:00
|
|
|
It is written using literate programming with org-mode.
|
|
|
|
|
|
|
|
To use it interactively in the top level or in a Jupyter or org-mode
|
|
|
|
notebook, use
|
|
|
|
|
|
|
|
#+begin_src ocaml
|
|
|
|
#require "qcaml.top" ;;
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
This loads all the sub-libraries provided with QCaml, and installs
|
|
|
|
the pretty printers.
|
2021-01-28 00:34:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
*List of modules*
|
2021-01-01 18:35:37 +01:00
|
|
|
|
2021-01-04 23:52:36 +01:00
|
|
|
#+NAME: modules
|
|
|
|
#+begin_src sh :exports none
|
2021-01-01 18:07:06 +01:00
|
|
|
ls ../*/README.org \
|
2021-01-28 00:34:26 +01:00
|
|
|
| cut -d '/' -f 2
|
2021-01-01 18:07:06 +01:00
|
|
|
#+end_src
|
|
|
|
|
2021-01-04 23:52:36 +01:00
|
|
|
#+NAME: list
|
|
|
|
#+begin_src python :var modules=modules :exports results :results output drawer
|
|
|
|
for m in modules:
|
|
|
|
m = m[0]
|
|
|
|
m2 = m.replace("_"," ").capitalize()
|
|
|
|
print(f"- [[./{m}.html][{m2}]]")
|
|
|
|
#+end_src
|