pub fn stress(&self) -> Matrix3 {
        match self.external_temperature {
            Some(temperature) => {
                StressAtTemperature {
                    temperature: temperature,
                }.compute(self)
            }
            None => Stress.compute(self),
        }
    }
/// Get the stress tensor of the system from the virial equation.
Get the stress tensor of the system from the virial equation.
Get the stress tensor of the system from the virial equation .
pub fn stress(&self) -> Matrix3 {
        match self.external_temperature {
            Some(temperature) => {
                StressAtTemperature {
                    temperature: temperature,
                }.compute(self)
            }
            None => Stress.compute(self),
        }
    }
pub fn stress ( & self ) -> Matrix3 { match self . external_temperature { Some ( temperature ) => { StressAtTemperature { temperature : temperature , } . compute ( self ) } None => Stress . compute ( self ) , } }
Get the stress tensor of the system from the virial equation.
Get the stress tensor of the system from the virial equation .
&self