[femutils] Added direct PETSc solver#316
Merged
grospelliergilles merged 11 commits intoarcaneframework:mainfrom Sep 26, 2025
Merged
[femutils] Added direct PETSc solver#316grospelliergilles merged 11 commits intoarcaneframework:mainfrom
grospelliergilles merged 11 commits intoarcaneframework:mainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #316 +/- ##
==========================================
+ Coverage 69.13% 69.41% +0.28%
==========================================
Files 113 114 +1
Lines 14336 14482 +146
Branches 1960 1967 +7
==========================================
+ Hits 9911 10053 +142
- Misses 3978 3979 +1
- Partials 447 450 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
jojoasticot
pushed a commit
to jojoasticot/arcanefem
that referenced
this pull request
Nov 27, 2025
[femutils] Added direct Petsc solver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following files were added:
femutils/PETScDoFLinearSystem.ccfemutils/PETScDoFLinearSystemFactory.axlmodules/testlab/inputs/Test.petsc_direct.arcTo test the program, you type the following command:
./Testlab inputs/Test.petsc_direct.arcYou can also add petsc flags with the
-A,petsc_flags="..."optionExample to run the test with matrix and vectors stored on GPU memory:
./Testlab -A,petsc_flags="-vec_type cuda -mat_type mpiaijcusparse" inputs/Test.petsc_direct.arcDefault
-ksp_typeiscgand default-pc_typeisjacobi