Port some Hermes-3 finite volume operators (rebased)#3335
Conversation
Includes bug fix: ```diff - BoutReal gL = n.c - n.L; - BoutReal gR = n.R - n.c; + BoutReal gL = n.c - n.m; + BoutReal gR = n.p - n.c; ```
Co-authored-by: Peter Hill <peter.hill@york.ac.uk>
|
A couple of points that haven't been done:
|
Co-authored-by: Peter Hill <zed.three@gmail.com>
Sorry, I tried to follow to the comment, and from there to two PRs, but I failed to see what operators you would like to add here?
✔️ done in #3405 |
Compile finite volume implementation only once
| #include "bout/assert.hxx" | ||
| #include "bout/bout_types.hxx" | ||
| #include "bout/boutexception.hxx" | ||
| #include "bout/build_defines.hxx" |
There was a problem hiding this comment.
warning: included header boutexception.hxx is not used directly [misc-include-cleaner]
| #include "bout/build_defines.hxx" | |
| #include "bout/build_defines.hxx" |
| #include <bout/mesh.hxx> | ||
|
|
||
| #include <cmath> | ||
|
|
There was a problem hiding this comment.
warning: included header cmath is not used directly [misc-include-cleaner]
Preview: Use cell area and volume for finite volume code
Rebase of #3200 on top of #3320 and #3334