DOCUMENTATION

SYNOPSIS

PERL PROGRAM NAME:  MAKEVEL - MAKE a VELocity function v(x,y,z)				
AUTHOR: Juan Lorenzo (Perl module only)
DATE:   
DESCRIPTION:
Version: 

USE

NOTES

Examples

SEISMIC UNIX NOTES

MAKEVEL - MAKE a VELocity function v(x,y,z)				

makevel > outfile nx= nz= [optional parameters]			

Required Parameters:							
nx=                    number of x samples (3rd dimension)		
nz=                    number of z samples (1st dimension)		

Optional Parameters:							
ny=1                   number of y samples (2nd dimension)		
dx=1.0                 x sampling interval				
fx=0.0                 first x sample					
dy=1.0                 y sampling interval				
fy=0.0                 first y sample					
dz=1.0                 z sampling interval				
fz=0.0                 first z sample					
v000=2.0               velocity at (x=0,y=0,z=0)			
dvdx=0.0               velocity gradient with respect to x		
dvdy=0.0               velocity gradient with respect to y		
dvdz=0.0               velocity gradient with respect to z		
vlens=0.0              velocity perturbation in parabolic lens	
tlens=0.0              thickness of parabolic lens			
dlens=0.0              diameter of parabolic lens			
xlens=                 x coordinate of center of parabolic lens	
ylens=                 y coordinate of center of parabolic lens	
zlens=                 z coordinate of center of parabolic lens	
vran=0.0		standard deviation of random perturbation	
vzfile=                file containing v(z) profile			
vzran=0.0              standard deviation of random perturbation to v(z)
vzc=0.0                v(z) chirp amplitude				
z1c=fz                 z at which to begin chirp			
z2c=fz+(nz-1)*dz       z at which to end chirp			
l1c=dz                 wavelength at beginning of chirp		
l2c=dz                 wavelength at end of chirp			
exc=1.0                exponent of chirp
				

CHANGES and their DATES

sub Step

collects switches and assembles bash instructions by adding the program name

sub note

collects switches and assembles bash instructions by adding the program name

sub clear

sub dlens

sub dvdx

sub dvdy

sub dvdz

sub dx

sub dy

sub dz

sub exc

sub fx

sub fy

sub fz

sub l1c

sub l2c

sub nx

sub ny

sub nz

sub tlens

sub v000

sub vlens

sub vran

sub vzc

sub vzfile

sub vzran

sub xlens

sub ylens

sub z1c

sub z2c

sub zlens

sub get_max_index

max index = number of input variables -1