-
Notifications
You must be signed in to change notification settings - Fork 113
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
Tree Mesh centering the mesh and shifting the boundaries (rectangles to quads) #1889
Comments
Looks like a (documentation) bug to me. The |
I added this test case for |
From the Trixi.jl/src/meshes/tree_mesh.jl Lines 122 to 124 in 73da92c
I thus understand why the code in the example behaves as expected. I think that changing the referenced lines to first compute the lengths in each direction and to then trow an error if they do not match (within an epsilon) before taking the maximum would be a nice addition for usability! |
While studying and making some test cases about the Warm Bubble Test for compressible Euler, the mesh on the y direction seems to be shifted, rather than being from 0 to 10_000, it is from -5000 to 15000.
https://github.com/trixi-framework/Trixi.jl/blob/main/examples/tree_2d_dgsem/elixir_euler_warm_bubble.jl
As far as I know the mesh has to be a Quad, consequently it changes boundaries according to it.
The text was updated successfully, but these errors were encountered: