Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix units and unit-conversion factors (#2891)
* Removed redundant units * Removed all 'years' variable and YR_TO_S variables. Found two possible errors. * Made units more understandable * Undid all the raw_uc conversions in tools.py as they are not compatible with numba.jit's optimization. Using the constants YR_TO_S and S_TO_YR. * Removed as many S_TO_YR and YR_TO_S as possible. * Fixed the problem of missing elementary charge (e) constant in base.constants * Undid all S_TO_YR/YR_TO_S changes * Minor fixes to the YR_TO_S * Added back in C_LIGHT * Made sure all of the units used in neutronics matches the units used in plasma_physics
- Loading branch information