1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-12-22 20:36:01 +01:00

Fixed typo in qmckl.org and added a rule to use Python3 in init.el. #15

This commit is contained in:
vijay gopal chilkuri 2021-05-25 13:07:24 +05:30
parent 42def4a977
commit 9479ec51ff
3 changed files with 10 additions and 6 deletions

View File

@ -208,9 +208,9 @@ cppcheck --addon=cert --enable=all *.c &> cppcheck.out
value in the ~qmckl_numprec_struct~ contained in the context. value in the ~qmckl_numprec_struct~ contained in the context.
Because of these intricate dependencies, a private header is Because of these intricate dependencies, a private header is
created, containing the ~qmckl_numprec_struct~. This header is created, containing the ~qmckl_numprec_struct~. This header is
included in the private header which defines the type of the included in the private header file which defines the type of the
context. Headers for private types are suffixed by =_private_type.h= context. Header files for private types are suffixed by =_private_type.h=
and headers for private functions, =_private_func.h=. and header files for private functions are suffixed by =_private_func.h=.
Fortran interfaces should also be written in the =*_f_func.f90= file, Fortran interfaces should also be written in the =*_f_func.f90= file,
and the types definitions should be written in the =*_f_type.f90= file. and the types definitions should be written in the =*_f_type.f90= file.
@ -220,8 +220,8 @@ cppcheck --addon=cert --enable=all *.c &> cppcheck.out
| =*_func.h= | Public | Function definitions | | =*_func.h= | Public | Function definitions |
| =*_private_type.h= | Private | Type definitions | | =*_private_type.h= | Private | Type definitions |
| =*_private_func.h= | Private | Function definitions | | =*_private_func.h= | Private | Function definitions |
| =*fh_type.f90= | Public | Fortran type definitions | | =*_f_type.f90= | Public | Fortran type definitions |
| =*fh_func.f90= | Public | Fortran function definitions | | =*_f_func.f90= | Public | Fortran function definitions |
** Low-level functions ** Low-level functions
@ -245,6 +245,7 @@ cppcheck --addon=cert --enable=all *.c &> cppcheck.out
the =context= variable. the =context= variable.
# TODO : We need an identifier for impure functions # TODO : We need an identifier for impure functions
# Suggestion (VJ): using *_unsafe_* for impure functions ?
** Numerical precision ** Numerical precision

View File

@ -815,7 +815,7 @@ assert(rep - 318.2309879436158 < 1.e-10);
} }
#+end_src #+end_src
**✸ Compute file names *** Compute file names
#+begin_src emacs-lisp #+begin_src emacs-lisp
; The following is required to compute the file names ; The following is required to compute the file names

View File

@ -51,6 +51,9 @@
(makefile . t) (makefile . t)
)) ))
;; Use python3 instead of python2.7
(setq org-babel-python-command "python3")
(add-hook 'org-babel-after-execute-hook 'org-display-inline-images) (add-hook 'org-babel-after-execute-hook 'org-display-inline-images)
'(indent-tabs-mode nil) '(indent-tabs-mode nil)