Program: MKLSGRIDGETTRIANGLE

  mklsgridgettriangle.....identify triangles that use given nodes
 
  call: triids=mklsgridgettriangle(nodeid,layer);
 
               nodeid: (numeric array)
                       list of node IDs
 
               layer:  (struct)
                       layer structure containing all triangles, nodes
                       etc.
 
  result: triids: (numeric array)
                  unique list of triangle IDs
 
  The routine identifies all triangles that use at least one of the nodes
  identified by NODEID and returns the IDs of these triangles. Together with
  MKLSGRIDNODEONENDGETRI, this can be used to identify all neighbours of a
  given triangle.
 
  Martin Knapmeyer, 05.11.2004

Read M-File Source Code


eof.