Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
30af4d9c
Commit
30af4d9c
authored
Jan 29, 2018
by
Philipp Arras
Browse files
Nicer IC output
parent
4ed7d826
Pipeline
#24179
failed with stage
in 4 minutes and 2 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
nifty4/minimization/gradient_norm_controller.py
View file @
30af4d9c
...
...
@@ -61,8 +61,8 @@ class GradientNormController(IterationController):
if
self
.
_name
is
not
None
:
msg
+=
self
.
_name
+
":"
msg
+=
" Iteration #"
+
str
(
self
.
_itcount
)
msg
+=
" energy=
"
+
str
(
energy
.
value
)
msg
+=
" gradnorm=
"
+
str
(
energy
.
gradient_norm
)
msg
+=
" energy=
{:.2E}"
.
format
(
energy
.
value
)
msg
+=
" gradnorm=
{:.2E}"
.
format
(
energy
.
gradient_norm
)
msg
+=
" clvl="
+
str
(
self
.
_ccount
)
dobj
.
mprint
(
msg
)
# self.logger.info(msg)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment