Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-codegen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Christian Heinigk
dune-codegen
Commits
48b6c28a
Commit
48b6c28a
authored
7 years ago
by
Dominic Kempf
Browse files
Options
Downloads
Patches
Plain Diff
Add a sliced application
parent
ed0d0683
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
applications/poisson_dg_tensor/CMakeLists.txt
+6
-0
6 additions, 0 deletions
applications/poisson_dg_tensor/CMakeLists.txt
applications/poisson_dg_tensor/sliced.mini
+51
-0
51 additions, 0 deletions
applications/poisson_dg_tensor/sliced.mini
with
57 additions
and
0 deletions
applications/poisson_dg_tensor/CMakeLists.txt
+
6
−
0
View file @
48b6c28a
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
applications/poisson_dg_tensor/sliced.mini
0 → 100644
+
51
−
0
View file @
48b6c28a
__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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment