Ejemplo n.º 1
0
 public static SpecificEnergy operator *(Speed left, Speed right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.MetersPerSecond * right.MetersPerSecond));
 }
Ejemplo n.º 2
0
 /// <summary>Get <see cref="SpecificEnergy"/> from <see cref="Energy"/> divided by <see cref="Mass"/> </summary>
 public static SpecificEnergy operator /(Energy energy, Mass mass)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(energy.Joules / mass.Kilograms));
 }
Ejemplo n.º 3
0
 public static SpecificEnergy operator *(SpecificEntropy specificEntropy, TemperatureDelta temperatureDelta)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(specificEntropy.JoulesPerKilogramKelvin * temperatureDelta.Kelvins));
 }
Ejemplo n.º 4
0
 /// <summary>Get <see cref="SpecificEnergy"/> from <see cref="Power"/> divided by <see cref="MassFlow"/>.</summary>
 public static SpecificEnergy operator /(Power power, MassFlow massFlow)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(power.Watts / massFlow.KilogramsPerSecond));
 }