shamrock#

Python bindings for Shamrock

Functions

change_loglevel

change_loglevel(arg0: int) -> None

clear_profiling_data

clear_profiling_data() -> None

compare_phantom_dumps

compare_phantom_dumps(arg0: shamrock.PhantomDump, arg1: shamrock.PhantomDump) -> bool

dump_profiling

dump_profiling(arg0: str) -> None

dump_profiling_chrome

dump_profiling_chrome(arg0: str) -> None

get_Model_Ramses

get_Model_Ramses(*, context: ShamrockCtx, vector_type: str, grid_repr: str) -> Union[shamrock.model_ramses.RamsesModel_f64_3_i64_3_Model]

get_Model_SPH

get_Model_SPH(*, context: ShamrockCtx, vector_type: str, sph_kernel: str) -> Union[shamrock.model_sph.SPHModel_f64_3_M4, shamrock.model_sph.SPHModel_f64_3_M6, shamrock.model_sph.SPHModel_f64_3_M8]

get_Model_Zeus

get_Model_Zeus(*, context: ShamrockCtx, vector_type: str, grid_repr: str) -> Union[shamrock.model_zeus.ZeusModel_f64_3_i64_3_Model]

get_compile_arg

get_compile_arg() -> str

get_git_info

get_git_info() -> str

is_git

is_git() -> bool

load_phantom_dump

load_phantom_dump(arg0: str) -> shamrock.PhantomDump

print_compile_arg

print_compile_arg() -> None

print_git_info

print_git_info() -> None

version_string

version_string() -> str

Classes