pisces.extensions.simulation.arepo.frontends.AREPOFrontend.unit_system#

property AREPOFrontend.unit_system: UnitSystem#

Fetch the unit system for this Gadget-like frontend.

Returns:

The unit system used for this frontend.

Return type:

unyt.unit_systems.UnitSystem

Notes

This property constructs and returns a unit system based on the length, mass, and velocity units specified in the configuration. This allows for easy conversion between the internal units used by the simulation code and the physical units used in the initial conditions.

By default, Gadget-Like codes utilize a length, mass, and velocity based unit system where the time unit is derived from the other three. This is the method used here.