Currently, boundary conditions are not imposed on non-conservative terms. See, for example UnstructuredMesh2D:
|
# Compute pointwise nonconservative numerical flux at the boundary. |
|
# In general, nonconservative fluxes can depend on both the contravariant |
|
# vectors (normal direction) at the current node and the averaged ones. |
|
# However, both are the same at watertight interfaces, so we pass the |
|
# `outward_direction` twice. |
|
# Note: This does not set any type of boundary condition for the nonconservative term |
|
noncons_flux = nonconservative_flux(u_inner, u_inner, outward_direction, outward_direction, equations) |
The implementations for DGMulti and P4estMesh are similar.
Currently, boundary conditions are not imposed on non-conservative terms. See, for example
UnstructuredMesh2D:Trixi.jl/src/solvers/dgsem_unstructured/dg_2d.jl
Lines 426 to 432 in 7dd4232
The implementations for
DGMultiandP4estMeshare similar.