Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-tectonic
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
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
podlesny
dune-tectonic
Commits
4d25738a
Commit
4d25738a
authored
10 years ago
by
Elias Pipping
Browse files
Options
Downloads
Patches
Plain Diff
[Cleanup] Kill an unused parameter
parent
91f329ba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/tectonic/myblockproblem.hh
+2
-6
2 additions, 6 deletions
dune/tectonic/myblockproblem.hh
with
2 additions
and
6 deletions
dune/tectonic/myblockproblem.hh
+
2
−
6
View file @
4d25738a
...
@@ -58,7 +58,6 @@ class MyBlockProblem : /* NOT PUBLIC */ BlockNonlinearGSProblem<ConvexProblem> {
...
@@ -58,7 +58,6 @@ class MyBlockProblem : /* NOT PUBLIC */ BlockNonlinearGSProblem<ConvexProblem> {
MyBlockProblem
(
Dune
::
ParameterTree
const
&
parset
,
ConvexProblem
&
problem
)
MyBlockProblem
(
Dune
::
ParameterTree
const
&
parset
,
ConvexProblem
&
problem
)
:
BNGSP
(
parset
,
problem
),
:
BNGSP
(
parset
,
problem
),
maxEigenvalues_
(
problem
.
f
.
size
()),
maxEigenvalues_
(
problem
.
f
.
size
()),
parset_
(
parset
),
localBisection
(
0.0
,
1.0
,
0.0
,
true
,
0.0
)
{
localBisection
(
0.0
,
1.0
,
0.0
,
true
,
0.0
)
{
for
(
size_t
i
=
0
;
i
<
problem
.
f
.
size
();
++
i
)
{
for
(
size_t
i
=
0
;
i
<
problem
.
f
.
size
();
++
i
)
{
LocalVectorType
eigenvalues
;
LocalVectorType
eigenvalues
;
...
@@ -196,14 +195,12 @@ class MyBlockProblem : /* NOT PUBLIC */ BlockNonlinearGSProblem<ConvexProblem> {
...
@@ -196,14 +195,12 @@ class MyBlockProblem : /* NOT PUBLIC */ BlockNonlinearGSProblem<ConvexProblem> {
/** \brief Constructs and returns an iterate object */
/** \brief Constructs and returns an iterate object */
IterateObject
getIterateObject
()
{
IterateObject
getIterateObject
()
{
return
IterateObject
(
parset_
,
localBisection
,
problem_
,
maxEigenvalues_
);
return
IterateObject
(
localBisection
,
problem_
,
maxEigenvalues_
);
}
}
private
:
private
:
std
::
vector
<
double
>
maxEigenvalues_
;
std
::
vector
<
double
>
maxEigenvalues_
;
Dune
::
ParameterTree
const
&
parset_
;
// problem data
// problem data
using
BNGSP
::
problem_
;
using
BNGSP
::
problem_
;
...
@@ -222,8 +219,7 @@ class MyBlockProblem<ConvexProblem>::IterateObject {
...
@@ -222,8 +219,7 @@ class MyBlockProblem<ConvexProblem>::IterateObject {
* \param bisection The class used to do a scalar bisection
* \param bisection The class used to do a scalar bisection
* \param problem The problem including quadratic part and nonlinear part
* \param problem The problem including quadratic part and nonlinear part
*/
*/
IterateObject
(
Dune
::
ParameterTree
const
&
parset
,
Bisection
const
&
bisection
,
IterateObject
(
Bisection
const
&
bisection
,
ConvexProblem
const
&
problem
,
ConvexProblem
const
&
problem
,
std
::
vector
<
double
>
const
&
maxEigenvalues
)
std
::
vector
<
double
>
const
&
maxEigenvalues
)
:
problem
(
problem
),
:
problem
(
problem
),
maxEigenvalues_
(
maxEigenvalues
),
maxEigenvalues_
(
maxEigenvalues
),
...
...
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