BubbleProfiler
0.3.0
by Peter Athron, Csaba Balazs, Michael Bardsley, Andrew Fowlie, Dylan Harries & Graham White
|
Classes | |
class | Settings |
Functions | |
def | make_struct (settings) |
def | action (E, alpha, dim=3, kwargs) |
Variables | |
PATH = os.path.dirname(os.path.abspath(__file__)) | |
string | LIB_NAME = '{}/../lib/libbubbler.so' |
lib = ctypes.CDLL(LIB_NAME) | |
c_action = lib.action | |
argtypes | |
restype | |
default = Settings() | |
shoot_bisect_bits | |
action_arrived_rel | |
shoot_ode_abs | |
shoot_ode_rel | |
action_ode_abs | |
action_ode_rel | |
drho_frac | |
evolve_change_rel | |
evolve_rho_min | |
bisect_lambda_max | |
iter_max | |
periods_max | |
f_y_max | |
f_y_min | |
int | E = 1 |
float | alpha = 0.65 |
Solve one-dimensional bounce problem with shooting method ========================================================== export LD_PRELOAD=/usr/lib/libginac.so.2.1.0:/usr/lib/x86_64-linux-gnu/libboost_log.so.1.61.0:/usr/lib/x86_64-linux-gnu/libnlopt.so.0.8.1:/usr/lib/x86_64-linux-gnu/libalglib.so.3.8.0
def pyshooting.action | ( | E, | |
alpha, | |||
dim = 3 , |
|||
kwargs | |||
) |
Wrapper for C function that calculates action.
Definition at line 71 of file pyshooting.py.
References c_action, and make_struct().
def pyshooting.make_struct | ( | settings | ) |
Populate struct for Shooting::default from a dictionary.
Definition at line 60 of file pyshooting.py.
Referenced by action().
pyshooting.action_arrived_rel |
Definition at line 45 of file pyshooting.py.
pyshooting.action_ode_abs |
Definition at line 48 of file pyshooting.py.
pyshooting.action_ode_rel |
Definition at line 49 of file pyshooting.py.
float pyshooting.alpha = 0.65 |
Definition at line 81 of file pyshooting.py.
pyshooting.argtypes |
Definition at line 18 of file pyshooting.py.
pyshooting.bisect_lambda_max |
Definition at line 53 of file pyshooting.py.
pyshooting.c_action = lib.action |
Definition at line 17 of file pyshooting.py.
Referenced by action().
pyshooting.default = Settings() |
Definition at line 43 of file pyshooting.py.
pyshooting.drho_frac |
Definition at line 50 of file pyshooting.py.
int pyshooting.E = 1 |
Definition at line 80 of file pyshooting.py.
Referenced by action(), and configure_file().
pyshooting.evolve_change_rel |
Definition at line 51 of file pyshooting.py.
pyshooting.evolve_rho_min |
Definition at line 52 of file pyshooting.py.
pyshooting.f_y_max |
Definition at line 56 of file pyshooting.py.
pyshooting.f_y_min |
Definition at line 57 of file pyshooting.py.
pyshooting.iter_max |
Definition at line 54 of file pyshooting.py.
pyshooting.lib = ctypes.CDLL(LIB_NAME) |
Definition at line 16 of file pyshooting.py.
string pyshooting.LIB_NAME = '{}/../lib/libbubbler.so' |
Definition at line 14 of file pyshooting.py.
pyshooting.PATH = os.path.dirname(os.path.abspath(__file__)) |
Definition at line 13 of file pyshooting.py.
pyshooting.periods_max |
Definition at line 55 of file pyshooting.py.
pyshooting.restype |
Definition at line 19 of file pyshooting.py.
pyshooting.shoot_bisect_bits |
Definition at line 44 of file pyshooting.py.
pyshooting.shoot_ode_abs |
Definition at line 46 of file pyshooting.py.
pyshooting.shoot_ode_rel |
Definition at line 47 of file pyshooting.py.