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

Pytest and uncomment sumfact DG test

parent 00b06bab
No related branches found
No related tags found
No related merge requests found
...@@ -492,7 +492,7 @@ def generate_localoperator_kernels(formdata, data): ...@@ -492,7 +492,7 @@ def generate_localoperator_kernels(formdata, data):
# Numerical jacobian apply initializer list # Numerical jacobian apply initializer list
initializer_list("Dune::PDELab::NumericalJacobianApply{}<{}>".format(which, loptype), initializer_list("Dune::PDELab::NumericalJacobianApply{}<{}>".format(which, loptype),
["{}.get<double>(\"numerical_epsilon.{}\", 1e-9)".format(ini_constructor, ini, which.lower())], ["{}.get<double>(\"numerical_epsilon.{}\", 1e-9)".format(ini_constructor, ini, which.lower())],
classtag="operator", classtag="operator",
) )
else: else:
# Numerical nonlinear jacobian apply base class # Numerical nonlinear jacobian apply base class
...@@ -501,7 +501,7 @@ def generate_localoperator_kernels(formdata, data): ...@@ -501,7 +501,7 @@ def generate_localoperator_kernels(formdata, data):
# Numerical nonlinear jacobian apply initializer list # Numerical nonlinear jacobian apply initializer list
initializer_list("Dune::PDELab::NumericalNonlinearJacobianApply{}<{}>".format(which, loptype), initializer_list("Dune::PDELab::NumericalNonlinearJacobianApply{}<{}>".format(which, loptype),
["{}.get<double>(\"numerical_epsilon.{}\", 1e-9)".format(ini_constructor, ini, which.lower())], ["{}.get<double>(\"numerical_epsilon.{}\", 1e-9)".format(ini_constructor, ini, which.lower())],
classtag="operator", classtag="operator",
) )
operator_kernels[(measure, 'residual')] = kernel operator_kernels[(measure, 'residual')] = kernel
......
...@@ -4,8 +4,8 @@ dune_add_formcompiler_system_test(UFLFILE poisson.ufl ...@@ -4,8 +4,8 @@ dune_add_formcompiler_system_test(UFLFILE poisson.ufl
INIFILE poisson.mini INIFILE poisson.mini
) )
# 2. Poisson Test Case: DG, f + pure dirichlet # # 2. 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 sumfact_poisson_dg # BASENAME sumfact_poisson_dg
INIFILE poisson_dg.mini # INIFILE poisson_dg.mini
) # )
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