pub fn simulated_temperature(&mut self, temperature: Option<f64>) {
        if let Some(temperature) = temperature {
            assert!(temperature >= 0.0, "External temperature must be positive");
        }
        self.external_temperature = temperature;
    }
/// Use an external temperature for all the system properties. Calling this
/// with `Some(temperature)` will replace all the computation of the
/// temperature from the velocities with the given values. Calling it with
/// `None` will use the velocities.
///
/// The default is to use the velocities unless this function is called.
Use an external temperature for all the system properties. Calling this
with `Some(temperature)` will replace all the computation of the
temperature from the velocities with the given values. Calling it with
`None` will use the velocities.

The default is to use the velocities unless this function is called.
Use an external temperature for all the system properties . Calling this with ` Some ( temperature ) ` will replace all the computation of the temperature from the velocities with the given values . Calling it with ` None ` will use the velocities . The default is to use the velocities unless this function is called .
pub fn simulated_temperature(&mut self, temperature: Option<f64>) {
        if let Some(temperature) = temperature {
            assert!(temperature >= 0.0, "External temperature must be positive");
        }
        self.external_temperature = temperature;
    }
pub fn simulated_temperature ( & mut self , temperature : Option < f64 > ) { if let Some ( temperature ) = temperature { assert ! ( temperature 0.0 " " ) ; } self . external_temperature = temperature ; }
Use an external temperature for all the system properties.
Use an external temperature for all the system properties .
&mut self
temperature
Option<f64>