shamrock.Context#

class shamrock.Context#

Bases: pybind11_object

Methods

AMR benchmark for homogeneous density box

AMR benchmark for homogeneous density box

SPH benchmark for homogeneous density box

SPH benchmark for homogeneous density box

Weak scale test for SPH

Weak scale test for SPH

Toro’s “123 problem” with GSPH (exact Riemann solver + Inutsuka V2)

Toro's "123 problem" with GSPH (exact Riemann solver + Inutsuka V2)

Contact-discontinuity advection with GSPH (exact Riemann solver + Inutsuka V2)

Contact-discontinuity advection with GSPH (exact Riemann solver + Inutsuka V2)

Extreme blast wave with GSPH (exact Riemann solver + Inutsuka V2)

Extreme blast wave with GSPH (exact Riemann solver + Inutsuka V2)

Sod shock tube with GSPH (exact Riemann solver + Inutsuka V2)

Sod shock tube with GSPH (exact Riemann solver + Inutsuka V2)

Symmetric gas collision with GSPH (exact Riemann solver + Inutsuka V2)

Symmetric gas collision with GSPH (exact Riemann solver + Inutsuka V2)

Advection test in RAMSES solver

Advection test in RAMSES solver

Compare first- vs second-order interpolation on AMR Sod tube

Compare first- vs second-order interpolation on AMR Sod tube

Kelvin-Helmholtz instability in RAMSES solver

Kelvin-Helmholtz instability in RAMSES solver

Boundary conditions for linear wave propagation

Boundary conditions for linear wave propagation

Sod tube test with pseudogradient based refinment

Sod tube test with pseudogradient based refinment

Toro shocks test in RAMSES solver

Toro shocks test in RAMSES solver

Sphere advection with multiple patch

Sphere advection with multiple patch

Production run: Circular disc & central potential

Production run: Circular disc & central potential

Production run: Black hole disc & lense thirring effect

Production run: Black hole disc & lense thirring effect

Production run: Circular disc & central sink particle

Production run: Circular disc & central sink particle

Cubic lattice reorganisation in SPH

Cubic lattice reorganisation in SPH

Dusty diffusion SPH test

Dusty diffusion SPH test

Dusty settling SPH test

Dusty settling SPH test

Dusty wave SPH test

Dusty wave SPH test

Init a simulation from another simulation

Init a simulation from another simulation

Kelvin-Helmholtz instability in SPH

Kelvin-Helmholtz instability in SPH

Killing sphere for SPH simulation

Killing sphere for SPH simulation

Orszag-Tang vortex in SPH

Orszag-Tang vortex in SPH

Test the pairing instability in SPH

Test the pairing instability in SPH

Production run: Circular disc & pseudo-newtonian Paczynski Wiita potential

Production run: Circular disc & pseudo-newtonian Paczynski Wiita potential

Sink integration test problems

Sink integration test problems

Testing Sod tube with SPH

Testing Sod tube with SPH

Testing Dusty TVA Sod tube with SPH

Testing Dusty TVA Sod tube with SPH

Basic disc simulation

Basic disc simulation

Custom warp disc simulation

Custom warp disc simulation

Using Shamrock SPH rendering module

Using Shamrock SPH rendering module

Shearing box in SPH

Shearing box in SPH

Taylor green vortex in SPH

Taylor green vortex in SPH

SPH Setup logs

SPH Setup logs

Start a SPH simulation from a phantom dump

Start a SPH simulation from a phantom dump

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

Test the Phantom dump writer

Test the Phantom dump writer

Godunov advection test

Godunov advection test

Comparing Sedov blast with 1 patch with Phantom

Comparing Sedov blast with 1 patch with Phantom

Comparing Sedov blast with 8 patches with Phantom

Comparing Sedov blast with 8 patches with Phantom

Testing dusty box with Godunov

Testing dusty box with Godunov

Testing dusty wave with Godunov

Testing dusty wave with Godunov

Testing Extreme Blast Wave with GSPH

Testing Extreme Blast Wave with GSPH

Testing Sod tube with GSPH (exact Riemann solver + Inutsuka V2 force)

Testing Sod tube with GSPH (exact Riemann solver + Inutsuka V2 force)

Testing Sod tube with GSPH

Testing Sod tube with GSPH

Regression test : Godunov soundwave 3D

Regression test : Godunov soundwave 3D

Regression test : SPH disc

Regression test : SPH disc

Regression test : SPH Kelvin-Helmholtz instability

Regression test : SPH Kelvin-Helmholtz instability

Testing reload of old dump

Testing reload of old dump

Isolated star GW emmission

Isolated star GW emmission

Comparing Shamrock disc with Phantom disc

Comparing Shamrock disc with Phantom disc

Test the precision of SG methods in SPH

Test the precision of SG methods in SPH

CI test: rendering a precomputed Field matches rendering by name

CI test: rendering a precomputed Field matches rendering by name

CI test: external forces point mass accretion

CI test: external forces point mass accretion

CI test: sink state stays synchronized across MPI ranks through dump/reload

CI test: sink state stays synchronized across MPI ranks through dump/reload

Testing Sod tube with Godunov

Testing Sod tube with Godunov

Testing Sod tube with Godunov with AMR enabled

Testing Sod tube with Godunov with AMR enabled

Testing Sod tube with SPH

Testing Sod tube with SPH

Testing Sod tube with Zeus

Testing Sod tube with Zeus
close_sched(self: shamrock.pyshamrock.Context) → None#
collect_data(self: shamrock.pyshamrock.Context) → dict#
dump_status(self: shamrock.pyshamrock.Context) → None#
get_patch_list_global(self: shamrock.pyshamrock.Context) → list[shamrock.pyshamrock.Patch]#
init_sched(self: shamrock.pyshamrock.Context, arg0: int, arg1: int) → None#
pdata_layout_add_field(self: shamrock.pyshamrock.Context, arg0: str, arg1: int, arg2: str) → None#
pdata_layout_new(self: shamrock.pyshamrock.Context) → None#
pdata_layout_print(*args, **kwargs)#

Overloaded function.

  1. pdata_layout_print(self: shamrock.pyshamrock.Context) -> None

  2. pdata_layout_print(self: shamrock.pyshamrock.Context) -> None

  3. pdata_layout_print(self: shamrock.pyshamrock.Context) -> None

  4. pdata_layout_print(self: shamrock.pyshamrock.Context) -> None

  5. pdata_layout_print(self: shamrock.pyshamrock.Context) -> None

scheduler_step(self: shamrock.pyshamrock.Context, do_split_merge: bool = True, do_load_balancing: bool = True) → None#
set_coord_domain_bound(self: shamrock.pyshamrock.Context, arg0: Annotated[list[float], FixedSize(3)], arg1: Annotated[list[float], FixedSize(3)]) → None#