shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup#

class shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup#

Bases: pybind11_object

Methods

apply_setup

apply_setup(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, setup: shammodels::sph::modules::ISPHSetupNode, *, part_reordering: bool = True, insert_step: Optional[int] = None) -> None

make_combiner_add

make_combiner_add(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, arg0: shammodels::sph::modules::ISPHSetupNode, arg1: shammodels::sph::modules::ISPHSetupNode) -> shammodels::sph::modules::ISPHSetupNode

make_generator_disc_mc

make_generator_disc_mc(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, part_mass: float, disc_mass: float, r_in: float, r_out: float, sigma_profile: Callable[[float], float], H_profile: Callable[[float], float], rot_profile: Callable[[float], float], cs_profile: Callable[[float], float], random_seed: int, init_h_factor: float = 0.8) -> shammodels::sph::modules::ISPHSetupNode

make_generator_lattice_hcp

make_generator_lattice_hcp(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, arg0: float, arg1: f64_3, arg2: f64_3) -> shammodels::sph::modules::ISPHSetupNode

make_modifier_custom_warp

make_modifier_custom_warp(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, parent: shammodels::sph::modules::ISPHSetupNode, inc_profile: Callable[[float], float], psi_profile: Callable[[float], float], k_profile: Callable[[float], f64_3]) -> shammodels::sph::modules::ISPHSetupNode

make_modifier_filter

make_modifier_filter(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, parent: shammodels::sph::modules::ISPHSetupNode, filter: Callable[[f64_3], bool]) -> shammodels::sph::modules::ISPHSetupNode

make_modifier_offset

make_modifier_offset(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, parent: shammodels::sph::modules::ISPHSetupNode, offset_position: f64_3, offset_velocity: f64_3) -> shammodels::sph::modules::ISPHSetupNode

make_modifier_warp_disc

make_modifier_warp_disc(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, parent: shammodels::sph::modules::ISPHSetupNode, Rwarp: float, Hwarp: float, inclination: float, posangle: float = 0.0) -> shammodels::sph::modules::ISPHSetupNode

Sphere advection with multiple patch

Sphere advection with multiple patch

Production run: Circular disc & central potential

Production run: Circular disc & central potential

Killing sphere for SPH simulation

Killing sphere for SPH simulation

Basic disc simulation

Basic disc simulation

Custom warp disc simulation

Custom warp disc simulation

Tracking particles by id in SPH

Tracking particles by id in SPH

Uniform box in SPH

Uniform box in SPH
apply_setup(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, setup: shammodels::sph::modules::ISPHSetupNode, *, part_reordering: bool = True, insert_step: Optional[int] = None) None#
make_combiner_add(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, arg0: shammodels::sph::modules::ISPHSetupNode, arg1: shammodels::sph::modules::ISPHSetupNode) shammodels::sph::modules::ISPHSetupNode#
make_generator_disc_mc(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, part_mass: float, disc_mass: float, r_in: float, r_out: float, sigma_profile: Callable[[float], float], H_profile: Callable[[float], float], rot_profile: Callable[[float], float], cs_profile: Callable[[float], float], random_seed: int, init_h_factor: float = 0.8) shammodels::sph::modules::ISPHSetupNode#
make_generator_lattice_hcp(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, arg0: float, arg1: f64_3, arg2: f64_3) shammodels::sph::modules::ISPHSetupNode#
make_modifier_custom_warp(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, parent: shammodels::sph::modules::ISPHSetupNode, inc_profile: Callable[[float], float], psi_profile: Callable[[float], float], k_profile: Callable[[float], f64_3]) shammodels::sph::modules::ISPHSetupNode#
make_modifier_filter(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, parent: shammodels::sph::modules::ISPHSetupNode, filter: Callable[[f64_3], bool]) shammodels::sph::modules::ISPHSetupNode#
make_modifier_offset(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, parent: shammodels::sph::modules::ISPHSetupNode, offset_position: f64_3, offset_velocity: f64_3) shammodels::sph::modules::ISPHSetupNode#
make_modifier_warp_disc(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, parent: shammodels::sph::modules::ISPHSetupNode, Rwarp: float, Hwarp: float, inclination: float, posangle: float = 0.0) shammodels::sph::modules::ISPHSetupNode#