Changeset 3927
 Timestamp:
 Nov 7, 2006, 12:29:17 PM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

anuga_core/source/anuga/abstract_2d_finite_volumes/test_general_mesh.py
r3689 r3927 26 26 #Create basic mesh 27 27 points, vertices, boundary = rectangular(1, 3) 28 domain = General_mesh(points, vertices, boundary) 28 domain = General_mesh(points, vertices) 29 30 print domain.__class__ 29 31 30 32 assert allclose(domain.get_vertex_coordinates(unique=True), domain.coordinates) … … 43 45 #Create basic mesh 44 46 points, vertices, boundary = rectangular(1, 3) 45 domain = General_mesh(points, vertices , boundary)47 domain = General_mesh(points, vertices) 46 48 47 49 value = [7] … … 57 59 #Create basic mesh 58 60 points, vertices, boundary = rectangular(1, 3) 59 domain = General_mesh(points, vertices , boundary)61 domain = General_mesh(points, vertices) 60 62 61 63 assert domain.get_area() == 1.0 … … 72 74 #Create basic mesh 73 75 points, vertices, boundary = rectangular(1, 3) 74 domain = General_mesh(points, vertices , boundary)76 domain = General_mesh(points, vertices) 75 77 76 78 assert domain.get_unique_vertices() == [0,1,2,3,4,5,6,7]
Note: See TracChangeset
for help on using the changeset viewer.