trixi-framework / trixi-framework/Trixi.jl

`convergence_test` does not work for elixirs using `TrixiExtension`

Open
#846 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
731
Forks
166
Avg merge
2d 18h
Merged PRs (30d)
25

Description

A convergence test like
```julia
convergence_test("examples/structured_2d_dgsem/elixir_advection_rotated.jl", 3)
```
fails with
```
ERROR: MethodError: no method matching (::Main.TrixiExtensionAdvectionRotated.InitialConditionConvergenceTestRotated)(::SVector{2, Float64}, ::Float64, ::LinearScalarAdvectionEquation2D{Float64})
The applicable method may be too new: running in world age 30027, while current world is 30035.
```

Contributor guide

Open the contributing guide

Research direction

Start by running convergence_test("examples/structured_2d_dgsem/elixir_advection_rotated.jl", 3) and inspect how TrixiExtension elixirs are loaded. Trace the InitialConditionConvergenceTestRotated method involved in the reported world-age error. Done means the convergence test completes for this example without the MethodError.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.