Skip to content
Snippets Groups Projects

Implement regularizations for Euler eq

Closed Florian Atteneder requested to merge fa/euler-new-regulates into main
2 files
+ 5
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
1
@@ -12,7 +12,8 @@ function Project(env::Environment, mesh::Mesh1d, prms)
ldg_rsolver, av_rsolver = nothing, nothing
bdrycond = dg1d.DirichletBC2()
P = Project(equation, rsolver, hrsc, tci, ldg_rsolver, av_rsolver, bdrycond)
fixedprms = (; av_regularization=Symbol(prms["EulerEq"]["av_regularization"]))
P = Project(equation, rsolver, hrsc, tci, ldg_rsolver, av_rsolver, bdrycond, fixedprms)
# register variables
# TODO add a ::Nothing overload for register_variables!
Loading