shamrock.UnitSystem#

class shamrock.UnitSystem#

Bases: pybind11_object

Methods

Binary orbit functions

Binary orbit functions

Equations of state functions

Equations of state functions

Simple example of unit usage

Simple example of unit usage

Basic disc simulation

Basic disc simulation

Custom warp disc simulation

Custom warp disc simulation

Using Shamrock SPH rendering module

Using Shamrock SPH rendering module

Regression test : SPH disc

Regression test : SPH disc

Test the precision of SG methods in SPH

Test the precision of SG methods in SPH
get(self: shamrock.pyshamrock.UnitSystem, name: str, power: int = 1, pref: str = 'None') float#
to(self: shamrock.pyshamrock.UnitSystem, name: str, power: int = 1, pref: str = 'None') float#