Contributing to NGSTrefftz
ο
πThanks for taking the time to contribute! π
To get an overview of the project, check out the README.
The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.
For personal support requests you can reach me at p.stocker@math.uni-goettingen.de.
Bug reportsο
A bug is a demonstrable problem that is caused by the code in the repository. Bug reports are extremely helpful - thank you!
Guidelines for bug reports:
Check if the issue has been fixed: try to reproduce it using the latest
main
or development branch in the repository.Use the GitHub issue search: check if the issue has already been reported.
Isolate the problem: Create a minimal example showing the problem.
Open an issue: Using the issue tracker, describe the expected outcome and report the OS, the compiler, and NGSolve version you are using.
Pull requestsο
Pull requests - patches, improvements, new features - are a fantastic help. They should remain focused in scope and avoid containing unrelated commits. Please ask first before embarking on any significant pull request.
Tips on opening a pull request:
Fork the project.
Create a branch and implement your feature.
git checkout -b <your-feature-name>
Run the test suite by calling
make test
in your build directory. Consider adding new tests for you feature - have a look in the test folder.
Once the implementation is done, use Gitβs interactive rebase feature to tidy up your commits.
git rebase --interactive --fork-point main <your-feature-name>
Push your topic branch up to your fork and open a Pull Request.
IMPORTANT: By submitting a patch, you agree to allow the project owners to license your work under the terms of the LGPL License.
Code formatο
A code style file is provided in the repo to be used with clang-format
. All c++ files should be formated using this style, to quickly apply it to all files use
find src/ -iname *.hpp -o -iname *.cpp | xargs clang-format -style='file:.clang-format' -i