Conversation
Moved MUMPS solver structure declaration below stencils for proper initialization.
Reordered MUMPS solver structure declaration to follow stencils.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #182 +/- ##
==========================================
- Coverage 95.18% 95.16% -0.02%
==========================================
Files 94 94
Lines 9345 9274 -71
==========================================
- Hits 8895 8826 -69
+ Misses 450 448 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Why do you only use a .h file? Wouldn't a .cpp file reduce compilation speed?
There was a problem hiding this comment.
Currently we dont have a src/LinearAlgebra folder, since everything is floating point templated there.
Mumps is an exception since it needs to be hardcoded with float or double. So here we can move things to a .cpp but maybe it is not worth it.
There was a problem hiding this comment.
I'm not sure. Here you compile quite fast but Gysela got bogged down quite fast by using lots of templates in .hpp files. I don't know to what degree the .hpp is the problem and to what degree it is the templates. Probably the templates are the most important thing
| if (INFOG(1) != 0) { | ||
| throw std::runtime_error("MUMPS reported an error during solution phase " | ||
| "(INFOG(1) = " + | ||
| std::to_string(INFOG(1)) + ")."); |
There was a problem hiding this comment.
Previously this was a warning but now it is an error. Does this mean that the code would crash if the solver failed to converge? Even if it was nearly converged?
| if (INFOG(1) != 0) { | ||
| throw std::runtime_error("MUMPS reported an error during analysis/factorization " | ||
| "(INFOG(1) = " + | ||
| std::to_string(INFOG(1)) + ")."); | ||
| } |
There was a problem hiding this comment.
Similar question. This has changed from a warning to a hard error right? Are we sure that this is what we want?
Merge Request - GuideLine Checklist
Guideline to check code before resolve WIP and approval, respectively.
As many checkboxes as possible should be ticked.
Checks by code author:
Always to be checked:
If functions were changed or functionality was added:
If new functionality was added:
If new third party software is used:
If new mathematical methods or epidemiological terms are used:
Checks by code reviewer(s):