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
|
|
|
|