Thank you for your interest in contributing to torch-fem
! To maintain a smooth workflow, please follow these steps to collaborate using forks and pull requests.
- Fork the Repository: Click the "Fork" button at the top right of this repository to create a copy under your GitHub account.
- Clone Your Fork: Clone your forked repository to your IDE
- Create Branch: Create a branch from the
main
branch. - Develop: After making changes, commit them with a meaningful message, and push the changes to your forked repository.
- Create a Pull Request (PR): When ready, head back to this repo on Github, click on "Pull Requests" and select "New Pull Request". Choose your forked branch and submit the PR.
- Ensure your code follows the project's coding standards.
- Keep PRs focused on a single topic.
- Write meaningful commit messages.
- Update documentation or tests if applicable.
- Ensure your changes do not break existing functionality.
If you have any questions or need clarification, feel free to open an issue or reach out.
Thank you for considering contributing to torch-fem! We appreciate your time and effort. Here’s a quick guide to help you get started.
- If you find a bug or have a feature request, please open an issue in the Issues section.
- Provide as much detail as possible (screenshot, minimal working example, etc.) to help us understand and reproduce the issue.
- Fork the repository: Create your own fork of the repo by clicking "Fork" at the top right of the project page.
- Commit changes in your personal fork: Ensure your commit messages are clear and descriptive.
- Test your changes: If applicable, run the existing tests and add new ones if you’ve introduced new functionality.
- Submit a Pull Request (PR): Go to the main repository and click "New Pull Request." Provide a description of your changes and reference any related issue numbers.
- Follow the black coding style for Python.
- Keep code clean and modular.
- Use type annotations.