shamrock.math.get_periodic_hcp_box#

shamrock.math.get_periodic_hcp_box(dr: float, box_min: Annotated[list[int], FixedSize(3)], box_max: Annotated[list[int], FixedSize(3)]) → tuple[f64_3, f64_3]#

Get the periodic box corresponding to integer lattice coordinates this function will throw if the coordinates asked cannot make a periodic lattice

Args:

dr: the particle spacing in the lattice box_min: integer triplet for the minimal coordinates on the lattice box_max: integer triplet for the maximal coordinates on the lattice

Dusty settling SPH test with COALA coagulation

Dusty settling SPH test with COALA coagulation

Dusty settling SPH test

Dusty settling SPH test

Dusty wave SPH test

Dusty wave SPH test

Wave damping test in SPH with non-ideal MHD

Wave damping test in SPH with non-ideal MHD

Wave damping test for the non-ideal MHD ambipolar diffusion

Wave damping test for the non-ideal MHD ambipolar diffusion