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

Introduce a sumfactorization mass matrix test

and use it as the only sumfact test until it works.
parent f35da8a2
No related branches found
No related tags found
No related merge requests found
add_subdirectory(mass)
add_subdirectory(poisson) add_subdirectory(poisson)
# A mass matrix test: Simplest possible example
dune_add_formcompiler_system_test(UFLFILE mass.ufl
BASENAME sumfact_mass
INIFILE mass.mini
)
__name = sumfact_mass_{__exec_suffix}
__exec_suffix = numdiff, symdiff | expand num
cells = 1 1
extension = 1. 1.
[wrapper.vtkcompare]
name = {__name}
extension = vtu
[formcompiler]
numerical_jacobian = 1, 0 | expand num
sumfact = 1
cell = "quadrilateral"
V = FiniteElement("DG", cell, 1)
u = TrialFunction(V)
v = TestFunction(V)
r = u * v * dx
forms = [r]
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
# BASENAME sumfact_poisson # BASENAME sumfact_poisson
# 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