pub fn compute_pressure(&mut self) -> FailResult<[f64; 6]>
    {Ok({
        self.update_computation()?;

        unsafe {
            self.ptr.borrow_mut().extract_compute_1d("RSP2_Pressure".into(), ComputeStyle::Global, 6)
        }?.to_array()
    })}
/// Get the pressure tensor, possibly performing some computations if necessary.
Get the pressure tensor, possibly performing some computations if necessary.
Get the pressure tensor possibly performing some computations if necessary .
pub fn compute_pressure(&mut self) -> FailResult<[f64; 6]>
    {Ok({
        self.update_computation()?;
        unsafe {
            self.ptr.borrow_mut().extract_compute_1d("RSP2_Pressure".into(), ComputeStyle::Global, 6)
        }?.to_array()
    })}
pub fn compute_pressure ( & mut self ) -> FailResult < [ f64 ; 6 ] > { Ok ( { self . update_computation ( ) ? ; unsafe { self . ptr . borrow_mut ( ) . extract_compute_1d ( " " . into ( ) , ComputeStyle :: Global , 6 ) } ? . to_array ( ) } ) }
Get the pressure tensor, possibly performing some computations if necessary.
Get the pressure tensor possibly performing some computations if necessary .
&mut self
&mut self