shamrock.Context#

class shamrock.Context#

Bases: pybind11_object

Methods

Kelvin-Helmholtz instability in RAMSES solver

Kelvin-Helmholtz instability in RAMSES solver

Boundary conditions for linear wave propagation

Boundary conditions for linear wave propagation

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

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

Test the pairing instability in SPH

Test the pairing instability in 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

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

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

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

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#