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

Adjust the 3D tests

parent a17a6e45
No related branches found
No related tags found
No related merge requests found
__name = sumfact_stokes_3d_dg_{__exec_suffix} __name = sumfact_stokes_3d_dg
__exec_suffix = symdiff, numdiff | expand num
cells = 4 4 4 cells = 4 4 4
extension = 1. 1. 1. extension = 1. 1. 1.
...@@ -10,10 +9,5 @@ name = {__name} ...@@ -10,10 +9,5 @@ name = {__name}
extension = vtu extension = vtu
[formcompiler] [formcompiler]
numerical_jacobian = 0, 1 | expand num numerical_jacobian = 0
exact_solution_expression = g
compare_l2errorsquared = 1e-9
sumfact = 1 sumfact = 1
# Disable symdiff test for now
{__exec_suffix} == symdiff | exclude
cell = hexahedron cell = hexahedron
x = SpatialCoordinate(cell) x = SpatialCoordinate(cell)
g_v = as_vector((4*x[1]*(1.-x[1]), 0.0, 0.0)) g_v = as_vector((16.*x[1]*(1.-x[1])*x[2]*(1.-x[2]), 0.0, 0.0))
g_p = 8*(1.-x[0])
g = (g_v, g_p)
bctype = conditional(x[0] < 1. - 1e-8, 1, 0) bctype = conditional(x[0] < 1. - 1e-8, 1, 0)
P2 = VectorElement("DG", cell, 2) P2 = VectorElement("DG", cell, 2)
......
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