From 92c81ee68cc54bf28bf16bac53e2a361893b78ab Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Tue, 20 Dec 2016 15:05:55 +0100 Subject: [PATCH] Use both symbolic/non-symbolic in failing poisson_dg 3D test --- test/sumfact/poisson/poisson_dg_3d.ufl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/sumfact/poisson/poisson_dg_3d.ufl b/test/sumfact/poisson/poisson_dg_3d.ufl index b7e20157..d5c03182 100644 --- a/test/sumfact/poisson/poisson_dg_3d.ufl +++ b/test/sumfact/poisson/poisson_dg_3d.ufl @@ -1,9 +1,12 @@ cell = "hexahedron" -x = SpatialCoordinate(cell) -c = (0.5-x[0])**2 + (0.5-x[1])**2 + (0.5-x[2])**2 -g = exp(-1.*c) -f = 6*(1.-c)*g +#x = SpatialCoordinate(cell) +#c = (0.5-x[0])**2 + (0.5-x[1])**2 + (0.5-x[2])**2 +#g = exp(-1.*c) +#f = 6*(1.-c)*g + +f = Expression("Dune::FieldVector<double,2> c(0.5); c-= x; return 4.*(1.-c.two_norm2())*std::exp(-1.*c.two_norm2());", cell=cell) +g = Expression("Dune::FieldVector<double,2> c(0.5); c-= x; return std::exp(-1.*c.two_norm2());", on_intersection=True, cell=cell) V = FiniteElement("DG", cell, degree) -- GitLab