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
bfc2cddc
Commit
bfc2cddc
authored
Jul 29, 2019
by
Davison
Browse files
slight change to holes property
parent
59ef7fbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
oop_imsrg/hamiltonian.py
View file @
bfc2cddc
...
...
@@ -36,8 +36,8 @@ class PairingHamiltonian2B(Hamiltonian):
self
.
_reference
=
np
.
append
(
np
.
ones
(
n_hole_states
),
np
.
zeros
(
n_particle_states
))
else
:
self
.
_reference
=
ref
self
.
_holes
=
np
.
arange
(
n_hole_states
,
dtype
=
np
.
int64
)
self
.
_holes
=
np
.
arange
(
n_hole_states
,
dtype
=
np
.
int64
)
self
.
_n_sp_states
=
n_hole_states
+
n_particle_states
self
.
_particles
=
np
.
arange
(
n_hole_states
,
self
.
n_sp_states
,
dtype
=
np
.
int64
)
self
.
_sp_basis
=
np
.
append
(
self
.
holes
,
self
.
particles
)
...
...
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