-
Notifications
You must be signed in to change notification settings - Fork 11
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
Restructure files, add abstract types for problems #48
Conversation
…ECE return an FODESolution
Co-authored-by: Qingyu Qu <52615090+ErikQQY@users.noreply.github.com>
Working pipece
…ract types for the different types of algorithms.
… Added abstract types for different algorithms.
Codecov Report
@@ Coverage Diff @@
## master #48 +/- ##
=======================================
Coverage 73.63% 73.63%
=======================================
Files 48 50 +2
Lines 3698 3698
=======================================
Hits 2723 2723
Misses 975 975
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
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.
Wow! Thanks a lot! I have wanted to do this for a long time, but I always get some errors while I testing the package, it is delightful to see this PR passed the CI now😄. I think there are some necessary changes for more elaborated APIs.
The CI all pass now! Let's merge!! |
I noticed that all of the FDE problems and solution types were in the PECE.jl file, so I thought I could move them to their own separate files to help organization. I also added some abstract types, to represent algorithms for solving the different kinds of FDE problems. For example I added
FODESystemAlgorithm <: AbstractFDEAlgorithm
to represent algorithms that solve FODESystems. I thought this might help with dispatch as well as maybe error handling if the wrong type of algorithm is used with the wrong type of problem.