Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gfe
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
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
Sander, Oliver
dune-gfe
Commits
b8c3fd03
Commit
b8c3fd03
authored
4 years ago
by
Müller, Alexander
Browse files
Options
Downloads
Patches
Plain Diff
fix in mixedriemanniantrsolver from 3 to blocksize and scaling fix
parent
44558868
No related branches found
Branches containing commit
No related tags found
1 merge request
!68
fixed mixed riemanniansolver issues
Pipeline
#5422
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/gfe/mixedriemanniantrsolver.cc
+1
-1
1 addition, 1 deletion
dune/gfe/mixedriemanniantrsolver.cc
dune/gfe/mixedriemanniantrsolver.hh
+5
-5
5 additions, 5 deletions
dune/gfe/mixedriemanniantrsolver.hh
with
6 additions
and
6 deletions
dune/gfe/mixedriemanniantrsolver.cc
+
1
−
1
View file @
b8c3fd03
...
@@ -100,7 +100,7 @@ setup(const GridType& grid,
...
@@ -100,7 +100,7 @@ setup(const GridType& grid,
baseNorm0
,
baseNorm0
,
Solver
::
QUIET
);
Solver
::
QUIET
);
::
LoopSolver
<
CorrectionType
0
>*
baseSolver1
=
new
::
LoopSolver
<
CorrectionType1
>
(
baseSolverStep1
,
::
LoopSolver
<
CorrectionType
1
>*
baseSolver1
=
new
::
LoopSolver
<
CorrectionType1
>
(
baseSolverStep1
,
baseIterations
,
baseIterations
,
baseTolerance
,
baseTolerance
,
baseNorm1
,
baseNorm1
,
...
...
This diff is collapsed.
Click to expand it.
dune/gfe/mixedriemanniantrsolver.hh
+
5
−
5
View file @
b8c3fd03
...
@@ -82,11 +82,11 @@ public:
...
@@ -82,11 +82,11 @@ public:
void
setScaling
(
const
Dune
::
FieldVector
<
double
,
blocksize0
+
blocksize1
>&
scaling
)
void
setScaling
(
const
Dune
::
FieldVector
<
double
,
blocksize0
+
blocksize1
>&
scaling
)
{
{
for
(
int
i
=
0
;
i
<
3
;
i
++
)
for
(
int
i
=
0
;
i
<
blocksize0
;
i
++
)
{
std
::
get
<
0
>
(
scaling_
)[
i
]
=
scaling
[
i
];
std
::
get
<
0
>
(
scaling_
)[
i
]
=
scaling
[
i
];
std
::
get
<
1
>
(
scaling_
)[
i
]
=
scaling
[
i
+
3
];
}
for
(
int
i
=
0
;
i
<
blocksize1
;
i
++
)
std
::
get
<
1
>
(
scaling_
)[
i
]
=
scaling
[
i
+
blocksize0
];
}
}
#if 0
#if 0
...
@@ -124,7 +124,7 @@ protected:
...
@@ -124,7 +124,7 @@ protected:
double
initialTrustRegionRadius_
;
double
initialTrustRegionRadius_
;
/** \brief Trust-region norm scaling */
/** \brief Trust-region norm scaling */
std
::
tuple
<
Dune
::
FieldVector
<
double
,
3
>
,
Dune
::
FieldVector
<
double
,
3
>
>
scaling_
;
std
::
tuple
<
Dune
::
FieldVector
<
double
,
blocksize0
>
,
Dune
::
FieldVector
<
double
,
blocksize1
>
>
scaling_
;
/** \brief Maximum number of trust-region steps */
/** \brief Maximum number of trust-region steps */
int
maxTrustRegionSteps_
;
int
maxTrustRegionSteps_
;
...
...
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