shamrock.UnitSystem#

class shamrock.UnitSystem#

Bases: pybind11_object

Methods

get

get(self: shamrock.UnitSystem, name: str, power: int = 1, pref: str = 'None') -> float

to

to(self: shamrock.UnitSystem, name: str, power: int = 1, pref: str = 'None') -> float

Binary orbit functions

Binary orbit functions

Simple example of unit usage

Simple example of unit usage

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

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

Regression test : SPH disc

Regression test : SPH disc
get(self: shamrock.UnitSystem, name: str, power: int = 1, pref: str = 'None') float#
to(self: shamrock.UnitSystem, name: str, power: int = 1, pref: str = 'None') float#