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
949d5917
Commit
949d5917
authored
Sep 01, 2020
by
Jacob August Davison
Browse files
updated docs
parent
8ff90fe6
Changes
2
Show whitespace changes
Inline
Side-by-side
oop_imsrg/doc/generator.html
View file @
949d5917
...
@@ -38,7 +38,8 @@
...
@@ -38,7 +38,8 @@
<dt><font
face=
"helvetica, arial"
><a
href=
"generator.html#Generator"
>
Generator
</a>
<dt><font
face=
"helvetica, arial"
><a
href=
"generator.html#Generator"
>
Generator
</a>
</font></dt><dd>
</font></dt><dd>
<dl>
<dl>
<dt><font
face=
"helvetica, arial"
><a
href=
"generator.html#WegnerGenerator"
>
WegnerGenerator
</a>
<dt><font
face=
"helvetica, arial"
><a
href=
"generator.html#BrillouinGenerator"
>
BrillouinGenerator
</a>
</font></dt><dt><font
face=
"helvetica, arial"
><a
href=
"generator.html#WegnerGenerator"
>
WegnerGenerator
</a>
</font></dt><dd>
</font></dt><dd>
<dl>
<dl>
<dt><font
face=
"helvetica, arial"
><a
href=
"generator.html#WegnerGenerator3B"
>
WegnerGenerator3B
</a>
<dt><font
face=
"helvetica, arial"
><a
href=
"generator.html#WegnerGenerator3B"
>
WegnerGenerator3B
</a>
...
@@ -55,6 +56,48 @@
...
@@ -55,6 +56,48 @@
<table
width=
"100%"
cellspacing=
0
cellpadding=
2
border=
0
summary=
"section"
>
<table
width=
"100%"
cellspacing=
0
cellpadding=
2
border=
0
summary=
"section"
>
<tr
bgcolor=
"#ffc8d8"
>
<tr
bgcolor=
"#ffc8d8"
>
<td
colspan=
3
valign=
bottom
>
<br>
<td
colspan=
3
valign=
bottom
>
<br>
<font
color=
"#000000"
face=
"helvetica, arial"
><a
name=
"BrillouinGenerator"
>
class
<strong>
BrillouinGenerator
</strong></a>
(
<a
href=
"generator.html#Generator"
>
Generator
</a>
)
</font></td></tr>
<tr
bgcolor=
"#ffc8d8"
><td
rowspan=
2
><tt>
</tt></td>
<td
colspan=
2
><tt><a
href=
"#BrillouinGenerator"
>
BrillouinGenerator
</a>
(h)
<br>
<br>
Calculate
Brillouin
generator
for
a
normal
ordered
Hamiltonian.
<br>
</tt></td></tr>
<tr><td>
</td>
<td
width=
"100%"
><dl><dt>
Method resolution order:
</dt>
<dd><a
href=
"generator.html#BrillouinGenerator"
>
BrillouinGenerator
</a></dd>
<dd><a
href=
"generator.html#Generator"
>
Generator
</a></dd>
<dd><a
href=
"builtins.html#object"
>
builtins.object
</a></dd>
</dl>
<hr>
Methods defined here:
<br>
<dl><dt><a
name=
"BrillouinGenerator-__init__"
><strong>
__init__
</strong></a>
(self, h)
</dt><dd><tt>
Initialize
self.
See
help(type(self))
for
accurate
signature.
</tt></dd></dl>
<dl><dt><a
name=
"BrillouinGenerator-calc_eta"
><strong>
calc_eta
</strong></a>
(self)
</dt></dl>
<hr>
Data descriptors defined here:
<br>
<dl><dt><strong>
G
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
f
--
two-body
tensor
elements
(initialized
by
Hamiltonian
object)
</tt></dd>
</dl>
<dl><dt><strong>
f
</strong></dt>
<dd><tt>
Returns:
<br>
<br>
f
--
one-body
tensor
elements
(initialized
by
Hamiltonian
object)
</tt></dd>
</dl>
<hr>
Data descriptors inherited from
<a
href=
"generator.html#Generator"
>
Generator
</a>
:
<br>
<dl><dt><strong>
__dict__
</strong></dt>
<dd><tt>
dictionary
for
instance
variables
(if
defined)
</tt></dd>
</dl>
<dl><dt><strong>
__weakref__
</strong></dt>
<dd><tt>
list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
</dl>
</td></tr></table>
<p>
<table
width=
"100%"
cellspacing=
0
cellpadding=
2
border=
0
summary=
"section"
>
<tr
bgcolor=
"#ffc8d8"
>
<td
colspan=
3
valign=
bottom
>
<br>
<font
color=
"#000000"
face=
"helvetica, arial"
><a
name=
"Generator"
>
class
<strong>
Generator
</strong></a>
(
<a
href=
"builtins.html#object"
>
builtins.object
</a>
)
</font></td></tr>
<font
color=
"#000000"
face=
"helvetica, arial"
><a
name=
"Generator"
>
class
<strong>
Generator
</strong></a>
(
<a
href=
"builtins.html#object"
>
builtins.object
</a>
)
</font></td></tr>
<tr
bgcolor=
"#ffc8d8"
><td
rowspan=
2
><tt>
</tt></td>
<tr
bgcolor=
"#ffc8d8"
><td
rowspan=
2
><tt>
</tt></td>
...
...
oop_imsrg/doc/main.html
View file @
949d5917
...
@@ -48,21 +48,48 @@ y -- in this case, 1D array that contain
...
@@ -48,21 +48,48 @@ y -- in this case, 1D array that contain
(additional
parameters)
<br>
(additional
parameters)
<br>
hamiltonian
--
Hamiltonian
object
<br>
hamiltonian
--
Hamiltonian
object
<br>
occ_tensors
--
OccupationTensors
object
<br>
occ_tensors
--
OccupationTensors
object
<br>
generator
--
Generator
object
<br>
generator
--
Generator
object
<br>
flow
--
Flow
object
<br>
flow
--
Flow
object
<br>
<br>
<br>
Returns:
<br>
Returns:
<br>
<br>
<br>
dy
--
next
step
in
flow
</tt></dd></dl>
dy
--
next
step
in
flow
</tt></dd></dl>
<dl><dt><a
name=
"-get_vacuum_coeffs"
><strong>
get_vacuum_coeffs
</strong></a>
(E, f, G, basis, holes)
</dt></dl>
<dl><dt><a
name=
"-get_vacuum_coeffs"
><strong>
get_vacuum_coeffs
</strong></a>
(E, f, G, basis, holes)
</dt></dl>
<dl><dt><a
name=
"-main"
><strong>
main
</strong></a>
(n_holes, n_particles, ref=[], d=1.0, g=0.5, pb=0.0, verbose=1, flow_data_log=0, generator='wegner')
</dt><dd><tt>
Main
method
uses
scipy.integrate.ode
to
solve
the
IMSRG(2)
flow
<br>
<dl><dt><a
name=
"-main"
><strong>
main
</strong></a>
(n_holes, n_particles, ref=[], d=1.0, g=0.5, pb=0.0, verbose=1, flow_data_log=0, generator='wegner')
</dt><dd><tt>
Main
method
uses
scipy.integrate.ode
to
solve
the
IMSRG(2)
flow
<br>
equations.
</tt></dd></dl>
equations.
<br>
<br>
Arguments:
<br>
<br>
n_holes
--
number
of
hole
states
in
the
SP
basis
(int)
<br>
n_particles
--
number
of
particle
states
in
the
SP
basis
(int)
<br>
<br>
Keyword
arguments:
<br>
<br>
ref
--
reference
state
for
the
IM-SRG
flow
(1D
array)
<br>
d
--
energy
spacing
in
Pairing
model
(default:
1.0)
<br>
g
--
pairing
strength
in
Pairing
model
(default:
0.5)
<br>
pb
--
pair-breaking
in
Pairing-plus-ph
model
(default:
0.0)
<br>
verbose
--
toggles
output
of
flow
information
<br>
flow_data_log
--
toggles
output
of
flow
data
(pickled
IM-SRG
coefficients
every
10
integrator
steps)
<br>
generator
--
specify
generator
to
produce
IM-SRG
flow
<br>
<br>
Returns:
<br>
<br>
convergence
--
0
if
diverged,
1
if
converged
(little
bit
outdated)
<br>
iters
--
number
of
iterations
before
integrator
stopped
<br>
d
--
energy
spacing
in
pairing
model
<br>
g
--
pairing
strength
in
pairing
model
<br>
pb
--
pair-breaking
strength
in
Pairing-plus-ph
model
<br>
num_sp
--
number
of
single
particle
states
<br>
s_vals
--
1D
array
of
flow
parameter
values
<br>
E_vals
--
1D
array
of
zero-body
energy
values
<br>
time_str
--
time
taken
for
flow
completion
(string)
</tt></dd></dl>
<dl><dt><a
name=
"-ravel"
><strong>
ravel
</strong></a>
(y, bas_len)
</dt><dd><tt>
Transforms
1D
array
into
E,
f,
and
G.
Facilitates
<br>
<dl><dt><a
name=
"-ravel"
><strong>
ravel
</strong></a>
(y, bas_len)
</dt><dd><tt>
Transforms
1D
array
into
E,
f,
and
G.
Facilitates
<br>
compatability
with
scipy.integrate.ode.
<br>
compatability
with
scipy.integrate.ode.
<br>
<br>
<br>
Ar
u
gments:
<br>
Arg
u
ments:
<br>
<br>
<br>
y
--
1D
data
array
(output
from
unravel)
<br>
y
--
1D
data
array
(output
from
unravel)
<br>
bas_len
--
length
of
single
particle
basis
<br>
bas_len
--
length
of
single
particle
basis
<br>
<br>
<br>
Returns:
<br>
Returns:
<br>
...
...
Write
Preview
Markdown
is supported
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