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
02b4cce1
"tests/osm/test_routing.py" did not exist on "9ef9a606c493b3e2a8d837341d99731262a04c8d"
Commit
02b4cce1
authored
11 years ago
by
Elias Pipping
Committed by
Elias Pipping
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Kill debug output
parent
73c3bbea
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/minimisation.hh
+0
-22
0 additions, 22 deletions
dune/tectonic/minimisation.hh
with
0 additions
and
22 deletions
dune/tectonic/minimisation.hh
+
0
−
22
View file @
02b4cce1
...
@@ -37,28 +37,6 @@ void descentMinimisation(Functional const &J,
...
@@ -37,28 +37,6 @@ void descentMinimisation(Functional const &J,
2.0
*
computeEnergy
(
J
.
A
,
v
),
JRestb
,
*
J
.
phi
,
x
,
v
);
2.0
*
computeEnergy
(
J
.
A
,
v
),
JRestb
,
*
J
.
phi
,
x
,
v
);
// }}}
// }}}
{
// Debug
Interval
<
double
>
D
;
JRest
.
subDiff
(
0
,
D
);
dverb
<<
"## Directional derivative (as per subdifferential of restriction): "
<<
D
[
1
]
<<
" (coordinates of the restriction)"
<<
std
::
endl
;
/*
It is possible that this differs quite a lot from the
directional derivative computed in the descentDirection()
method:
If phi is nonsmooth at x, so that the directional
derivatives jump, and |x| is computed to be too small or too
large globally or locally, the locally computed
subdifferential and the globally computed subdifferential
will no longer coincide!
The assertion D[1] <= 0 may thus fail.
*/
}
int
count
;
int
count
;
double
const
stepsize
=
bisection
.
minimize
(
JRest
,
0.0
,
0.0
,
count
);
double
const
stepsize
=
bisection
.
minimize
(
JRest
,
0.0
,
0.0
,
count
);
dverb
<<
"Number of iterations in the bisection method: "
<<
count
dverb
<<
"Number of iterations in the bisection method: "
<<
count
...
...
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