Skip to content

Comments

Improved default PETSc options behaviour#1077

Open
RemDelaporteMathurin wants to merge 5 commits intofenicsxfrom
default_petsc_opts
Open

Improved default PETSc options behaviour#1077
RemDelaporteMathurin wants to merge 5 commits intofenicsxfrom
default_petsc_opts

Conversation

@RemDelaporteMathurin
Copy link
Collaborator

@RemDelaporteMathurin RemDelaporteMathurin commented Feb 25, 2026

Description

Summary

This PR refactors the way we treat petsc options.

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🔨 Code refactoring (no functional changes, no API changes)
  • 📝 Documentation update
  • ✅ Test update (adding missing tests or correcting existing tests)
  • 🔧 Build/CI configuration change

Testing

  • All existing tests pass locally (pytest)
  • I have added new tests that prove my fix is effective or that my feature works

Code Quality Checklist

  • My code follows the code style of this project (Ruff formatted: ruff format .)
  • My code passes linting checks (ruff check .)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

Documentation

  • I have updated the documentation accordingly (if applicable)
  • I have added docstrings to new functions/classes following the project conventions

Breaking Changes

Screenshots/Examples

Additional Notes

@codecov
Copy link

codecov bot commented Feb 25, 2026

Codecov Report

❌ Patch coverage is 81.81818% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.86%. Comparing base (b09927e) to head (9cb8a2a).

Files with missing lines Patch % Lines
src/festim/problem.py 80.95% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           fenicsx    #1077      +/-   ##
===========================================
+ Coverage    94.77%   94.86%   +0.09%     
===========================================
  Files           44       44              
  Lines         3175     3177       +2     
===========================================
+ Hits          3009     3014       +5     
+ Misses         166      163       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant