Program: MKLSGRIDCONTINENTS

  mklsgridcontinents.......triangular grid demo showing continents
 
  call: mklsgridcontinents(mode,elevation,maxiter);
 
        mode: (string)
              defines which demo to show
              available are:
              'continents': produce triangular grid that is locally refined on land
                            and coarse on water.
              'coasts':     produce triangular grid that islocally refined
                            at coasts, but not on water and not inside
                            continents.
     elevation (number) [m]
              The routine adapts the grid to be fine at areas with
              elevation at or above this level.
     maxiter: (number)
              max number of iterations to be applied
 
  result: none
 
  The program writes some statistics to the screen:
  - iteration number (0 means grid initialization)
  - number of triangles checked for being on land or water, which is the
    number of triangls in the grid.
  - number of triangles that will be iterated
  - number of nodes AFTER iteration
  - time spent for checking, defining which triangles to iterate and for
    the iteration itself
 
  For the zero-th iteration, the number of "checking tri." is the number of
  triangles in the initial grid, and the number of nodes is the number of
  nodes in the initial grid.
 
  Martin Knapmeyer, 29.09.2004, 24.01.2005, 08.05.2008

Read M-File Source Code


eof.