Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-alugrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ag-ohlberger
dune-community
dune-alugrid
Commits
db039ff2
Commit
db039ff2
authored
7 years ago
by
Robert K
Browse files
Options
Downloads
Patches
Plain Diff
small change.
parent
52bd1ff4
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
examples/CMakeLists.txt
+9
-9
9 additions, 9 deletions
examples/CMakeLists.txt
examples/problem-ball.hh
+2
-0
2 additions, 0 deletions
examples/problem-ball.hh
with
11 additions
and
9 deletions
examples/CMakeLists.txt
+
9
−
9
View file @
db039ff2
set
(
SUBDIRS callback dgf loadbalance backuprestore communication testEfficiency
)
set
(
examplesdir
${
CMAKE_INSTALL_INCLUDEDIR
}
/examples
)
set
(
examples_HEADERS adaptation.hh
diagnostics.hh
paralleldgf.hh
problem-ball.hh
set
(
examples_HEADERS adaptation.hh
diagnostics.hh
paralleldgf.hh
problem-ball.hh
problem-transport.hh
datamap.hh
fvscheme.hh
piecewisefunction.hh
problem-euler.hh
datamap.hh
fvscheme.hh
piecewisefunction.hh
problem-euler.hh
problem.hh
)
configure_file
(
alugrid.cfg
${
CMAKE_CURRENT_BINARY_DIR
}
/alugrid.cfg COPYONLY
)
...
...
@@ -24,7 +24,7 @@ foreach( variant ball euler transport )
else
()
target_compile_definitions
(
${
prog
}
PRIVATE
"
${
variant_upper
}
"
)
endif
()
target_compile_definitions
(
${
prog
}
PUBLIC
"ALUGRID_C
UBE
"
"GRIDDIM=3"
"WORLDDIM=3"
)
target_compile_definitions
(
${
prog
}
PUBLIC
"ALUGRID_C
ONFORM
"
"GRIDDIM=3"
"WORLDDIM=3"
)
foreach
(
type cube simplex conform
)
string
(
TOUPPER
${
type
}
type_upper
)
...
...
This diff is collapsed.
Click to expand it.
examples/problem-ball.hh
+
2
−
0
View file @
db039ff2
...
...
@@ -35,6 +35,8 @@ struct BallData
dgfFileName
<<
path
<<
"/dgf/cube_hc_4096.dgf"
;
else
if
(
problem_
==
3
)
dgfFileName
<<
path
<<
"/dgf/cube_hc_32768.dgf"
;
else
if
(
problem_
==
4
)
dgfFileName
<<
path
<<
"/dgf/input"
<<
dimDomain
<<
".dgf"
;
else
dgfFileName
<<
path
<<
"/dgf/unitcube"
<<
dimDomain
<<
"d.dgf"
;
return
dgfFileName
.
str
();
...
...
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