Program: MKLSGRIDEXPORTTRI

  mklsgridexport.......export x/y/z coordinates of triangular grid points
 
  call: mklsgridexport(lsopt,mygrid,filename);
 
               lsopt: (struct)
                      LOCSMITH options structure as returned by MKLSOPT
             
                grid: (struct)
                      a grid structure as returned by MKLSGRIDNEW.
                      This grid will be refined according to the settings
                      in the other parameters.
 
            filename: (string)
                      a string specifying a file name
 
 
  result: none
 
  The routine writes a file named FILENAME into the current directory (the
  working directory of MatLab), containing cartesian coordinates of a grid.
 
  The routine currently exports only the first layer of the grid (assuming
  that there is only one layer)
 
 
  The file contains:
  1st line: number of points
  2nd to n-th line: x y z coordinates of points
 
 
  NOTE that the routine alsways runs on verbosity level 1 to let you know
  that files are written!
 
  Martin Knapmeyer, 07.09.2006

Read M-File Source Code


eof.