shamrock.Context#

class shamrock.Context#

Bases: pybind11_object

Methods

Weak scale test for SPH

Weak scale test for SPH

Cubic lattice reorganisation in SPH

Cubic lattice reorganisation in SPH

Init a simulation from another simulation

Init a simulation from another simulation

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

Taylor green vortex in SPH

Taylor green vortex in SPH

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

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

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#