EOS classes

O2sclpy

Class eos_base

class o2sclpy.eos_base(link, pointer=0)

Python interface for O2scl class eos_base. See https://awsteiner.org/code/o2scl/html/class/eos_base.html .

__init__(link, pointer=0)

Init function for class eos_base

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_base

__copy__()

Shallow copy function for class eos_base

Returns: eos_base object

get_def_thermo()

Get object of type o2scl::thermo

set_def_thermo(value)

Set object of type o2scl::thermo

Class eos_leptons

class o2sclpy.eos_leptons(link, pointer=0)

Python interface for O2scl class eos_leptons. See https://awsteiner.org/code/o2scl/html/class/eos_leptons.html .

__init__(link, pointer=0)

Init function for class eos_leptons

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_leptons

__copy__()

Shallow copy function for class eos_leptons

Returns: eos_leptons object

default_acc()
property err_nonconv

Property of type ctypes.c_bool

fp_25_acc()
get_e()

Get object of type o2scl::fermion

get_ed()

Get object of type o2scl::part_deriv_press

get_frel()

Get object of type o2scl::fermion_rel

get_mu()

Get object of type o2scl::fermion

get_mud()

Get object of type o2scl::part_deriv_press

get_ph()

Get object of type o2scl::boson

get_phd()

Get object of type o2scl::part_deriv_press

get_th()

Get object of type o2scl::thermo

improved_acc()
property include_deriv

Property of type ctypes.c_bool

property include_muons

Property of type ctypes.c_bool

ld_acc()
pair_density(T)
Parameters:
T: double
Returns: a Python int
pair_density_eq(nq, T)
Parameters:
nq: double
T: double
Returns: a Python int
pair_mu(T)
Parameters:
T: double
Returns: a Python int
pair_mu_eq(T)
Parameters:
T: double
Returns: a Python int
property pde_from_density

Property of type ctypes.c_bool

set_e(value)

Set object of type o2scl::fermion

set_ed(value)

Set object of type o2scl::part_deriv_press

set_frel(value)

Set object of type o2scl::fermion_rel

set_mu(value)

Set object of type o2scl::fermion

set_mud(value)

Set object of type o2scl::part_deriv_press

set_ph(value)

Set object of type o2scl::boson

set_phd(value)

Set object of type o2scl::part_deriv_press

set_th(value)

Set object of type o2scl::thermo

property verbose

Property of type ctypes.c_int

Class eos_had_base

class o2sclpy.eos_had_base(link, pointer=0)

Python interface for O2scl class eos_had_base. See https://awsteiner.org/code/o2scl/html/class/eos_had_base.html .

abstract __init__(link, pointer=0)

Init function for class eos_had_base

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_base

__copy__()

Shallow copy function for class eos_had_base

Returns: eos_had_base object

