Repository navigation
[Runtime Parameters] Units
hyschive edited this page Sep 27, 2026
·
4 revisions
Parameters described on this page: OPT__UNIT, UNIT_L, UNIT_M, UNIT_T, UNIT_V, UNIT_D
Other related parameters: NEWTON_G, ELBDM_MASS, ELBDM_PLANCK_CONST
Parameters below are shown in the format: Name (Valid Values) [Default Value]
-
- Description: Enable code units. One must also set exactly three units among UNIT_L, UNIT_M, UNIT_T, UNIT_V, UNIT_D (unless the compilation option --comoving is adopted; see Units in Cosmological Simulations for details). See also Unit Consistency.
- Restriction: It will be turned on automatically when enabling the compilation option --comoving.
-
- Description: Length unit in CGS.
- Restriction: It will be overwritten when enabling the compilation option --comoving. See Units in Cosmological Simulations for details.
-
- Description: Mass unit in CGS.
- Restriction: It will be overwritten when enabling the compilation option --comoving. See Units in Cosmological Simulations for details.
-
- Description: Time unit in CGS.
- Restriction: It will be overwritten when enabling the compilation option --comoving. See Units in Cosmological Simulations for details.
-
- Description: Velocity unit in CGS.
- Restriction: It will be overwritten when enabling the compilation option --comoving. See Units in Cosmological Simulations for details.
-
- Description: Mass density unit in CGS.
- Restriction: It will be overwritten when enabling the compilation option --comoving. See Units in Cosmological Simulations for details.
Getting Started
User Guide
- Installation
- Running the Code
- Adding New Simulations
- Runtime Parameters
- MPI and OpenMP
- GPU
- Units
- Physics Modules
- Timestep
- Refinement
- Outputs
- Simulation Logs
- Data Analysis
- In Situ Python Analysis
- Test Problems
- Troubleshooting
Advanced Topics
Developer Guide