[][src]Function capra::common::mtr_bar

pub fn mtr_bar(mtr: f64, metres_per_bar: f64) -> f64

Helper function to convert a depth of water to the pressure it will induce.

Arguments

  • mtr - Depth of water.
  • metres_per_bar - Depth of water required to induce 1 bar of pressure.