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

Odes cache system at initial time #891

Merged
merged 6 commits into from
Apr 5, 2023

Conversation

ericneiva
Copy link
Member

Fixes #887

If the ODEOperator is Constant or Affine, matrix and vector are allocated at the initial time.

If the ODEOperator is NonLinear, matrix and vector are allocated at the time stored by the operator (because there is no access to the initial time step).

@oriolcg, would you take a look at this whenever you have some time?

@ericneiva ericneiva requested a review from oriolcg March 23, 2023 16:37
@codecov-commenter
Copy link

codecov-commenter commented Mar 23, 2023

Codecov Report

Merging #891 (e56738b) into master (be0dc01) will not change coverage.
The diff coverage is 79.24%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##           master     #891   +/-   ##
=======================================
  Coverage   88.58%   88.58%           
=======================================
  Files         172      172           
  Lines       20037    20037           
=======================================
  Hits        17749    17749           
  Misses       2288     2288           
Impacted Files Coverage Δ
src/ODEs/ODETools/ConstantMatrixNewmark.jl 87.50% <16.66%> (ø)
src/ODEs/ODETools/ODEOperators.jl 40.00% <66.66%> (ø)
src/ODEs/ODETools/AffineThetaMethod.jl 83.52% <72.72%> (ø)
src/ODEs/TransientFETools/TransientFEOperators.jl 87.83% <75.00%> (ø)
src/ODEs/ODETools/AffineNewmark.jl 100.00% <100.00%> (ø)
src/ODEs/ODETools/ConstantNewmark.jl 96.20% <100.00%> (ø)
src/ODEs/ODETools/ForwardEuler.jl 87.87% <100.00%> (ø)
src/ODEs/ODETools/GeneralizedAlpha.jl 93.81% <100.00%> (ø)
src/ODEs/ODETools/Newmark.jl 91.66% <100.00%> (ø)
src/ODEs/ODETools/RungeKutta.jl 94.16% <100.00%> (ø)
... and 2 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@amartinhuertas
Copy link
Member

Hi @ericneiva ! Thanks for the changes. Can you please edit the README.md file?

@ericneiva
Copy link
Member Author

Can you please edit the README.md file?

I guess you meant the NEWS.md file @amartinhuertas. It's done!

Thank you @amartinhuertas and @oriolcg!

@amartinhuertas amartinhuertas merged commit af46eea into master Apr 5, 2023
@ericneiva ericneiva deleted the odes_cache_system_at_initial_time branch May 4, 2023 09:25
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.

[ODEs] Caching matrix and vector when operator cannot be evaluated at t = 0.0
4 participants