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
40e0f44d
Commit
40e0f44d
authored
17 years ago
by
Oliver Sander
Committed by
sander@PCPOOL.MI.FU-BERLIN.DE
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
don't print averaged convergence rate, which doesn't make much sense for quadratic convergence
[[Imported from SVN: r1508]]
parent
46bb05d0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rod3d.cc
+2
-6
2 additions, 6 deletions
rod3d.cc
with
2 additions
and
6 deletions
rod3d.cc
+
2
−
6
View file @
40e0f44d
...
...
@@ -10,7 +10,6 @@
#include
"../solver/iterativesolver.hh"
#include
"../common/geomestimator.hh"
#include
"../common/energynorm.hh"
#include
"src/configuration.hh"
...
...
@@ -182,7 +181,6 @@ int main (int argc, char *argv[]) try
double
error
=
std
::
numeric_limits
<
double
>::
max
();
double
oldError
=
0
;
double
totalConvRate
=
1
;
SolutionType
intermediateSolution
(
x
.
size
());
...
...
@@ -192,7 +190,7 @@ int main (int argc, char *argv[]) try
// from zero anyways
//oldError += computeEnergyNormSquared(exactSol3d, *hessian3d);
/** \todo
Rod error still missing
*/
#warning
Rod error still missing
oldError
=
std
::
sqrt
(
oldError
);
...
...
@@ -229,12 +227,10 @@ int main (int argc, char *argv[]) try
double
convRate
=
error
/
oldError
;
totalConvRate
*=
convRate
;
// Output
std
::
cout
<<
"Trust-region iteration: "
<<
i
<<
" error : "
<<
error
<<
", "
<<
"convrate "
<<
convRate
<<
" total conv rate "
<<
std
::
pow
(
totalConvRate
,
1
/
((
double
)
i
+
1
))
<<
std
::
endl
;
<<
"convrate "
<<
convRate
<<
std
::
endl
;
if
(
error
<
1e-12
)
break
;
...
...
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