Code development
Please follow these guidelines when developing new code for MPTRAC. For issue reports and pull requests, see the contribution guidelines.
Code formatting
On Linux, use the indent tool to apply a selected formatting style
to the source code:
make indent
Only use indent if the code has been compiled correctly. You may
need to run the indent command 2-3 times to achieve the desired
formatting.
Documentation
Please update the README file as needed.
To update the user manual, use:
make mkdocs
To update the Doxygen manual, use:
make doxygen
Further reading
Related developer pages
- Code structure: architecture and major data structures.
- Building from source: compilation and installation.
- Testing and code quality: regression tests, static analysis, coverage, and automated checks.
- Parallelization: MPI, OpenMP, and OpenACC.
- Profiling and benchmarking: timers and CPU/GPU profiling.
- Release management: release policy and checklist.
- High-level interface and Fortran wrapper: integration APIs.