deal.II is a community project that lives by the participation of its members — i.e., including you! It is our goal to build an inclusive and participatory community so we are happy that you are interested in participating. This document partly duplicates some extra information on participating available on the project website.
If you are new to using git or the GitHub platform you may find it helpful to review lecture 32.8, which should be enough to help you get started with using GitHub or possibly contributing to the library itself.
The deal.II community maintains an active mailing list hosted by google groups here. The mailing list is for questions about the library of all levels. For more information see the website page describing our mailing lists here.
It is a great help to the community if you report any bugs in the library that you may find. We keep track of all open issues with the library here. If you can, please try to include a minimal failing example that can help us reproduce the problem.
To make a change to deal.II you should create a fork (through GitHub) of the library and a separate branch (sometimes called a feature branch). You can propose that your branch be combined with the rest of the library by opening a pull request. This will give a chance for others to review your code. While this seems very formal, keeping all of the code review in one place makes it easier to coordinate changes to the library (and there are usually several people making changes to the library at once). This process is described at length in lecture 32.8. Please do not hesitate to ask questions about the workflow on the mailing list if you are not sure what to do.
Since deal.II is a fairly large project with lots of contributors we use a
set of
coding conventions
to keep the style of the source code in the library consistent. This
convention essentially consists of using clang-format
for indentation, camel
case for classes, and lower case letters with underscores for everything
else. If you are new to the project then we will work with you to ensure
your contributions are formatted with this style, so please do not think of
it as a road block if you would like to contribute some code.
As a contributor to this project, you agree that all of your contributions to deal.II (a) be governed by the Developer Certificate of Origin version 1.1 and (b) be made available to the project under the terms of the Apache License 2.0 with LLVM Exception, and separately under the terms of the GNU Lesser General Public License v2.1 or later; see LICENSE.md for details. The deal.II project does not require copyright assignments for contributions. This means that the copyright for code contributions in the deal.II project is held by its respective contributors.