Skip to content
Snippets Groups Projects
Commit 6f9e551b authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Adapt dumfact hyperbolic tests

parent 8d59a62b
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,13 @@ name = {__name}
extension = vtu
[formcompiler]
explicit_time_stepping = 1
operators = mass, r
[formcompiler.mass]
numerical_jacobian = 1
sumfact = 1
[formcompiler.r]
numerical_jacobian = 1
sumfact = 1
explicit_time_stepping = 1
\ No newline at end of file
......@@ -28,5 +28,4 @@ r = -1. * inner(flux, grad(v))*dx \
- inner(numerical_flux, jump(v))*dS \
+ inner(u, v)*ds
forms = [mass, r]
interpolate_expression = f, 0.0, 0.0
......@@ -13,10 +13,16 @@ name = {__name}
extension = vtu
[formcompiler]
sumfact = 1
#fastdg = 1
# This tests that all mass is transported out of the domain.
# While this is not the best of tests, it is something easily checked for.
numerical_jacobian = 1
explicit_time_stepping = 1
compare_l2errorsquared = 1e-10
operators = mass, r
[formcompiler.mass]
sumfact = 1
numerical_jacobian = 1
[formcompiler.r]
sumfact = 1
numerical_jacobian = 1
......@@ -25,7 +25,6 @@ r = -1.*u*inner(beta, grad(v))*dx \
+ inner(beta, n)*u*v*dso \
+ numerical_flux(n, 0.0, u('-'))*v*dsd
forms = [mass, r]
exact_solution = 0.0
is_dirichlet = dirichlet
interpolate_expression = initial
\ No newline at end of file
......@@ -14,4 +14,10 @@ extension = vtu
[formcompiler]
explicit_time_stepping = 1
operators = mass, r
[formcompiler.mass]
sumfact = 1
[formcompiler.r]
sumfact = 1
......@@ -35,5 +35,4 @@ r = -1. * inner(flux, grad(v))*dx \
- inner(numerical_flux, jump(v))*dS \
+ inner(boundary_flux, v)*ds
forms = [mass, r]
interpolate_expression = f, 0.0, 0.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment