Ignore:
Timestamp:
Jan 8, 2007, 3:20:41 PM (18 years ago)
Author:
duncan
Message:

Changing the mesh generator and triangle interface to work with Numeric arrys, as input. Fixed to work on Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/alpha_shape/alpha_shape.py

    r4142 r4144  
    179179
    180180        ## Build Delaunay triangulation
    181         import anuga.mesh_engine.triang as triang
     181        from anuga.mesh_engine.mesh_engine import generate_mesh
    182182        points = []
    183183        seglist = []
     
    186186        pointattlist = []
    187187        segattlist = []
    188         trilist = []
    189188
    190189        points = [(pt[0], pt[1]) for pt in self.points]
     
    192191        mode = "Qzcn"
    193192        #print "computing delaunay triangulation ... \n"
    194         tridata = triang.genMesh(points,seglist,holelist,regionlist,
    195                                  pointattlist,segattlist,trilist,mode)
     193        tridata = generate_mesh(points,seglist,holelist,regionlist,
     194                                 pointattlist,segattlist,mode)
    196195        #print tridata
    197196        #print "point attlist: ", tridata['generatedpointattributelist'],"\n"
Note: See TracChangeset for help on using the changeset viewer.