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
e6e7e5fd
Commit
e6e7e5fd
authored
Apr 24, 2019
by
Dennis Gläser
Committed by
Timo Koch
May 02, 2019
Browse files
[test][shallowwater] remove unused variables
parent
a3fc3d44
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/freeflow/shallowwater/main.cc
View file @
e6e7e5fd
...
...
@@ -129,7 +129,6 @@ int main(int argc, char** argv) try
// get some time loop parameters
using
Scalar
=
GetPropType
<
TypeTag
,
Properties
::
Scalar
>
;
const
auto
tEnd
=
getParam
<
Scalar
>
(
"TimeLoop.TEnd"
);
const
auto
maxDivisions
=
getParam
<
int
>
(
"TimeLoop.MaxTimeStepDivisions"
);
const
auto
maxDt
=
getParam
<
Scalar
>
(
"TimeLoop.MaxTimeStepSize"
);
auto
dt
=
getParam
<
Scalar
>
(
"TimeLoop.DtInitial"
);
...
...
test/freeflow/shallowwater/problem.hh
View file @
e6e7e5fd
...
...
@@ -90,12 +90,11 @@ struct EnableGridFluxVariablesCache<TypeTag, TTag::ShallowWaterModel> { static c
* \ingroup Shallow water equations model
* \ingroup ImplicitTestProblems
*
* \brief A simple dam break test (1D wet dam break).
* \brief A simple dam break test (1D wet dam break).
*
* The domain is 20 meters long with a gate in the middle. On the left
* side the water depth is 4 meters and on the right side the depth is 1 meter.
* All boundaries are set to no-flow.
*
* All boundaries are set to no-flow.
*
* This problem uses the \ref ShallowWaterModel
*
...
...
@@ -199,8 +198,6 @@ public:
const
auto
&
insideScv
=
fvGeometry
.
scv
(
scvf
.
insideScvIdx
());
const
auto
&
insideVolVars
=
elemVolVars
[
insideScv
];
const
auto
&
nxy
=
scvf
.
unitOuterNormal
();
const
auto
&
ip
=
scvf
.
ipGlobal
();
auto
riemannFlux
=
ShallowWater
::
riemannProblem
(
insideVolVars
.
waterDepth
(),
insideVolVars
.
waterDepth
(),
...
...
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