- Timestamp:
- May 7, 2010, 12:25:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/fit_interpolate/general_fit_interpolate.py
r7690 r7710 54 54 mesh=None, 55 55 mesh_origin=None, 56 verbose=False, 57 max_vertices_per_cell=None): 56 verbose=False): 58 57 59 58 … … 82 81 relative to their respective origins. 83 82 84 max_vertices_per_cell: Number of vertices in a quad tree cell85 at which the cell is split into 4.86 87 83 Note: Don't supply a vertex coords as a geospatial object and 88 84 a mesh origin, since geospatial has its own mesh origin. 89 85 """ 90 86 global build_quadtree_time 91 if max_vertices_per_cell == None:92 max_vertices_per_cell = MAX_VERTICES_PER_CELL93 87 if mesh is None: 94 88 if vertex_coordinates is not None and triangles is not None: … … 113 107 #This stores indices of vertices 114 108 t0 = time.time() 115 self.root = build_quadtree(self.mesh, 116 max_points_per_cell = max_vertices_per_cell) 109 self.root = build_quadtree(self.mesh) 117 110 118 111 build_quadtree_time = time.time()-t0
Note: See TracChangeset
for help on using the changeset viewer.