Skip to content
Snippets Groups Projects
Commit 57a40a0d authored by Marcel Koch's avatar Marcel Koch
Browse files

add tests

parent cdd98d12
No related branches found
No related tags found
No related merge requests found
......@@ -41,4 +41,9 @@ dune_add_formcompiler_system_test(UFLFILE poisson.ufl
dune_add_formcompiler_system_test(UFLFILE poisson.ufl
BASENAME blockstructured_poisson_grid
INIFILE poisson_grid.mini
)
\ No newline at end of file
)
dune_add_formcompiler_system_test(UFLFILE poisson.ufl
BASENAME blockstructured_poisson_vec_tail
INIFILE poisson_vec_tail.mini
)
__name = blockstructured_poisson_tensor_{__exec_suffix}
__exec_suffix = {grid_suffix}_{vec_suffix}_{dim_suffix}
__exec_suffix = {grid_suffix}_{vec_suffix}_{dim_suffix}_blocks_{blocks}
dim = 2, 3 | expand dimension
blocks_2d = 8, 7 | expand blocks
blocks_3d = 4, 5 | expand blocks
blocks = {blocks_2d}, {blocks_3d} | expand dimension
grid_suffix = structured, unstructured | expand unstructured
vec_suffix = nonvec, vec | expand vectorized
dim_suffix = 2d, 3d | expand dimension
......@@ -26,7 +31,7 @@ matrix_free = 1
vectorization_blockstructured = 0, 1 | expand vectorized
generate_jacobians = 0
blockstructured = 1
number_of_blocks = 8, 4 | expand dimension
number_of_blocks = {blocks}
geometry_mixins = blockstructured_equidistant, blockstructured_multilinear | expand unstructured
[formcompiler.ufl_variants]
......
__name = blockstructured_poisson_vec_tail_{__exec_suffix}
__exec_suffix = {dimname}_{tail_suffix}
dim = 2, 3 | expand dimension
dimname = 2d, 3d | expand dimension
cells = 8, 2 | expand dimension | repeat {dim}
extension = 1. | repeat {dim}
tail_vec = 0, 1 | expand tail_vec
tail_modus = consecutive, blocked | expand mod
tail_suffix = novec_{tail_modus}, vec_{tail_modus} | expand tail_vec
[wrapper.vtkcompare]
name = {__name}
reference = poisson_ref
extension = vtu
[formcompiler]
compare_l2errorsquared = 1e-7
[formcompiler.r]
matrix_free = 1
generate_jacobians = 0
blockstructured = 1
number_of_blocks = 15, 7 | expand dimension
vectorization_blockstructured = 1
vectorization_blockstructured_tail = {tail_vec}
vectorization_blockstructured_tail_ordering = {tail_modus}
geometry_mixins = blockstructured_equidistant
[formcompiler.ufl_variants]
cell = quadrilateral, hexahedron | expand dimension
degree = 1
\ No newline at end of file
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