Changeset 9054
- Timestamp:
- Feb 19, 2014, 10:57:17 AM (11 years ago)
- Location:
- trunk/anuga_core/source/anuga/abstract_2d_finite_volumes
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/region.py
r9009 r9054 23 23 class Region(object): 24 24 """ 25 Helper class to setup region (defined by indices, polygon or center/radius) 25 Setup region (defined by indices, polygon or center/radius). 26 Useful in defining where to apply certain operations 27 28 expand_polygon=True then calculation of intersection of polygon 29 with triangles based on vertices, otherwise based just on centroids 30 26 31 """ 27 32 … … 275 280 self.region = region 276 281 self.value = value 277 delf.domain = self.region.domain282 self.domain = self.region.domain 278 283 279 284 -
trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/test_tag_region.py
r9001 r9054 34 34 return 23.0 35 35 36 class Test_ Region(unittest.TestCase):36 class Test_tag_region(unittest.TestCase): 37 37 def setUp(self): 38 38 pass … … 254 254 255 255 if __name__ == "__main__": 256 suite = unittest.makeSuite(Test_ Region, 'test')256 suite = unittest.makeSuite(Test_tag_region, 'test') 257 257 runner = unittest.TextTestRunner() 258 258 runner.run(suite)
Note: See TracChangeset
for help on using the changeset viewer.