Conversation
|
I can take a look at it tomorrow evening. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #190 +/- ##
==========================================
+ Coverage 94.91% 95.36% +0.44%
==========================================
Files 94 86 -8
Lines 9516 9638 +122
==========================================
+ Hits 9032 9191 +159
+ Misses 484 447 -37 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The code is not formatted correctly in every file. |
|
I would argue it would make sense to move everything unrelated to the interface in the gmgpolar.h to not have everything spread out as it is currently. |
Currently even the interface is not entirely in igmgpolar as the function: template <concepts::BoundaryConditions BoundaryConditions>
void solve(const BoundaryConditions& boundary_conditions, const SourceTerm& source_term); cannot be virtual. The argument for keeping the separation was to be able to keep |
Strange that clang-format doesn't complain. Maybe because I called them *.inl. I should rename them to *.h |
|
@EmilyBourne I already merged the solver.inl and solver.h together to avoid the .inl. Also I swapped a few things around to make it clearer what sthings are part of the Interface and what is part of the GMGPolar class. |
julianlitz
left a comment
There was a problem hiding this comment.
Maybe merge the litz_ebourne_template_level branch into yours? 👉🏼👈🏼
|
@EmilyBourne You can check the compilation speed of my new version to check if there is a big slow down if we move everything into the header. |
Co-authored-by: julianlitz <julian.litz@icloud.com> Co-authored-by: Julian Litz <91479202+julianlitz@users.noreply.github.com>
Actually there is only 1min difference between main and this branch! 5mins to compile on main, 6 here according to my laptop |
|
Yes I also noticed a small slow down but it's unavoidable since Level needs to be templated. |

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):