trixi-framework/Trixi.jl

Disable storage of initital conditions in DiffEq solution type

Open

#368 opened on Dec 7, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Julia (153 forks)batch import
enhancementgood first issueperformance

Repository metrics

Stars
 (686 stars)
PR merge metrics
 (Avg merge 9d 1h) (37 merged PRs in 30d)

Description

By default, the DiffEq package stores the initial conditions in the solution, which is a waste of memory and may become problematic for large simulations. This can be disabled by passing save_start=false to the call to solve(...) in the elixirs (see also the DiffEq docs).

We should consider adding save_start=false to the solve(...) call in all our example elixirs.

Contributor guide