-
-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make quickplot use scaling from solutions #1234
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1234 +/- ##
===========================================
- Coverage 97.95% 97.95% -0.01%
===========================================
Files 250 250
Lines 14399 14397 -2
===========================================
- Hits 14105 14103 -2
Misses 294 294
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just the minor point on the CHANGELOG. Thanks Tom!
@tinosulzer @rtimms some of the lines I changed don't actually seem to be used for anything. self.length_scales is defined but as far as I can tell never used anywhere. I commented them out and ran tests locally and they all passed. I also ran a 1+1 script and plotting the heat maps works ok without these lines. It does fail when the height is an input though. Not sure if worth fixing as I can't think of a scenario when you'd want to have height as input when doing 1+1. Similarly I guess 2+1 will not like when height and width are inputs. I could add some more informative error messages |
yeah it looks like the length scale stuff gets handled in processed variable. and I agree it doesn't make sense for height to be an input in 1+1D as you're changing the geometry. maybe in |
Description
Quickplot now uses timescale and lengthscale evals from the solution instead of evaluating them.
Fixes # 1233
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 docs
and then$ make clean; make html
You can run all three at once, using
$ python run-tests.py --quick
.Further checks: