Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Davison, Jacob
tfimsrg
Commits
adbbd5dd
Commit
adbbd5dd
authored
Apr 05, 2021
by
Davison, Jacob
Browse files
flow() args now require f, and G explicitly
parent
e056210e
Changes
1
Hide whitespace changes
Inline
Side-by-side
oop_imsrg/flow.py
View file @
adbbd5dd
...
...
@@ -58,7 +58,7 @@ class Flow_IMSRG2(Flow):
# def G(self, G):
# self._G = G
def
flow
(
self
,
gen
):
def
flow
(
self
,
f
,
G
,
gen
):
"""Iterates the IMSRG2 flow equations once.
Arugments:
...
...
@@ -75,8 +75,8 @@ class Flow_IMSRG2(Flow):
# f = self.f
# G = self.G
f
=
gen
.
f
.
astype
(
np
.
float32
)
G
=
gen
.
G
.
astype
(
np
.
float32
)
#
f = gen.f.astype(np.float32)
#
G = gen.G.astype(np.float32)
eta1B
,
eta2B
=
gen
.
calc_eta
()
# eta1B = partition[0]#.astype(np.float32)
...
...
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