| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report❌ Patch coverage is 94.11765% with 2 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #2723 +/- ##
=======================================
Coverage 92.15% 92.15%
=======================================
Files 248 248
Lines 49961 49995 +34
Branches 4399 4401 +2
=======================================
+ Hits 46040 46072 +32
- Misses 3211 3213 +2
Partials 710 710
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry.
|
Sorry, something went wrong.
There was a problem hiding this comment.
Uncontroverisal
PS: I just noted applyfunc should probably be a private meth
Sorry, something went wrong.
It's a sympy method from the sympy matrix type, not ours. |
Sorry, something went wrong.
There was a problem hiding this comment.
A couple super tiny nitpicks, feel free to ignore. Looks g2g otherwise
Sorry, something went wrong.
| u = Function(name="u", grid=grid, space_order=2, staggered=x) | ||
| v = Function(name="v", grid=grid, space_order=2, staggered=NODE) | ||
|
|
||
| w = [-2, 2] # Should 4 coeff since this is staggered |
There was a problem hiding this comment.
2 coeffs?
Sorry, something went wrong.
|
|
||
| eq0 = Eq(u, v.dx(w=w)).evaluate | ||
| exp0 = -2 * v / x.spacing + 2 * v._subs(x, x + x.spacing)/x.spacing | ||
| # This one should fallback to taylor coeffs sinc w is too short |
There was a problem hiding this comment.
"sinc" -> "since"
Sorry, something went wrong.
| f = func(name="t", grid=grid, space_order=2) | ||
|
|
||
| # Custom coefficients | ||
| c = [10, 10, 10] |
There was a problem hiding this comment.
Nitpick: is it worth making these 10, 20, 30 just to remove a potential non-uniqueness?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #2721