From 584a7ce212b76d62ab5d0519e40f16d7a873a665 Mon Sep 17 00:00:00 2001
From: Marcel Koch <marcel.koch@uni-muenster.de>
Date: Tue, 29 Jan 2019 13:37:42 +0100
Subject: [PATCH] add axiparallel test

---
 test/poisson/CMakeLists.txt              |  6 ++++++
 test/poisson/poisson_dg_axiparallel.mini | 17 +++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 test/poisson/poisson_dg_axiparallel.mini

diff --git a/test/poisson/CMakeLists.txt b/test/poisson/CMakeLists.txt
index 0a4f9897..5eeae1a4 100644
--- a/test/poisson/CMakeLists.txt
+++ b/test/poisson/CMakeLists.txt
@@ -75,6 +75,12 @@ dune_add_formcompiler_system_test(UFLFILE poisson_customfunction.ufl
                                   INIFILE poisson_customfunction.mini
                                   )
 
+# 13. Poisson Test Case: DG quadrilaterals with axiparallel mixin
+dune_add_formcompiler_system_test(UFLFILE poisson_dg_quadrilateral.ufl
+        BASENAME poisson_dg_axiparallel
+        INIFILE poisson_dg_axiparallel.mini
+        )
+
 # the reference vtk file
 add_executable(poisson_dg_ref reference_main.cc)
 set_target_properties(poisson_dg_ref PROPERTIES EXCLUDE_FROM_ALL 1)
diff --git a/test/poisson/poisson_dg_axiparallel.mini b/test/poisson/poisson_dg_axiparallel.mini
new file mode 100644
index 00000000..1f2490eb
--- /dev/null
+++ b/test/poisson/poisson_dg_axiparallel.mini
@@ -0,0 +1,17 @@
+__name = poisson_dg_axiparallel_{__exec_suffix}
+__exec_suffix = {__exec_symdiff}
+__exec_symdiff = numdiff, symdiff |expand num
+
+extension = 1.0 1.0
+cells = 32 32
+
+[wrapper.vtkcompare]
+name = {__name}
+extension = vtu
+
+[formcompiler]
+compare_l2errorsquared = 7e-7
+
+[formcompiler.r]
+numerical_jacobian = 1, 0 | expand num
+geometry_mixins = axiparallel
-- 
GitLab