Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
8d3a42f5
Commit
8d3a42f5
authored
Jun 25, 2021
by
Martin Schneider
Browse files
[metadata] Bool can directly be interpreted, no need as string
parent
9dbf4f69
Pipeline
#5466
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dumux/common/metadata.hh
View file @
8d3a42f5
...
...
@@ -130,7 +130,7 @@ void collectMetaData(Collector& collector, const FVAssembler<TypeTag, diffmethod
{
auto
&
obj
=
collector
.
getTree
()[
"Assembler"
];
obj
[
"Type"
]
=
Metadata
::
className
(
a
,
hideTemplates
);
obj
[
"Stationary"
]
=
a
.
isStationaryProblem
()
?
"true"
:
"false"
;
obj
[
"Stationary"
]
=
a
.
isStationaryProblem
();
}
template
<
class
Collector
,
class
GridGeometry
>
...
...
@@ -140,7 +140,7 @@ auto collectMetaData(Collector& collector, const GridGeometry& gg, bool hideTemp
auto
&
obj
=
collector
.
getTree
()[
"GridGeometry"
];
obj
[
"Type"
]
=
Metadata
::
className
(
gg
,
hideTemplates
);
obj
[
"GridView"
][
"Type"
]
=
Metadata
::
className
(
gg
.
gridView
(),
hideTemplates
);
obj
[
"IsPeriodic"
]
=
gg
.
isPeriodic
()
?
"true"
:
"false"
;
obj
[
"IsPeriodic"
]
=
gg
.
isPeriodic
();
obj
[
"DiscretisationMethod"
]
=
toString
(
GridGeometry
::
discMethod
);
obj
[
"MaxElementStencilSize"
]
=
GridGeometry
::
maxElementStencilSize
;
obj
[
"NumScvs"
]
=
gg
.
numScv
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment