This is the guideline for who would like to contribute to AmgXWrapper, including expanding AmgXWrapper, reporting issues or bugs, and seeking help.
AmgXWrapper lives on GitHub, so we follow what most GitHub projects do. In other words, follow these general steps:
- Fork AmgXWrapper.
- Create a new branch with any name you like.
- Make modifications.
- Test and make sure the modifications are not breaking AmgXWrapper.
- Make a pull request from your new branch to our master branch. Remember to specify what changed in your branch and why these changes should be made.
- Give us time to test and discuss your changes.
- Merge if everything's all set.
AmgXWrapper is a small piece of code, so we currently don't maintain a separate
development branch. You can make pull requests directly to the master
branch.
The coding style:
- Use four spaces for an indent, i.e., no tab (
\t
). - Try to make each line not exceeding 79 characters (a little bit longer is acceptable).
- Use Doxygen style for API documentation
- Put comments for API users (in Doxygen style) above the prototypes of functions, and put comments for AmgXWrapper developers above and in the definitions of functions.
Please use GitHub repo's issue page to submit bug reports, issues, or any questions.