Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
GitLab will be unavailable Saturday, August 20, 2022, 7:00 - 8:00 pm, during planned maintenance.
Open sidebar
Davison, Jacob
tfimsrg
Commits
9d69b1ea
Commit
9d69b1ea
authored
Jan 18, 2021
by
Davison, Jacob
Browse files
corrected small syntax error in header print
parent
178c0b65
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.py
View file @
9d69b1ea
...
@@ -244,7 +244,7 @@ def main(n_holes, n_particles, ref=[], d=1.0, g=0.5, pb=0.0, verbose=1, flow_dat
...
@@ -244,7 +244,7 @@ def main(n_holes, n_particles, ref=[], d=1.0, g=0.5, pb=0.0, verbose=1, flow_dat
s_vals
.
append
(
solver
.
t
)
s_vals
.
append
(
solver
.
t
)
E_vals
.
append
(
Es
)
E_vals
.
append
(
Es
)
print
(
"iter,
\t
s,
\t
E,
\t
||eta1B||,
\t
||eta2B||"
print
(
"iter,
\t
s,
\t
E,
\t
||eta1B||,
\t
||eta2B||"
)
if
iters
%
10
==
0
and
verbose
:
if
iters
%
10
==
0
and
verbose
:
norm_eta1B
=
np
.
linalg
.
norm
(
np
.
ravel
(
wg
.
eta1B
))
norm_eta1B
=
np
.
linalg
.
norm
(
np
.
ravel
(
wg
.
eta1B
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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