Skip to content

[femutils] Added direct PETSc solver#316

Merged
grospelliergilles merged 11 commits intoarcaneframework:mainfrom
jojoasticot:petsc-direct
Sep 26, 2025
Merged

[femutils] Added direct PETSc solver#316
grospelliergilles merged 11 commits intoarcaneframework:mainfrom
jojoasticot:petsc-direct

Conversation

@jojoasticot
Copy link
Contributor

The following files were added:

  • femutils/PETScDoFLinearSystem.cc
  • femutils/PETScDoFLinearSystemFactory.axl
  • modules/testlab/inputs/Test.petsc_direct.arc

To test the program, you type the following command:
./Testlab inputs/Test.petsc_direct.arc

You can also add petsc flags with the -A,petsc_flags="..." option

Example 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.arc

Default -ksp_type is cg and default -pc_type is jacobi

@codecov
Copy link

codecov bot commented Sep 26, 2025

Codecov Report

❌ Patch coverage is 89.54248% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.41%. Comparing base (e97e5cd) to head (c016626).
⚠️ Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
femutils/PETScDoFLinearSystem.cc 89.18% 12 Missing and 4 partials ⚠️
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.
📢 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.

@grospelliergilles grospelliergilles merged commit 46eaf18 into arcaneframework:main Sep 26, 2025
5 checks passed
@mohd-afeef-badri mohd-afeef-badri mentioned this pull request Oct 17, 2025
17 tasks
jojoasticot pushed a commit to jojoasticot/arcanefem that referenced this pull request Nov 27, 2025
@jojoasticot jojoasticot changed the title [femutils] Added direct Petsc solver [femutils] Added direct PETSc solver Jan 19, 2026
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.

2 participants