okadafull tools

A group of routines that allows to interact with the okada4py routine.

Written by R. Jolivet, Feb 2014.

csi.okadafull.ArraySizes(*args)

Only requirement is that each arguments has the same size and can be converted to a numpy array Returns : Numpy arrays

csi.okadafull.displacement(xs, ys, zs, xc, yc, zc, width, length, strike, dip, ss, ds, ts, nu=0.25)
Returns the displacements at the stations located on (xs, ys, zs) for patches

with centers on (xc, yc, zc). All arguments can be float, list or array.

csi.okadafull.strain(xs, ys, zs, xc, yc, zc, width, length, strike, dip, ss, ds, ts, nu=0.25, full=False)
Returns the strain at the stations located on (xs, ys, zs) for patches

with centers on (xc, yc, zc). All arguments can be float, list or array.

if Full is True, returns the full strain tensor,

is False, returns and array [nstations, 9] = [Uxx, Uxy, Uxz, Uyx, Uyy, Uyz, Uzx, Uzy, Uzz]

csi.okadafull.stress(xs, ys, zs, xc, yc, zc, width, length, strike, dip, ss, ds, ts, mu=30000000000.0, nu=0.25, full=False)
Returns the stress at the stations located on (xs, ys, zs) for patches

with centers on (xc, yc, zc). All arguments can be float, list or array.

if Full is True, returns the full strain tensor,

is False, returns and array [nstations, 6] = [Sxx, Sxy, Sxz, Syy, Syz, Szz]