shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup#

class shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup#

Bases: pybind11_object

Methods

Init a simulation from another simulation

Init a simulation from another simulation

Killing sphere for SPH simulation

Killing sphere for SPH simulation

Basic disc simulation

Basic disc simulation

Custom warp disc simulation

Custom warp disc simulation

Using Shamrock SPH rendering module

Using Shamrock SPH rendering module

Tracking particles by id in SPH

Tracking particles by id in SPH

Uniform box in SPH

Uniform box in SPH

Init a simulation from an upscaled simulation

Init a simulation from an upscaled simulation
apply_setup(self: shamrock.pyshamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, setup: shammodels::sph::modules::ISPHSetupNode, *, part_reordering: bool = True, gen_step: Optional[int] = None, insert_step: Optional[int] = None, msg_count_limit: Optional[int] = None, rank_comm_size_limit: Optional[int] = None, max_msg_size: Optional[int] = None, do_setup_log: bool = False, use_new_setup: bool = True) None#
make_combiner_add(self: shamrock.pyshamrock.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.pyshamrock.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_from_context(self: shamrock.pyshamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, arg0: shamrock.pyshamrock.Context) shammodels::sph::modules::ISPHSetupNode#
make_generator_lattice_cubic(self: shamrock.pyshamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, arg0: float, arg1: f64_3, arg2: f64_3) shammodels::sph::modules::ISPHSetupNode#
make_generator_lattice_hcp(self: shamrock.pyshamrock.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.pyshamrock.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.pyshamrock.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.pyshamrock.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_split_part(self: shamrock.pyshamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, parent: shammodels::sph::modules::ISPHSetupNode, n_split: int, seed: int, h_scaling: float = 0.6) shammodels::sph::modules::ISPHSetupNode#
make_modifier_warp_disc(self: shamrock.pyshamrock.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#