1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-18 17:03:43 +02:00
qmckl/src/qmckl.org

20 lines
443 B
Org Mode
Raw Normal View History

2021-03-09 01:16:23 +01:00
#+TITLE: Header files
#+SETUPFILE: ../docs/theme.setup
2021-03-05 03:45:30 +01:00
2021-03-09 01:16:23 +01:00
The =qmckl.h= header file has to be included in <<<C>>> codes when
QMCkl functions are used:
2020-10-16 13:58:05 +02:00
2021-03-09 01:16:23 +01:00
#+begin_src c :tangle none
#include "qmckl.h"
#+end_src f90
2021-03-07 00:58:17 +01:00
2021-03-05 03:45:30 +01:00
2021-03-09 01:16:23 +01:00
In <<<Fortran>>> programs, the =qmckl_f.f90= interface file should be
included in the source code using the library, and the Fortran codes
should use the ~qmckl~ module as
2020-10-22 01:24:14 +02:00
2021-03-09 01:16:23 +01:00
#+begin_src f90 :tangle none
use qmckl
#+end_src f90
2021-03-07 00:58:17 +01:00