- Timestamp:
- Apr 16, 2013, 7:09:04 PM (12 years ago)
- Location:
- trunk/anuga_core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/demos/cairns
-
Property
svn:ignore
set to
.python_cache
-
Property
svn:ignore
set to
-
trunk/anuga_core/source/anuga/damage_modelling/inundation_damage.py
r8825 r8831 9 9 10 10 try: 11 from scipy r.interpolate import interp1d11 from scipy.interpolate import interp1d 12 12 scipy_available = True 13 13 except: -
trunk/anuga_core/source/anuga/shallow_water/shallow_water_domain.py
r8828 r8831 2342 2342 ################################################################################ 2343 2343 2344 def _raise_compile_exception():2345 """ Raise exception if compiler not available. """2346 msg = 'C implementations could not be accessed by %s.\n ' % __file__2347 msg += 'Make sure compile_all.py has been run as described in '2348 msg += 'the ANUGA installation guide.'2349 raise Exception(msg)2350 2351 from anuga.utilities import compile2352 if not compile.can_use_C_extension('shallow_water_ext.c'):2353 _raise_compile_exception()2344 #def _raise_compile_exception(): 2345 # """ Raise exception if compiler not available. """ 2346 # msg = 'C implementations could not be accessed by %s.\n ' % __file__ 2347 # msg += 'Make sure compile_all.py has been run as described in ' 2348 # msg += 'the ANUGA installation guide.' 2349 # raise Exception(msg) 2350 # 2351 #from anuga.utilities import compile 2352 #if not compile.can_use_C_extension('shallow_water_ext.c'): 2353 # _raise_compile_exception() 2354 2354 2355 2355 if __name__ == "__main__":
Note: See TracChangeset
for help on using the changeset viewer.