trixi-framework / trixi-framework/Trixi.jl

Contours via Plots.jl are supported for TreeMesh

Open
#2,230 5 comments 0 reactions 0 assignees View on GitHub
visualization
Dominant language
Julia
Stars
731
Forks
166
Avg merge
2d 18h
Merged PRs (30d)
25

Description

Contour plots can be easily done as follows
`pd = PlotData2D(sol),
contour(pd["var_name"])`

but the correct visualization is given only if the chosen mesh was TreeMesh. As an example:
![image](https://github.com/user-attachments/assets/e048849c-da91-4bb3-8874-e1c86bd6b082)

For all the other cases the image displayed is
![image](https://github.com/user-attachments/assets/8b3d1226-c737-4bfa-86fc-28eadabdc19f)

Contributor guide

Open the contributing guide

Research direction

Start by tracing PlotData2D(sol) and the contour(pd["var_name"]) path for TreeMesh, then compare it with the other mesh types shown in the issue. Reproduce both displayed outcomes and identify where non-TreeMesh data is prepared for Plots.jl. Done means contour plots render correctly for all supported mesh types, with regression coverage for the failing cases.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.