Particle classes¶
Class thermo¶
- class o2sclpy.thermo(link, pointer=0)¶
Python interface for class thermo.
- __init__(link, pointer=0)¶
Init function for class thermo
- __del__()¶
Delete function for class thermo
- __copy__()¶
Shallow copy function for class thermo
Returns: thermo object
- property ed¶
Property of type
ctypes.c_double
- property en¶
Property of type
ctypes.c_double
- property pr¶
Property of type
ctypes.c_double
Class part¶
- class o2sclpy.part(link, pointer=0)¶
Python interface for class part.
- __init__(link, pointer=0)¶
Init function for class part
- __del__()¶
Delete function for class part
- __copy__()¶
Shallow copy function for class part
Returns: part object
- property ed¶
Property of type
ctypes.c_double
- property en¶
Property of type
ctypes.c_double
- property g¶
Property of type
ctypes.c_double
- property inc_rest_mass¶
Property of type
ctypes.c_bool
- init(mass, dof)¶
- Parameters:mass:
double
dof:double
- property m¶
Property of type
ctypes.c_double
- property ms¶
Property of type
ctypes.c_double
- property mu¶
Property of type
ctypes.c_double
- property n¶
Property of type
ctypes.c_double
- property non_interacting¶
Property of type
ctypes.c_bool
- property nu¶
Property of type
ctypes.c_double
- property pr¶
Property of type
ctypes.c_double
Class fermion¶
- class o2sclpy.fermion(link, pointer=0)¶
Python interface for O2scl class
fermion
, which is a typedef offermion_tl<double>
. See https://awsteiner.org/code/o2scl-dev/part/html/class/fermion_tl.html .- __init__(link, pointer=0)¶
Init function for class fermion
- __del__()¶
Delete function for class fermion
- __copy__()¶
Shallow copy function for class fermion
Returns: fermion object
- property delta¶
Property of type
ctypes.c_double
- property kf¶
Property of type
ctypes.c_double
Class quark¶
- class o2sclpy.quark(link, pointer=0)¶
Python interface for O2scl class
quark
, See https://awsteiner.org/code/o2scl/html/class/quark.html .- __init__(link, pointer=0)¶
Init function for class quark
- __del__()¶
Delete function for class quark
- __copy__()¶
Shallow copy function for class quark
Returns: quark object
- property B¶
Property of type
ctypes.c_double
- property qq¶
Property of type
ctypes.c_double
Class fermion_zerot¶
- class o2sclpy.fermion_zerot(link, pointer=0)¶
Python interface for class fermion_zerot.
- __init__(link, pointer=0)¶
Init function for class fermion_zerot
- __del__()¶
Delete function for class fermion_zerot
- __copy__()¶
Shallow copy function for class fermion_zerot
Returns: fermion_zerot object
Class fermion_thermo¶
- class o2sclpy.fermion_thermo(link, pointer=0)¶
Python interface for fermion_thermo.
- abstract __init__(link, pointer=0)¶
Init function for class fermion_thermo
- __del__()¶
Delete function for class fermion_thermo
- __copy__()¶
Shallow copy function for class fermion_thermo
Returns: fermion_thermo object
- calc_mu_deg(f, T, prec)¶
- calc_mu_ndeg(f, T, prec, inc_antip)¶
- massless_calc_density(f, T)¶
- massless_calc_mu(f, T)¶
- massless_pair_density(f, T)¶
- massless_pair_mu(f, T)¶
Class fermion_rel¶
- class o2sclpy.fermion_rel(link, pointer=0)¶
Python interface for class fermion_rel.
- __init__(link, pointer=0)¶
Init function for class fermion_rel
- __del__()¶
Delete function for class fermion_rel
- __copy__()¶
Shallow copy function for class fermion_rel
Returns: fermion_rel object
- calc_density(f, T)¶
- calc_mu(f, T)¶
- property deg_entropy_fac¶
Property of type
ctypes.c_double
- property deg_limit¶
Property of type
ctypes.c_double
- property err_nonconv¶
Property of type
ctypes.c_bool
- property min_psi¶
Property of type
ctypes.c_double
- nu_from_n(f, T)¶
- pair_density(f, T)¶
- pair_mu(f, T)¶
- property therm_ident¶
Property of type
ctypes.c_double
- property tol_expan¶
Property of type
ctypes.c_double
- property upper_limit_fac¶
Property of type
ctypes.c_double
- property use_expansions¶
Property of type
ctypes.c_bool
- property verbose¶
Property of type
ctypes.c_int
- property verify_ti¶
Property of type
ctypes.c_bool
Class fermion_nonrel¶
- class o2sclpy.fermion_nonrel(link, pointer=0)¶
Python interface for class fermion_nonrel.
- __init__(link, pointer=0)¶
Init function for class fermion_nonrel
- __del__()¶
Delete function for class fermion_nonrel
- __copy__()¶
Shallow copy function for class fermion_nonrel
Returns: fermion_nonrel object
- calc_density(f, T)¶
- calc_mu(f, T)¶
- nu_from_n(f, T)¶
Class boson¶
- class o2sclpy.boson(link, pointer=0)¶
Python interface for O2scl class
boson
, See https://awsteiner.org/code/o2scl/html/class/boson.html .- __init__(link, pointer=0)¶
Init function for class boson
- __del__()¶
Delete function for class boson
- __copy__()¶
Shallow copy function for class boson
Returns: boson object
- property co¶
Property of type
ctypes.c_double
Class boson_rel¶
- class o2sclpy.boson_rel(link, pointer=0)¶
Python interface for O2scl class
boson_rel
, See https://awsteiner.org/code/o2scl/html/class/boson_rel.html .- __init__(link, pointer=0)¶
Init function for class boson_rel
- __del__()¶
Delete function for class boson_rel
- __copy__()¶
Shallow copy function for class boson_rel
Returns: boson_rel object
- calc_density(b, T)¶
- calc_mu(b, T)¶
- nu_from_n(b, T)¶
- pair_density(b, T)¶
- pair_mu(b, T)¶
Class classical_thermo¶
- class o2sclpy.classical_thermo(link, pointer=0)¶
Python interface for class classical_thermo.
- __init__(link, pointer=0)¶
Init function for class classical_thermo
- __del__()¶
Delete function for class classical_thermo
- __copy__()¶
Shallow copy function for class classical_thermo
Returns: classical_thermo object
- calc_density(p, T)¶
- calc_mu(p, T)¶
Class thermo_np_deriv_press¶
- class o2sclpy.thermo_np_deriv_press(link, pointer=0)¶
Python interface for class thermo_np_deriv_press.
- __init__(link, pointer=0)¶
Init function for class thermo_np_deriv_press
- __del__()¶
Delete function for class thermo_np_deriv_press
- __copy__()¶
Shallow copy function for class thermo_np_deriv_press
Returns: thermo_np_deriv_press object
- property dndmu_mixed¶
Property of type
ctypes.c_double
- property dnndT¶
Property of type
ctypes.c_double
- property dnndmun¶
Property of type
ctypes.c_double
- property dnpdT¶
Property of type
ctypes.c_double
- property dnpdmup¶
Property of type
ctypes.c_double
- property dsdT¶
Property of type
ctypes.c_double
Class thermo_np_deriv_helm¶
- class o2sclpy.thermo_np_deriv_helm(link, pointer=0)¶
Python interface for class thermo_np_deriv_helm.
- __init__(link, pointer=0)¶
Init function for class thermo_np_deriv_helm
- __del__()¶
Delete function for class thermo_np_deriv_helm
- __copy__()¶
Shallow copy function for class thermo_np_deriv_helm
Returns: thermo_np_deriv_helm object
- property dmudn_mixed¶
Property of type
ctypes.c_double
- property dmundT¶
Property of type
ctypes.c_double
- property dmundnn¶
Property of type
ctypes.c_double
- property dmupdT¶
Property of type
ctypes.c_double
- property dmupdnp¶
Property of type
ctypes.c_double
- property dsdT¶
Property of type
ctypes.c_double
Class part_deriv_press¶
- class o2sclpy.part_deriv_press(link, pointer=0)¶
Python interface for class part_deriv_press.
- __init__(link, pointer=0)¶
Init function for class part_deriv_press
- __del__()¶
Delete function for class part_deriv_press
- __copy__()¶
Shallow copy function for class part_deriv_press
Returns: part_deriv_press object
- deriv_f()¶
- Parameters:Returns: , a Python float, a Python float, a Python float
- property dndT¶
Property of type
ctypes.c_double
- property dndmu¶
Property of type
ctypes.c_double
- property dsdT¶
Property of type
ctypes.c_double
Class part_deriv¶
- class o2sclpy.part_deriv(link, pointer=0)¶
Python interface for class part_deriv.
- __init__(link, pointer=0)¶
Init function for class part_deriv
- __del__()¶
Delete function for class part_deriv
- __copy__()¶
Shallow copy function for class part_deriv
Returns: part_deriv object
Class fermion_deriv¶
- class o2sclpy.fermion_deriv(link, pointer=0)¶
Python interface for class fermion_deriv.
- __init__(link, pointer=0)¶
Init function for class fermion_deriv
- __del__()¶
Delete function for class fermion_deriv
- __copy__()¶
Shallow copy function for class fermion_deriv
Returns: fermion_deriv object
Class deriv_thermo_base¶
- class o2sclpy.deriv_thermo_base(link, pointer=0)¶
Python interface for class deriv_thermo_base.
- __init__(link, pointer=0)¶
Init function for class deriv_thermo_base
- __del__()¶
Delete function for class deriv_thermo_base
- __copy__()¶
Shallow copy function for class deriv_thermo_base
Returns: deriv_thermo_base object
- coeff_thermal_exp(p, T)¶
- compress_adiabatic(p, T)¶
- compress_const_tptr(p, T)¶
- heat_cap_ppart_const_press(p, T)¶
- heat_cap_ppart_const_vol(p, T)¶
- squared_sound_speed(p, T)¶
Class classical_deriv_thermo¶
- class o2sclpy.classical_deriv_thermo(link, pointer=0)¶
Python interface for class classical_deriv_thermo.
- __init__(link, pointer=0)¶
Init function for class classical_deriv_thermo
- __del__()¶
Delete function for class classical_deriv_thermo
- __copy__()¶
Shallow copy function for class classical_deriv_thermo
Returns: classical_deriv_thermo object
- calc_density(p, T)¶
- calc_mu(p, T)¶
Class fermion_mag_zerot¶
- class o2sclpy.fermion_mag_zerot(link, pointer=0)¶
Python interface for O2scl class
fermion_mag_zerot
, See https://awsteiner.org/code/o2scl/html/class/fermion_mag_zerot.html .- __init__(link, pointer=0)¶
Init function for class fermion_mag_zerot
- __del__()¶
Delete function for class fermion_mag_zerot
- __copy__()¶
Shallow copy function for class fermion_mag_zerot
Returns: fermion_mag_zerot object
- calc_density_zerot_mag(f, qB, kappa)¶
- calc_mu_zerot_mag(f, qB, kappa)¶
- property nmax_dn¶
Property of type
ctypes.c_int
- property nmax_up¶
Property of type
ctypes.c_int
- property sum_limit¶
Property of type
ctypes.c_int