shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup#

class shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup#

Bases: pybind11_object

Methods

apply_setup

make_combiner_add

make_generator_disc_mc

make_generator_lattice_hcp

warp_disc

Basic disc simulation

Basic disc simulation
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) 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#
warp_disc(self: shamrock.model_sph.SPHModel_f64_3_M4_SPHSetup, *, setup2warp: shammodels::sph::modules::ISPHSetupNode, Rwarp: float, Hwarp: float, inclination: float, posangle: float = 0.0) shammodels::sph::modules::ISPHSetupNode#