IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 7f66cf51 authored by ralfulrich's avatar ralfulrich
Browse files

Merge branch '31-coding-style' of gitlab.ikp.kit.edu:AirShowerPhysics/corsika into 31-coding-style

parents bbb5feb6 b083bb32
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ are copied in [MCNET_GUIDELINES](MCNET_GUIDELINES) -- they provide a very good ...@@ -19,7 +19,7 @@ are copied in [MCNET_GUIDELINES](MCNET_GUIDELINES) -- they provide a very good
additional scope that contributors should read and follow. additional scope that contributors should read and follow.
All possible All possible
liability and licensing question are strictly handled by the adopted liability and licensing question are only handled by the adopted
software license. software license.
## The software license of the CORSIKA project ## The software license of the CORSIKA project
......
...@@ -66,9 +66,7 @@ While `clang-format` does the structural formatting, we still need to agree on n ...@@ -66,9 +66,7 @@ While `clang-format` does the structural formatting, we still need to agree on n
- Code may not introduce any compiler errors, or warnings - Code may not introduce any compiler errors, or warnings
- All unit tests must succeed at all times - All unit tests must succeed at all times
- We use C++14 concepts wherever possible - We use C++17 concepts wherever useful and helpful
- Class members are initialized at definition
- we use "= delete", "= default", etc. identifier in class functions
- On any major error or malfunction we throw an exception. This is needed and required for complex physics and shower debugging. - On any major error or malfunction we throw an exception. This is needed and required for complex physics and shower debugging.
- We never catch exceptions for error handling, there might be very few special exceptions from this. We need to discuss such cases. - We never catch exceptions for error handling, there might be very few special exceptions from this. We need to discuss such cases.
- Everything that should not change should be `const` - Everything that should not change should be `const`
...@@ -108,4 +106,4 @@ required all the time: ...@@ -108,4 +106,4 @@ required all the time:
- active in the CORSIKA Project, that means responsive to - active in the CORSIKA Project, that means responsive to
discussions and problems in corsika-devel@list.kit.edu or on https//gitlab.ikp.kit.edu, of relevant *issues*, discussions and problems in corsika-devel@list.kit.edu or on https//gitlab.ikp.kit.edu, of relevant *issues*,
or in (phone) meetings or in (phone) meetings
- the existing members of the CORSIKA Project agree - the members of the CORSIKA Project panel agree
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment