示例#1
0
 public static Pressure operator /(Force left, Area right)
 {
     return(Pressure.FromPascals(left.newtons / right.squareMetres));
 }
示例#2
0
 public static Pressure operator *(Density left, SpecificEnergy right)
 {
     return(Pressure.FromPascals(left.kilogramsPerCubicMetre * right.joulesPerKilogram));
 }
示例#3
0
 /// <summary>
 /// Multiplies <paramref name="left"/> with <paramref name="right"/>
 /// </summary>
 /// <param name="left">The left value</param>
 /// <param name="right">The right value</param>
 /// <returns>The <see cref="Pressure"/> that is the result from the multiplication.</returns>
 public static Pressure operator *(Wavenumber left, Stiffness right)
 {
     return(Pressure.FromPascals(left.reciprocalMetres * right.newtonsPerMetre));
 }
示例#4
0
 /// <summary>
 /// Divides <paramref name="left"/> by <paramref name="right"/>
 /// </summary>
 /// <param name="left">The left value</param>
 /// <param name="right">The right value</param>
 /// <returns>The <see cref="Pressure"/> that is the result from the division.</returns>
 public static Pressure operator /(Wavenumber left, Flexibility right)
 {
     return(Pressure.FromPascals(left.reciprocalMetres / right.metresPerNewton));
 }
 public static Pressure operator /(Stiffness left, Length right)
 {
     return(Pressure.FromPascals(left.newtonsPerMetre / right.metres));
 }
示例#6
0
 /// <summary>
 /// Multiplies <paramref name="left"/> with <paramref name="right"/>
 /// </summary>
 /// <param name="left">The left value</param>
 /// <param name="right">The right value</param>
 /// <returns>The <see cref="Pressure"/> that is the result from the multiplication.</returns>
 public static Pressure operator *(AreaDensity left, Acceleration right)
 {
     return(Pressure.FromPascals(left.kilogramsPerSquareMetre * right.metresPerSecondSquared));
 }
示例#7
0
 public static Pressure operator /(Energy left, Volume right)
 {
     return(Pressure.FromPascals(left.joules / right.cubicMetres));
 }
 /// <summary>
 /// Divides <paramref name="left"/> by <paramref name="right"/>
 /// </summary>
 /// <param name="left">The left value</param>
 /// <param name="right">The right value</param>
 /// <returns>The <see cref="Pressure"/> that is the result from the division.</returns>
 public static Pressure operator /(SpecificEnergy left, SpecificVolume right)
 {
     return(Pressure.FromPascals(left.joulesPerKilogram / right.cubicMetresPerKilogram));
 }
示例#9
0
 /// <summary>
 /// Divides <paramref name="left"/> by <paramref name="right"/>
 /// </summary>
 /// <param name="left">The left value</param>
 /// <param name="right">The right value</param>
 /// <returns>The <see cref="Pressure"/> that is the result from the division.</returns>
 public static Pressure operator /(Power left, VolumetricFlow right)
 {
     return(Pressure.FromPascals(left.watts / right.cubicMetresPerSecond));
 }