CalcXP: Calculate Horizontal Travel

Description Usage Arguments Details Value Author(s) Examples

View source: R/CalcXP.R

Description

Calculates horizontal travel within a single layer.

Usage

1
CalcXP(p, v, z, zmin, zmax, novertex)

Arguments

p

Ray Parameter (s/deg)

v

Velocity at top and bottom of layer (km/s)

z

Depth at top and bottom of layer (km)

zmin

Minimum allowed depth (km)

zmax

Maximum allowed depth (km)

novertex

Block handling of vertices if TRUE.

Details

All depths and velocities must be flat earth transformed. This is a subordinate routine for CalcXPsum. Regrettably, this is not vectorized; this will be corrected in later editions.

Value

Horizontal distance traveled in layer in flat earth coordinates.

Author(s)

Jake Anderson

Examples

1
#### Not a user routine: subordinate to CalcXPsum.

TauP.R documentation built on May 2, 2019, 3:25 a.m.