calc_dmu_delta(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
calc_e(n, p, th)
Parameters:
n: o2scl::fermion object
p: o2scl::fermion object
th: o2scl::thermo object
Returns: a Python int
calc_ed(nn, np)
Parameters:
nn: double
np: double
Returns: a Python float
calc_edensity_nb(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
calc_mun_e(nn, np)
Parameters:
nn: double
np: double
Returns: a Python float
calc_mup_e(nn, np)
Parameters:
nn: double
np: double
Returns: a Python float
calc_musum_delta(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
calc_nn_p(mun, mup)
Parameters:
mun: double
mup: double
Returns: a Python float
calc_np_p(nn, mup)
Parameters:
nn: double
mup: double
Returns: a Python float
calc_p(n, p, th)
Parameters:
n: o2scl::fermion object
p: o2scl::fermion object
th: o2scl::thermo object
Returns: a Python int
calc_pr(nn, np)
Parameters:
nn: double
np: double
Returns: a Python float
calc_pressure_nb(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
property comp

Property of type ctypes.c_double

property eoa

Property of type ctypes.c_double

property err_nonconv

Property of type ctypes.c_bool

property esym

Property of type ctypes.c_double

f_effm_neut(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
f_effm_prot(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
f_effm_scalar(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
f_effm_vector(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
f_inv_number_suscept(mun, mup)
Parameters:
mun: double
mup: double
Returns: , a Python float, a Python float, a Python float
f_number_suscept(mun, mup)
Parameters:
mun: double
mup: double
Returns: , a Python float, a Python float, a Python float
fcomp(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fcomp_err(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float, a Python float
feoa(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fesym(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fesym_curve(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fesym_diff(nb)
Parameters:
nb: double
Returns: a Python float
fesym_err(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float, a Python float
fesym_skew(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fesym_slope(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
feta(nb)
Parameters:
nb: double
Returns: a Python float
feta_prime(nb)
Parameters:
nb: double
Returns: a Python float
fkprime(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fmsom(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fn0(delta)
Parameters:
delta: double
Returns: a Python int, a Python float, a Python float
get_def_neutron()

Get object of type o2scl::fermion

get_def_proton()

Get object of type o2scl::fermion

property kprime

Property of type ctypes.c_double

property msom

Property of type ctypes.c_double

property n0

Property of type ctypes.c_double

saturation()
Returns: a Python int
set_def_neutron(value)

Set object of type o2scl::fermion

set_def_proton(value)

Set object of type o2scl::fermion

Class eos_had_eden_base

class o2sclpy.eos_had_eden_base(link, pointer=0)

Python interface for O2scl class eos_had_eden_base. See https://awsteiner.org/code/o2scl/html/class/eos_had_eden_base.html .

abstract __init__(link, pointer=0)

Init function for class eos_had_eden_base

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_eden_base

__copy__()

Shallow copy function for class eos_had_eden_base

Returns: eos_had_eden_base object

Class eos_had_pres_base

class o2sclpy.eos_had_pres_base(link, pointer=0)

Python interface for O2scl class eos_had_pres_base. See https://awsteiner.org/code/o2scl/html/class/eos_had_pres_base.html .

abstract __init__(link, pointer=0)

Init function for class eos_had_pres_base

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_pres_base

__copy__()

Shallow copy function for class eos_had_pres_base

Returns: eos_had_pres_base object

Class eos_had_temp_base

class o2sclpy.eos_had_temp_base(link, pointer=0)

Python interface for O2scl class eos_had_temp_base. See https://awsteiner.org/code/o2scl/html/class/eos_had_temp_base.html .

abstract __init__(link, pointer=0)

Init function for class eos_had_temp_base

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_temp_base

__copy__()

Shallow copy function for class eos_had_temp_base

Returns: eos_had_temp_base object

calc_temp_e(n, p, T, th)
Parameters:
n: fermion object
p: fermion object
T: double
th: thermo object
Returns: a Python int
calc_temp_p(n, p, T, th)
Parameters:
n: fermion object
p: fermion object
T: double
th: thermo object
Returns: a Python int

Class eos_had_temp_eden_base

class o2sclpy.eos_had_temp_eden_base(link, pointer=0)

Python interface for O2scl class eos_had_temp_eden_base. See https://awsteiner.org/code/o2scl/html/class/eos_had_temp_eden_base.html .

abstract __init__(link, pointer=0)

Init function for class eos_had_temp_eden_base

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_temp_eden_base

__copy__()

Shallow copy function for class eos_had_temp_eden_base

Returns: eos_had_temp_eden_base object

Class eos_had_temp_pres_base

class o2sclpy.eos_had_temp_pres_base(link, pointer=0)

Python interface for O2scl class eos_had_temp_pres_base. See https://awsteiner.org/code/o2scl/html/class/eos_had_temp_pres_base.html .

abstract __init__(link, pointer=0)

Init function for class eos_had_temp_pres_base

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_temp_pres_base

__copy__()

Shallow copy function for class eos_had_temp_pres_base

Returns: eos_had_temp_pres_base object

Class eos_had_skyrme

class o2sclpy.eos_had_skyrme(link, pointer=0)

Python interface for O2scl class eos_had_skyrme. See https://awsteiner.org/code/o2scl/html/class/eos_had_skyrme.html .

__init__(link, pointer=0)

Init function for class eos_had_skyrme

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_skyrme

__copy__()

Shallow copy function for class eos_had_skyrme

Returns: eos_had_skyrme object

property W0

Property of type ctypes.c_double

property a

Property of type ctypes.c_double

property alpha

Property of type ctypes.c_double

property b

Property of type ctypes.c_double

property b4

Property of type ctypes.c_double

property b4p

Property of type ctypes.c_double

get_nrfd()

Get object of type o2scl::fermion_deriv_nr

get_reference()

Get object of type std::string

property parent_method

Property of type ctypes.c_bool

set_nrfd(value)

Set object of type o2scl::fermion_deriv_nr

set_reference(value)

Set object of type std::string

property t0

Property of type ctypes.c_double

property t1

Property of type ctypes.c_double

property t2

Property of type ctypes.c_double

property t3

Property of type ctypes.c_double

property x0

Property of type ctypes.c_double

property x1

Property of type ctypes.c_double

property x2

Property of type ctypes.c_double

property x3

Property of type ctypes.c_double

Class eos_had_apr

class o2sclpy.eos_had_apr(link, pointer=0)

Python interface for O2scl class eos_had_apr. See https://awsteiner.org/code/o2scl/html/class/eos_had_apr.html .

__init__(link, pointer=0)

Init function for class eos_had_apr

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_apr

__copy__()

Shallow copy function for class eos_had_apr

Returns: eos_had_apr object

property parent_method

Property of type ctypes.c_bool

property pion

Property of type ctypes.c_int

Class eos_had_rmf

class o2sclpy.eos_had_rmf(link, pointer=0)

Python interface for O2scl class eos_had_rmf. See https://awsteiner.org/code/o2scl/html/class/eos_had_rmf.html .

__init__(link, pointer=0)

Init function for class eos_had_rmf

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_rmf

__copy__()

Shallow copy function for class eos_had_rmf

Returns: eos_had_rmf object

property a1

Property of type ctypes.c_double

property a2

Property of type ctypes.c_double

property a3

Property of type ctypes.c_double

property a4

Property of type ctypes.c_double

property a5

Property of type ctypes.c_double

property a6

Property of type ctypes.c_double

property b

Property of type ctypes.c_double

property b1

Property of type ctypes.c_double

property b2

Property of type ctypes.c_double

property b3

Property of type ctypes.c_double

property c

Property of type ctypes.c_double

property calc_e_relative

Property of type ctypes.c_bool

property calc_e_steps

Property of type ctypes.c_size_t

property cr

Property of type ctypes.c_double

property cs

Property of type ctypes.c_double

property cw

Property of type ctypes.c_double

get_fields()
Parameters:
Returns: a Python int, a Python float, a Python float, a Python float
property mnuc

Property of type ctypes.c_double

property mr

Property of type ctypes.c_double

property ms

Property of type ctypes.c_double

property mw

Property of type ctypes.c_double

set_fields(sig, ome, rho)
Parameters:
sig: ctypes.c_double
ome: ctypes.c_double
rho: ctypes.c_double
Returns: a Python int, a Python float, a Python float, a Python float
property verbose

Property of type ctypes.c_int

property xi

Property of type ctypes.c_double

property zeta

Property of type ctypes.c_double

property zm_mode

Property of type ctypes.c_bool

Class eos_quark

class o2sclpy.eos_quark(link, pointer=0)

Python interface for O2scl class eos_quark. See https://awsteiner.org/code/o2scl/html/class/eos_quark.html .

__init__(link, pointer=0)

Init function for class eos_quark

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_quark

__copy__()

Shallow copy function for class eos_quark

Returns: eos_quark object

Class eos_quark_bag

class o2sclpy.eos_quark_bag(link, pointer=0)

Python interface for O2scl class eos_quark_bag. See https://awsteiner.org/code/o2scl/html/class/eos_quark_bag.html .

__init__(link, pointer=0)

Init function for class eos_quark_bag

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_quark_bag

__copy__()

Shallow copy function for class eos_quark_bag

Returns: eos_quark_bag object

property bag_constant

Property of type ctypes.c_double

Class eos_quark_njl

class o2sclpy.eos_quark_njl(link, pointer=0)

Python interface for O2scl class eos_quark_njl. See https://awsteiner.org/code/o2scl/html/class/eos_quark_njl.html .

__init__(link, pointer=0)

Init function for class eos_quark_njl

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_quark_njl

__copy__()

Shallow copy function for class eos_quark_njl

Returns: eos_quark_njl object

property B0

Property of type ctypes.c_double

property G

Property of type ctypes.c_double

property K

Property of type ctypes.c_double

property L

Property of type ctypes.c_double

property from_qq

Property of type ctypes.c_bool

property limit

Property of type ctypes.c_double

Class eos_tov

class o2sclpy.eos_tov(link, pointer=0)

Python interface for O2scl class eos_tov. See https://awsteiner.org/code/o2scl/html/class/eos_tov.html .

abstract __init__(link, pointer=0)

Init function for class eos_tov

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_tov

__copy__()

Shallow copy function for class eos_tov

Returns: eos_tov object

ed_from_nb(nb)
Parameters:
nb: double
Returns: a Python float
ed_from_pr(pr)
Parameters:
pr: double
Returns: a Python float
ed_nb_from_pr(pr)
Parameters:
pr: double
Returns: , a Python float, a Python float
has_baryons()
Returns: a Python boolean
nb_from_ed(ed)
Parameters:
ed: double
Returns: a Python float
nb_from_pr(pr)
Parameters:
pr: double
Returns: a Python float
pr_from_ed(ed)
Parameters:
ed: double
Returns: a Python float
pr_from_nb(nb)
Parameters:
nb: double
Returns: a Python float
property verbose

Property of type ctypes.c_int

Class eos_tov_buchdahl

class o2sclpy.eos_tov_buchdahl(link, pointer=0)

Python interface for O2scl class eos_tov_buchdahl. See https://awsteiner.org/code/o2scl/html/class/eos_tov_buchdahl.html .

__init__(link, pointer=0)

Init function for class eos_tov_buchdahl

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_tov_buchdahl

__copy__()

Shallow copy function for class eos_tov_buchdahl

Returns: eos_tov_buchdahl object

property G_km_Msun

Property of type ctypes.c_double

property Pstar

Property of type ctypes.c_double

ed_from_r_gm(r, beta)
Parameters:
r: double
beta: double
Returns: a Python float
exp2lam_from_r_gm(r, beta)
Parameters:
r: double
beta: double
Returns: a Python float
exp2phi_from_r_gm(r, beta)
Parameters:
r: double
beta: double
Returns: a Python float
pr_from_r_gm(r, beta)
Parameters:
r: double
beta: double
Returns: a Python float
rad_from_gm(gm)
Parameters:
gm: double
Returns: a Python float
set_baryon_density(nb, ed)
Parameters:
nb: double
ed: double

Class eos_tov_polytrope

class o2sclpy.eos_tov_polytrope(link, pointer=0)

Python interface for O2scl class eos_tov_polytrope. See https://awsteiner.org/code/o2scl/html/class/eos_tov_polytrope.html .

__init__(link, pointer=0)

Init function for class eos_tov_polytrope

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_tov_polytrope

__copy__()

Shallow copy function for class eos_tov_polytrope

Returns: eos_tov_polytrope object

set_coeff_index(coeff, index)
Parameters:
coeff: double
index: double

Class eos_tov_linear

class o2sclpy.eos_tov_linear(link, pointer=0)

Python interface for O2scl class eos_tov_linear. See https://awsteiner.org/code/o2scl/html/class/eos_tov_linear.html .

__init__(link, pointer=0)

Init function for class eos_tov_linear

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_tov_linear

__copy__()

Shallow copy function for class eos_tov_linear

Returns: eos_tov_linear object

set_cs2_eps0(cs2, eps0)
Parameters:
cs2: double
eps0: double

Class eos_tov_interp

class o2sclpy.eos_tov_interp(link, pointer=0)

Python interface for O2scl class eos_tov_interp. See https://awsteiner.org/code/o2scl/html/class/eos_tov_interp.html .

__init__(link, pointer=0)

Init function for class eos_tov_interp

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_tov_interp

__copy__()

Shallow copy function for class eos_tov_interp

Returns: eos_tov_interp object

default_low_dens_eos()
property err_nonconv

Property of type ctypes.c_bool

gcp10_low_dens_eos(model='BSk20', external=False)
Parameters:
model =”BSk20”: string
external =false: bool
get_full_vece()

Get object of type std::vector

get_full_vecnb()

Get object of type std::vector

get_full_vecp()

Get object of type std::vector

ngl13_low_dens_eos(L, model='PNM', external=False)
Parameters:
L: double
model =”PNM”: string
external =false: bool
ngl13_low_dens_eos2(S, L, nt, fname='')
Parameters:
S: double
L: double
nt: double
fname =””: string
no_low_dens_eos()
read_table(eos, s_cole, s_colp, s_colnb='')
Parameters:
eos: table_units object
s_cole: string
s_colp: string
s_colnb =””: string
s12_low_dens_eos(model='SLy4', external=False)
Parameters:
model =”SLy4”: string
external =false: bool
set_full_vece(value)

Set object of type std::vector

set_full_vecnb(value)

Set object of type std::vector

set_full_vecp(value)

Set object of type std::vector

sho11_low_dens_eos()

Class tov_solve

class o2sclpy.tov_solve(link, pointer=0)

Python interface for O2scl class tov_solve. See https://awsteiner.org/code/o2scl/html/class/tov_solve.html .

__init__(link, pointer=0)

Init function for class tov_solve

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class tov_solve

__copy__()

Shallow copy function for class tov_solve

Returns: tov_solve object

property ang_vel

Property of type ctypes.c_bool

property baryon_mass

Property of type ctypes.c_double

property bmass

Property of type ctypes.c_double

property buffer_size

Property of type ctypes.c_size_t

property calc_gpot

Property of type ctypes.c_bool

property domega_rat

Property of type ctypes.c_double

property err_nonconv

Property of type ctypes.c_bool

fixed(mass, pmax=1e+20)
Parameters:
mass: double
pmax =1.0e20: double
Returns: a Python int
fixed_pr(pcent, pmax=1e+20)
Parameters:
pcent: double
pmax =1.0e20: double
Returns: a Python int
property fixed_pr_guess

Property of type ctypes.c_double

property gen_rel

Property of type ctypes.c_bool

get_results()
property gpot

Property of type ctypes.c_double

property last_f

Property of type ctypes.c_double

property last_rjw

Property of type ctypes.c_double

property mass

Property of type ctypes.c_double

max()
Returns: a Python int
property max_begin

Property of type ctypes.c_double

property max_end

Property of type ctypes.c_double

property max_inc

Property of type ctypes.c_double

property max_integ_steps

Property of type ctypes.c_size_t

property max_table_size

Property of type ctypes.c_size_t

mvsr()
Returns: a Python int
property pcent_max

Property of type ctypes.c_double

property pmax_default

Property of type ctypes.c_double

property prbegin

Property of type ctypes.c_double

property prend

Property of type ctypes.c_double

property princ

Property of type ctypes.c_double

property rad

Property of type ctypes.c_double

property reformat_results

Property of type ctypes.c_bool

set_eos(eos)
Parameters:
eos: eos_tov object
property step_max

Property of type ctypes.c_double

property step_min

Property of type ctypes.c_double

property step_start

Property of type ctypes.c_double

property verbose

Property of type ctypes.c_int

Class tov_love

class o2sclpy.tov_love(link, pointer=0)

Python interface for O2scl class tov_love. See https://awsteiner.org/code/o2scl/html/class/tov_love.html .

__init__(link, pointer=0)

Init function for class tov_love

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class tov_love

__copy__()

Shallow copy function for class tov_love

Returns: tov_love object

add_disc(rd)
Parameters:
rd: double
property addl_testing

Property of type ctypes.c_bool

calc_H()
Parameters:
Returns: a Python int, a Python float, a Python float, a Python float, a Python float, a Python float
calc_y(tabulate)
Parameters:
tabulate: bool
Returns: a Python int, a Python float, a Python float, a Python float, a Python float, a Python float
clear_discs()
property delta

Property of type ctypes.c_double

property eps

Property of type ctypes.c_double

property err_nonconv

Property of type ctypes.c_bool

get_results()

Get object of type table_units

get_tab(tab)

Object of type table_units

set_results(value)

Set object of type table_units

set_tab(value)

Set object of type table_units

property show_ode

Property of type ctypes.c_int

Class nstar_cold

class o2sclpy.nstar_cold(link, pointer=0)

Python interface for O2scl class nstar_cold. See https://awsteiner.org/code/o2scl/html/class/nstar_cold.html .

__init__(link, pointer=0)

Init function for class nstar_cold

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nstar_cold

__copy__()

Shallow copy function for class nstar_cold

Returns: nstar_cold object

property acausal_ed

Property of type ctypes.c_double

property acausal_nb

Property of type ctypes.c_double

property acausal_pr

Property of type ctypes.c_double

property allow_urca_nb

Property of type ctypes.c_double

calc_eos(np_0=0.0)
Parameters:
np_0 =0.0: double
Returns: a Python int
calc_nstar()
Returns: a Python int
property deny_urca_nb

Property of type ctypes.c_double

property dnb

Property of type ctypes.c_double

property eos_neg

Property of type ctypes.c_bool

property err_nonconv

Property of type ctypes.c_bool

fixed(target_mass)
Parameters:
target_mass: double
Returns: a Python int
get_def_tov()

Get object of type tov_solve

get_eos_results()
get_tov_results()
property include_muons

Property of type ctypes.c_bool

property max_row

Property of type ctypes.c_size_t

property nb_end

Property of type ctypes.c_double

property nb_start

Property of type ctypes.c_double

property pressure_dec_nb

Property of type ctypes.c_double

property remove_rows

Property of type ctypes.c_bool

set_eos(eos)
Parameters:
eos: eos_had_base object
property verbose

Property of type ctypes.c_int

Class nucleus_rmf

class o2sclpy.nucleus_rmf(link, pointer=0)

Python interface for O2scl class nucleus_rmf. See https://awsteiner.org/code/o2scl/html/class/nucleus_rmf.html .

__init__(link, pointer=0)

Init function for class nucleus_rmf

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucleus_rmf

__copy__()

Shallow copy function for class nucleus_rmf

Returns: nucleus_rmf object

property etot

Property of type ctypes.c_double

get_chden()
get_profiles()
property r_charge

Property of type ctypes.c_double

property r_charge_cm

Property of type ctypes.c_double

property rnrms

Property of type ctypes.c_double

property rnrp

Property of type ctypes.c_double

property rprms

Property of type ctypes.c_double

run_nucleus(nucleus_Z, nucleus_N, unocc_Z, unocc_N)
Parameters:
nucleus_Z: int
nucleus_N: int
unocc_Z: int
unocc_N: int
Returns: a Python int
property stens

Property of type ctypes.c_double

Function skyrme_load

o2sclpy.skyrme_load(link, sk, model, external, verbose)
Parameters:
link linker object
sk: eos_had_skyrme object
model: string
external: bool
verbose: int

Function rmf_load

o2sclpy.rmf_load(link, rmf, model, external)
Parameters:
link linker object
rmf: eos_had_rmf object
model: string
external: bool