parameters: (self)
return_statement: return (self.kstress + self.forces.vir)/self.cell.V
docstring: Calculates the internal stress tensor.
docstring_summary: Calculates the internal stress tensor.
docstring_tokens: Calculates the internal stress tensor .
function: def get_stress(self):
        """Calculates the internal stress tensor."""
  
        return (self.kstress + self.forces.vir)/self.cell.V
function_tokens: def get_stress ( self ) : return ( self . kstress + self . forces . vir ) / self . cell . V