-
Notifications
You must be signed in to change notification settings - Fork 112
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
Energy product in elliptic discretizer (Continuation) #1008
Energy product in elliptic discretizer (Continuation) #1008
Conversation
@renefritze, As it shows in https://dev.azure.com/pymor/pymor/_build/results?buildId=2757&view=logs&j=b2cbc7ea-7585-56c2-8847-7376d77354b6&t=1f352729-2dd2-595d-2a18-f5a7564f328f, it seems that af2c20c was not enough for changing the args in the elliptic2 demo. Could you help out where else I need to edit it? |
The problem isn't in the commit you linked, I think. But in the changing of the docopt string for the demo. To get more insight you can locally execute just that demo with |
@TiKeil, can you rebase on master? |
99f6e3f
to
a1e4d62
Compare
Does anybody understand whats wrong with the tests again? |
Thanks a lot. Could have found this by myself : / |
a1e4d62
to
c3ed6bc
Compare
This is not showing an error.
Do you see any difference to the docstring in https://github.com/pymor/pymor/blob/master/src/pymordemos/elliptic.py ? |
Yes: e699c01 😉 If this works, the commit should be squashed before the merge. |
e699c01
to
fa4b578
Compare
Codecov Report
|
Thanks @renefritze for fixing. |
3a691bd
to
80285ba
Compare
tried to address your points as much as possible. |
80285ba
to
55d2192
Compare
55d2192
to
bc32ab6
Compare
f44847d
to
cf7ef1e
Compare
Thanks @sdrave, I think I addressed all your points. |
Co-authored-by: Stephan Rave <stephanrave@uni-muenster.de>
Co-authored-by: Stephan Rave <stephanrave@uni-muenster.de>
cf7ef1e
to
c0a8984
Compare
src/pymordemos/elliptic2.py
Outdated
k: compute the energy norm of the last snapshot, where the energy-product is constructed | ||
with a randomly generated parameter instance with random seed integer k. |
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.
Sorry, but why not just let the user specify the actual value? Specifying the seed seems weird, when it's only a single number we are talking about.
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.
You are absolutely right. I thought that problem 0 and 1 differ in terms of parameter space. I changed that now.
Co-authored-by: Stephan Rave <stephanrave@uni-muenster.de>
Co-authored-by: Stephan Rave <stephanrave@uni-muenster.de>
In this PR I continue #875 . I added the requested changes and changed a demo very briefly. Let me know if there is additional work to do for this.