Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 79d90872 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

make physical constants writeable

parent 152e51b6
No related branches found
No related tags found
No related merge requests found
...@@ -42,12 +42,12 @@ namespace TUGraz.VectoCore.Utils ...@@ -42,12 +42,12 @@ namespace TUGraz.VectoCore.Utils
/// <summary> /// <summary>
/// Density of air. /// Density of air.
/// </summary> /// </summary>
public static readonly SI AirDensity = 1.188.SI().Kilo.Gramm.Per.Cubic.Meter; public static SI AirDensity = 1.188.SI().Kilo.Gramm.Per.Cubic.Meter;
/// <summary> /// <summary>
/// Density of fuel. /// Density of fuel.
/// </summary> /// </summary>
public static readonly SI FuelDensity = 0.832.SI().Kilo.Gramm.Per.Cubic.Dezi.Meter; public static SI FuelDensity = 0.832.SI().Kilo.Gramm.Per.Cubic.Dezi.Meter;
public static readonly double RollResistanceExponent = 0.9; public static readonly double RollResistanceExponent = 0.9;
...@@ -57,6 +57,6 @@ namespace TUGraz.VectoCore.Utils ...@@ -57,6 +57,6 @@ namespace TUGraz.VectoCore.Utils
/// <summary> /// <summary>
/// fuel[kg] => co2[kg]. Factor to convert from fuel weight to co2 weight. /// fuel[kg] => co2[kg]. Factor to convert from fuel weight to co2 weight.
/// </summary> /// </summary>
public static readonly double CO2PerFuelWeight = 3.16; public static double CO2PerFuelWeight = 3.16;
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment