Repository navigation
#1554 fix indexing for FEM entries - #1556
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1556 +/- ##
===========================================
+ Coverage 97.77% 98.28% +0.50%
===========================================
Files 242 310 +68
Lines 12639 17398 +4759
===========================================
+ Hits 12358 17099 +4741
- Misses 281 299 +18
Continue to review full report at Codecov.
|
brosaplanella
left a comment
There was a problem hiding this comment.
Looks good, thanks Rob! Just see my comment on the commented line.
| quick_plot.slider_update(1) | ||
|
|
||
| # check 2D (y,z space) variables update properly for different time units | ||
| # Note: these should be the transpose of the entries in the processed variable |
There was a problem hiding this comment.
I am confused: the comment says it should be the transpose but below it is not transposed
There was a problem hiding this comment.
In the test we do, e.g., np.testing.assert_array_almost_equal(qp_data.T, phi_n[:, :, 0]) so that qp_data is transposed
Description
Fixes the order of the indexing for the entries of variables solved using FEM
Fixes #1554
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ flake8$ python run-tests.py --unit$ cd docsand then$ make clean; make htmlYou can run all three at once, using
$ python run-tests.py --quick.Further checks: