Changeset 6195
- Timestamp:
- Jan 19, 2009, 8:51:11 AM (16 years ago)
- Location:
- anuga_core/source/anuga/abstract_2d_finite_volumes
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/quantity.py
r6191 r6195 37 37 msg += 'must be of class Domain (or a subclass thereof). ' 38 38 msg += 'I got %s.' %str(domain.__class__) 39 # FIXME(Ole): Why doesn't this work now? 40 #assert isinstance(domain, Domain), msg 39 assert isinstance(domain, Domain), msg 41 40 42 41 if vertex_values is None: -
anuga_core/source/anuga/abstract_2d_finite_volumes/test_domain.py
r6174 r6195 4 4 from math import sqrt 5 5 6 from domain import *6 from anuga.abstract_2d_finite_volumes.domain import * 7 7 from anuga.config import epsilon 8 8 … … 795 795 if __name__ == "__main__": 796 796 suite = unittest.makeSuite(Test_Domain,'test') 797 #suite = unittest.makeSuite(Test_Domain,'test_track_speeds')798 797 runner = unittest.TextTestRunner() 799 798 runner.run(suite) -
anuga_core/source/anuga/abstract_2d_finite_volumes/test_generic_boundary_conditions.py
r6145 r6195 5 5 6 6 from generic_boundary_conditions import * 7 from anuga.abstract_2d_finite_volumes.domain import Domain 7 8 from anuga.config import epsilon 8 9 … … 49 50 50 51 def test_transmissive(self): 51 from domain import Domain52 52 from quantity import Quantity 53 53 … … 114 114 # to catch possible errors in the model setup 115 115 116 from domain import Domain117 116 from quantity import Quantity 118 117 import time, os … … 208 207 """ 209 208 210 from domain import Domain211 209 from quantity import Quantity 212 210 import time, os -
anuga_core/source/anuga/abstract_2d_finite_volumes/test_ghost.py
r6145 r6195 4 4 from math import sqrt 5 5 6 from domain import *6 from anuga.abstract_2d_finite_volumes.domain import * 7 7 from anuga.config import epsilon 8 8 -
anuga_core/source/anuga/abstract_2d_finite_volumes/test_quantity.py
r6191 r6195 10 10 from anuga.fit_interpolate.fit import fit_to_mesh 11 11 #from anuga.pyvolution.least_squares import fit_to_mesh 12 from domain import Domain12 from anuga.abstract_2d_finite_volumes.domain import Domain 13 13 from anuga.geospatial_data.geospatial_data import Geospatial_data 14 14 from anuga.coordinate_transforms.geo_reference import Geo_reference … … 26 26 class Test_Quantity(unittest.TestCase): 27 27 def setUp(self): 28 from domain import Domain29 28 30 29 a = [0.0, 0.0] … … 42 41 self.mesh1 = Domain(points[:3], [elements[0]]) 43 42 self.mesh1.check_integrity() 43 44 #print self.mesh1.__class__ 45 #print isinstance(self.mesh1, Domain) 44 46 45 47 self.mesh4 = Domain(points, elements)
Note: See TracChangeset
for help on using the changeset viewer.