trixi-framework / Trixi.jl

Trixi.jl: Adaptive high-order numerical simulations of conservation laws in Julia
https://trixi-framework.github.io/Trixi.jl
MIT License
537 stars 109 forks source link

Unify boundary condition specification #1510

Open jlchan opened 1 year ago

jlchan commented 1 year ago

Currently, boundary conditions are specified using either NamedTuples (for TreeMesh and StructuredMesh) or Dicts (for P4estMesh, UnstructuredMesh2D). It would be nice to allow both formats or to unify the way in which boundary conditions are specified.

jlchan commented 1 year ago

Related: TreeMesh boundary conditions require specifying periodic boundary conditions explicitly, while P4estMesh only works if you do not specify periodic boundary conditions.