Program: MKLSTTTRI

  mklstttri........travel time computation (interface routine for triangular grids)
 
  call: [traveltimes,newttsupport]=mklstttri(lsopt,mygrid,fxd,evalthese,ttsupport);
 
        lsopt: (structure)
               LSOPT structure as returned by MKLSOPT
 
        mygrid: (structure)
               grid structure as returned by MKLSGRIDNEW
 
        fxd: (strcuture)
                    FXD structure as returned by MKLSLS2FXD, containing all
                    data.
 
        evalthese: (structure)
               structure denoting grid nodes to be evaluated, as returned
               by MKLSGRIDNONREADY.
               The following fields are expected:
               .layer: (numeric)
                       layer ID, only one per element of EVALTHESE
               .nodes: (numeric array)
                       list of nodes. This is a sublist of the
                       nodes list in the mygrid.layer field,
                       contining node IDs and coordinates formatted
                       as in the layer structure.
               .listpos: (numeric array)
                       list of positions of the nodes in the
                       original .nodes field of the input layer.
                       evalthese.listpos(i) is the array indes of
                       the node evalthese.nodes(i,:) wihtin the
                       original layer structure.
 
 
        ttsupport: (structure)
                   TTSUPPORT structure. This structure might be as returned
                   by MKLSEMPTYTTSUPPORT, i.e. unspecific, or with fields
                   that are specific for the used travel time software.
 
 
  result: traveltimes: (structure)
                       A travel time structure as returned by
                       mklsemptytraveltimes.
 
                       If TTBOX is used, the travel times contained in here
                       are corrected for the station elevation by computing
                       the travel time of a ray in a layer with surface 
                       velocity and thickness corresponding to the station
                       elevation. The actual ray parameter will be used.
 
 
          newttsupport: (structure)
                   as TTSUPPORT, but with actualized contents.
 
 
  This routine computes traveltimes from all nodes specified in EVALTHESE
  to all stations (in FXD) at which travel time observations are given in FXD.
 
  This routine is the generic interface to external travel time computation
  software. In original form, it contains an interface to TTBOX (Knapmeyer,
  2004, Seismological Research Letters, vol. 75, No. 6, 726-733).
  Interfaces to other software may be integrated. There are some LSOPT
  fields which can be defined according to the needs of the software used.
  You need to construct an appropriate input and you have to transform the
  output into the format of the TRAVELTIMES structure.
 
  Martin Knapmeyer, 31.03.2005, 17.05.2005, 24.01.2007, 25.01.2007,
                    03.05.2007

Read M-File Source Code


eof.