Exemplo n.º 1
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 /(Energy left, Volume right)
 {
     return(Pressure.FromPascals(left.joules / right.cubicMetres));
 }
Exemplo n.º 2
0
 public static Pressure operator /(Force left, Area right)
 {
     return(Pressure.FromPascals(left.newtons / right.squareMetres));
 }
Exemplo n.º 3
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));
 }
Exemplo n.º 4
0
 public static Pressure operator /(Wavenumber left, Flexibility right)
 {
     return(Pressure.FromPascals(left.reciprocalMetres / right.metresPerNewton));
 }
Exemplo n.º 5
0
 public static Pressure operator *(Wavenumber left, Stiffness right)
 {
     return(Pressure.FromPascals(left.reciprocalMetres * right.newtonsPerMetre));
 }
Exemplo n.º 6
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 /(SpecificEnergy left, SpecificVolume right)
 {
     return(Pressure.FromPascals(left.joulesPerKilogram / right.cubicMetresPerKilogram));
 }
Exemplo n.º 7
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 *(SpecificEnergy left, Density right)
 {
     return(Pressure.FromPascals(left.joulesPerKilogram * right.kilogramsPerCubicMetre));
 }