Skip to content
Snippets Groups Projects
Commit ad6aef2c authored by René Heß's avatar René Heß
Browse files

Merge branch 'feature/better-manufactured-solution-testing' into 'master'

Switch all poisson examples to comparing l2 error



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