Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Show more breadcrumbs
dumux-repositories
dumux
Commits
a88d6c99
Commit
a88d6c99
authored
5 years ago
by
Melanie Lipp
Committed by
Timo Koch
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[freeflow][test][sincos] Remove unused determination of cell sizes.
parent
c91e1a0b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1480
Freeflow/test sincos
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/freeflow/navierstokes/sincos/problem.hh
+0
-16
0 additions, 16 deletions
test/freeflow/navierstokes/sincos/problem.hh
with
0 additions
and
16 deletions
test/freeflow/navierstokes/sincos/problem.hh
+
0
−
16
View file @
a88d6c99
...
@@ -110,19 +110,6 @@ public:
...
@@ -110,19 +110,6 @@ public:
isStationary_
=
getParam
<
bool
>
(
"Problem.IsStationary"
);
isStationary_
=
getParam
<
bool
>
(
"Problem.IsStationary"
);
enableInertiaTerms_
=
getParam
<
bool
>
(
"Problem.EnableInertiaTerms"
);
enableInertiaTerms_
=
getParam
<
bool
>
(
"Problem.EnableInertiaTerms"
);
kinematicViscosity_
=
getParam
<
Scalar
>
(
"Component.LiquidKinematicViscosity"
,
1.0
);
kinematicViscosity_
=
getParam
<
Scalar
>
(
"Component.LiquidKinematicViscosity"
,
1.0
);
using
CellArray
=
std
::
array
<
unsigned
int
,
dimWorld
>
;
auto
numCells
=
getParam
<
CellArray
>
(
"Grid.Cells"
);
const
unsigned
int
refinement
=
getParam
<
unsigned
int
>
(
"Grid.Refinement"
,
0
);
for
(
unsigned
int
i
=
0
;
i
<
refinement
;
i
++
)
{
numCells
[
0
]
*=
2
;
numCells
[
1
]
*=
2
;
}
cellSizeX_
=
(
this
->
fvGridGeometry
().
bBoxMax
()[
0
]
-
this
->
fvGridGeometry
().
bBoxMin
()[
0
])
/
numCells
[
0
];
cellSizeY_
=
(
this
->
fvGridGeometry
().
bBoxMax
()[
1
]
-
this
->
fvGridGeometry
().
bBoxMin
()[
1
])
/
numCells
[
1
];
}
}
/*!
/*!
...
@@ -299,9 +286,6 @@ public:
...
@@ -299,9 +286,6 @@ public:
private
:
private
:
static
constexpr
Scalar
eps_
=
1e-6
;
static
constexpr
Scalar
eps_
=
1e-6
;
Scalar
cellSizeX_
;
Scalar
cellSizeY_
;
Scalar
kinematicViscosity_
;
Scalar
kinematicViscosity_
;
bool
enableInertiaTerms_
;
bool
enableInertiaTerms_
;
Scalar
time_
;
Scalar
time_
;
...
...
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