fiesta.units#
This module contains the AREPO units used throughout the code for unit conversions.
The three base Unit
’s defined (in CGS) are:
along with the following derived Unit
’s, for ease of use:
It additionally contains AREPO_xHe
, the helium fractional
abundance assumed in AREPO.
The module allows for changing these variables as required,
which is then propagated elsewhere in the code.
For each of the units, it is possible to see its value through
the .represents
attribute of Unit
class.
For example, AREPO_LENGTH.represents
.
Module Attributes
Base AREPO |
|
Base AREPO |
|
Base AREPO |
|
Derived AREPO |
|
Derived AREPO |
|
Derived AREPO |
|
Helium fractional abundance assumed in AREPO. |
Functions
|
Function to set the value of base unit |
|
Function to set the value of base unit |
|
Function to set the value of base unit |
|
Function to set the Helium fractional abundance |