GM2Calc is hosted by Hepforge, IPPP Durham

Development

The development of GM2Calc takes place at github.

Repository

To clone the repository run

git clone https://github.com/GM2Calc/GM2Calc.git

Tests

The GM2Calc repository contains unit tests for the GM2Calc functionality as well as comparisons with known benchmark points. To run the tests, execute

cd test
make execute-tests

Mailing lists

C++ source code indentation

When you are writing GM2Calc extensions, please use the stroustrup style with 3 indentation spaces (no tabs).

Emacs configuration:

(defun my-c-mode-common-hook ()
   (setq c-basic-offset 3)
   (setq c-indent-level 3)
   (setq c-default-style "stroustrup")
   (setq indent-tabs-mode nil)
   (c-set-offset 'innamespace 0)
   )
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)

Astyle ressource file: astylerc

astyle --options=astylerc [files]