Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #24 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 15 15
Lines 1590 1638 +48
=========================================
+ Hits 1590 1638 +48
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
brownbaerchen
left a comment
There was a problem hiding this comment.
Looks good, thanks a lot!
| if useEmbeddedWeights: | ||
| try: | ||
| gen.weightsEmbedded | ||
| except NotImplementedError: | ||
| return None |
There was a problem hiding this comment.
Do we have any collocation methods with embedded weights?
There was a problem hiding this comment.
We may have some in the future 🤩 ...
There was a problem hiding this comment.
Sure, but I am not a fan of handling the error like this, honestly. I think the error should be raised normally in the test rather than the test passing if you ask for embedded weights but there aren't any. The next best thing would be to use pytest.skip in the except statement.
There was a problem hiding this comment.
Fine ... I removed the try-except block for the collocation method, while still keeping the useEmbeddedWeight argument to remind us that this could be investigated one day (should not be hard to systematically create an embedded scheme for collocation scheme, tbh). Also, I switch to using pytest.skip in the common tests
|
Looks good, thanks again @rcgiri-physics for opening this issue and experimenting with the linear and non-linear orders. I've integrated Tbh, you made
Anyway, that was very nice working with you. Don't hesitate to contact us if you want to collaborate further on time-integration schemes. We have many ideas on this topic (+ research software engineering) that may interest some students in your part of the world ... |
|
Thank you, @tlunet, for confirming the RK53 entry, and for sharing the papers, including Wang & Spiteri. I'll read them and try to understand linear order properly. I'm still learning, so this discussion has taught me a lot, and thank you both for being so patient with me. I'm glad physverify may be useful for qmat's CI. Your feedback on how it works in practice would help me improve it for everyone. If I have more questions later, I hope it's okay to ask. Thanks again, @tlunet and @brownbaerchen. |
Follow-up on #23 ...
Decision on :
QGeneratorclass to retrieve those orders. Per default, linear order is the same as the corresponding order, except if the property is overridden.Still TODO :
orderLinearandorderLinearEmbeddedpropertiesphysverifywhen documenting the convergence tests