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

Add a sliced application

parent ed0d0683
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,12 @@ dune_add_formcompiler_system_test(UFLFILE poisson_dg_tensor.ufl ...@@ -4,6 +4,12 @@ dune_add_formcompiler_system_test(UFLFILE poisson_dg_tensor.ufl
NO_TESTS NO_TESTS
) )
dune_add_formcompiler_system_test(UFLFILE poisson_dg_tensor.ufl
BASENAME app_poisson_dg_tensor_sliced
INIFILE sliced.mini
NO_TESTS
)
dune_add_formcompiler_system_test(UFLFILE poisson_dg_tensor.ufl dune_add_formcompiler_system_test(UFLFILE poisson_dg_tensor.ufl
BASENAME verify_app_poisson_dg_tensor BASENAME verify_app_poisson_dg_tensor
INIFILE verify.mini INIFILE verify.mini
......
__name = app_poisson_dg_tensor_{__exec_suffix}
__exec_suffix = deg{formcompiler.ufl_variants.degree}_{opcount_suffix}_level{formcompiler.instrumentation_level}
opcount_suffix = opcount, nonopcount | expand opcount
{opcount_suffix} == opcount and {formcompiler.instrumentation_level} != 4 | exclude
# Calculate the size of the grid to equlibritate it to 100 MB/rank
# Input parameters
dim = 3
mbperrank = 100
ranks = 16
floatingbytes = 8
# Metaini Calculations
memperrank = {mbperrank} * 1048576 | eval
dofsperdir = {formcompiler.ufl_variants.degree} + 1 | eval
celldofs = {dofsperdir} ** {dim} | eval
cellsperrank = {memperrank} / ({floatingbytes} * {celldofs}) | eval
cellsperdir = {cellsperrank} ** (1/{dim}) | eval | toint
firstdircells = {ranks} * {cellsperdir} | eval
dimminusone = {dim} - 1 | eval
ones = 1 | repeat {dimminusone}
otherdircells = {cellsperdir} | repeat {dimminusone}
# Setup the grid!
extension = 1.0 | repeat {dim}
cells = {firstdircells} {otherdircells}
partitioning = {ranks} {ones}
# Set up the timing identifier
identifier = poisson_dg_tensor_deg{formcompiler.ufl_variants.degree}
[wrapper.vtkcompare]
name = {__name}
extension = vtu
[formcompiler]
fastdg = 1
sumfact = 1
vectorize_quad = 1
vectorize_slice = 1
instrumentation_level = 2, 3, 4 | expand
opcounter = 1, 0 | expand opcount
time_opcounter = 0, 1 | expand opcount
exact_solution_expression = g
compare_l2errorsquared = 1e-6
quadrature_order = {formcompiler.ufl_variants.degree} * 2 | eval
[formcompiler.ufl_variants]
cell = hexahedron
degree = 3, 7 | expand
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