Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pacxx-projectseminar-2019
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Vladyslav Kucher
pacxx-projectseminar-2019
Commits
5021f6f0
Commit
5021f6f0
authored
5 years ago
by
Jö Fahlke
Browse files
Options
Downloads
Patches
Plain Diff
Fix config key name for grid reader type
parent
5b81654f
No related branches found
Branches containing commit
No related tags found
1 merge request
!7
Fix config key name for grid reader type
Pipeline
#19443
passed
5 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/solution01.cc
+1
-1
1 addition, 1 deletion
src/solution01.cc
src/tutorial01.ini
+1
-1
1 addition, 1 deletion
src/tutorial01.ini
with
2 additions
and
2 deletions
src/solution01.cc
+
1
−
1
View file @
5021f6f0
...
...
@@ -40,7 +40,7 @@ int main(int argc, char** argv)
const
int
dim
=
2
;
// const int dim = ptree.get<int>("grid.dim");
const
int
refinement
=
ptree
.
get
<
int
>
(
"grid.refinement"
);
std
::
string
gridtype
=
ptree
.
get
(
"grid.
type
"
,
"structured"
);
std
::
string
gridtype
=
ptree
.
get
(
"grid.
reader
"
,
"structured"
);
typedef
Dune
::
UGGrid
<
dim
>
Grid
;
typedef
Grid
::
ctype
DF
;
std
::
shared_ptr
<
Grid
>
gridp
;
...
...
This diff is collapsed.
Click to expand it.
src/tutorial01.ini
+
1
−
1
View file @
5021f6f0
[grid]
manag
er
=
structured # set to structured | msh
read
er
=
structured # set to structured | msh
refinement
=
2 # be careful
[grid.structured]
...
...
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