setSTRESS: Set Stress Tensor

Description Usage Arguments Details Value Author(s) Examples

Description

Set Stress Tensor: given either 3-vector, or 6-vector, create the symmetric stress tensor matrix.

Usage

1
setSTRESS(Stensor)

Arguments

Stensor

stress tensor as a vector or a 3 by 3 matrix, a 3-vector (principal stresses) or a 6-vector (principal and off diagonal in row-order.

Details

Can be either three components of diagonal, or six components of the stress tensor. If the number of elements is neither 3 nor 6, returns NULL and an error message.

Value

List: eigen value decomposition

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples

1
2
3
ES = setSTRESS(c(12, -6, 3) )

ES = setSTRESS(c(12, -6, 3, 3, 6, 1) )

geophys documentation built on May 1, 2019, 9:26 p.m.