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

More adaptations for Taal/Taam #268

Merged

Conversation

ranocha
Copy link
Member

@ranocha ranocha commented Oct 30, 2020

julia> begin
           t_end = 10.0
           setup = "euler_sedov_blast_wave_shockcapturing_amr"
           taam = Trixi.run("examples/2d/parameters_" * setup * ".toml", t_end=t_end)
           trixi_include("examples/2d/elixir_" * setup * ".jl", tspan=(0.0, t_end))
           taal = analysis_callback(sol)
           display(taal.l2 - taam.l2)
           display(taal.linf - taam.linf)
       end
...
4-element StaticArrays.SArray{Tuple{4},Float64,1,4} with indices SOneTo(4):
 1.176836406102666e-14
 2.4980018054066022e-15
 8.326672684688674e-17
 7.771561172376096e-16
4-element StaticArrays.SArray{Tuple{4},Float64,1,4} with indices SOneTo(4):
 -3.019806626980426e-14
  4.8183679268731794e-14
 -7.327471962526033e-15
  3.552713678800501e-15

Seems to be okay after 1446 time steps.

This example is very sensitive to many parameters and will likely crash if you change anything, e.g. some fluxes etc. Hence, I think some differences occurring for bigger CFL numbers might really be influenced by floating point errors etc.

@ranocha ranocha merged commit 3843402 into trixi-framework:msl/same-results-taam-taal Oct 30, 2020
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.

2 participants