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

Switch all poisson examples to comparing l2 error

parent a2970488
No related branches found
No related tags found
No related merge requests found
......@@ -10,42 +10,36 @@ dune_symlink_to_source_files(FILES poisson_ref.vtu
dune_add_formcompiler_system_test(UFLFILE poisson.ufl
BASENAME poisson
INIFILE poisson.mini
SCRIPT dune_vtkcompare.py
)
# 2. Poisson Test Case: source f, mixed neumann/dirichlet boundary
dune_add_formcompiler_system_test(UFLFILE poisson_neumann.ufl
BASENAME poisson_neumann
INIFILE poisson_neumann.mini
SCRIPT dune_vtkcompare.py
)
# 3. Poisson Test Case: DG, f + pure dirichlet
dune_add_formcompiler_system_test(UFLFILE poisson_dg.ufl
BASENAME poisson_dg
INIFILE poisson_dg.mini
SCRIPT dune_vtkcompare.py
)
# 4. Poisson Test Case: DG, mixed bc
dune_add_formcompiler_system_test(UFLFILE poisson_dg_neumann.ufl
BASENAME poisson_dg_neumann
INIFILE poisson_dg_neumann.mini
SCRIPT dune_vtkcompare.py
)
# 5. Poisson Test Case: matrix free
dune_add_formcompiler_system_test(UFLFILE poisson.ufl
BASENAME poisson_matrix_free
INIFILE poisson_matrix_free.mini
SCRIPT dune_vtkcompare.py
)
# 6. Poisson Test Case: DG, matrix free
#dune_add_formcompiler_system_test(UFLFILE poisson_dg.ufl
# BASENAME poisson_dg_matrix_free
# INIFILE poisson_dg_matrix_free.mini
# SCRIPT dune_vtkcompare.py
# )
# 7. Poisson Test Case: test constant expressions
......
......@@ -13,4 +13,5 @@ extension = vtu
[formcompiler]
numerical_jacobian = 1, 0 | expand num
timer = 1
\ No newline at end of file
exact_solution_expression = g
compare_l2errorsquared = 1e-6
......@@ -13,3 +13,5 @@ extension = vtu
[formcompiler]
numerical_jacobian = 1, 0 | expand num
exact_solution_expression = g
compare_l2errorsquared = 2e-5
......@@ -14,3 +14,5 @@ extension = vtu
[formcompiler]
numerical_jacobian = 1, 0 | expand num
matrix_free = 1
exact_solution_expression = g
compare_l2errorsquared = 1e-6
......@@ -13,3 +13,5 @@ extension = vtu
[formcompiler]
numerical_jacobian = 1, 0 | expand num
exact_solution_expression = g
compare_l2errorsquared = 1e-6
File deleted
......@@ -14,3 +14,5 @@ extension = vtu
[formcompiler]
numerical_jacobian = 1, 0 | expand num
matrix_free = 1
exact_solution_expression = g
compare_l2errorsquared = 1e-6
......@@ -13,3 +13,5 @@ extension = vtu
[formcompiler]
numerical_jacobian = 1, 0 | expand num
exact_solution_expression = g
compare_l2errorsquared = 1e-6
File deleted
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