Skip to content
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

Merged
merged 25 commits into from
Jul 19, 2022

Conversation

jClugstor
Copy link
Contributor

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.

@codecov-commenter
Copy link

codecov-commenter commented Jul 19, 2022

Codecov Report

Merging #48 (6aacd9a) into master (dca29db) will not change coverage.
The diff coverage is 94.23%.

@@           Coverage Diff           @@
##           master      #48   +/-   ##
=======================================
  Coverage   73.63%   73.63%           
=======================================
  Files          48       50    +2     
  Lines        3698     3698           
=======================================
  Hits         2723     2723           
  Misses        975      975           
Impacted Files Coverage Δ
src/FPDE/GL.jl 0.00% <ø> (ø)
src/multitermsfode/highprecision.jl 0.00% <ø> (ø)
src/problems/fde_problems.jl 82.35% <82.35%> (ø)
src/FDDE/DelayABM.jl 82.35% <100.00%> (ø)
src/FDDE/DelayPECE.jl 77.51% <100.00%> (ø)
src/FDDE/DelayPI.jl 97.05% <100.00%> (ø)
src/FDDE/Matrix.jl 80.00% <100.00%> (ø)
src/FIE/main.jl 68.00% <100.00%> (ø)
src/FPDE/CaputoDiscrete.jl 100.00% <100.00%> (ø)
src/FPDE/FiniteDiffEx.jl 93.61% <100.00%> (ø)
... and 23 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Copy link
Member

@ErikQQY ErikQQY left a 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.

src/dode/matrix.jl Outdated Show resolved Hide resolved
src/multitermsfode/ClosedForm.jl Outdated Show resolved Hide resolved
src/multitermsfode/MTPIIMRect.jl Outdated Show resolved Hide resolved
src/multitermsfode/MTPIIMTrap.jl Outdated Show resolved Hide resolved
src/multitermsfode/MTPIPECE.jl Outdated Show resolved Hide resolved
src/multitermsfode/matrix.jl Outdated Show resolved Hide resolved
src/singletermfode/AtanganaSeda.jl Outdated Show resolved Hide resolved
src/singletermfode/Euler.jl Outdated Show resolved Hide resolved
src/singletermfode/GL.jl Outdated Show resolved Hide resolved
src/singletermfode/PI.jl Outdated Show resolved Hide resolved
@ErikQQY
Copy link
Member

ErikQQY commented Jul 19, 2022

The CI all pass now! Let's merge!!

@ErikQQY ErikQQY merged commit 328be7d into SciFracX:master Jul 19, 2022
@jClugstor jClugstor deleted the restructure branch July 19, 2022 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants