CalcXPsum: Horizontal Distance along Ray Leg
Description
Calculates horizontal distance traveled by ray over given
depth range.
Usage
CalcXPsum(p, v, z, zmin, zmax, novertex)
Arguments
novertex
Flag to prevent consideration of vertices
Value
Horizontal travel distance between zmin and zmax (km, flat earth).
Details
All depths and velocities are flat earth coordinates. This
routine is not vectorized; vectorization is a high priority for future
releases. This routine is subordinate to FindDist4p.
Examples
Run this code# NOT RUN {
### Not a user routine--subordinate to FindDist4p.
# }
Run the code above in your browser using DataLab