Changeset 5949
- Timestamp:
- Nov 12, 2008, 12:14:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source_numpy_conversion/anuga/config.py
r5442 r5949 178 178 179 179 180 #------------------------------------------------------------ 181 # Type character variables to ease transition to NumPy. 182 # Used mostly in NetCDF. 183 # These may be simpler once we go to a NumPy version of NetCDF. 184 #------------------------------------------------------------ 180 185 186 import types 187 import numpy 181 188 189 Float = numpy.dtype(types.FloatType).char 190 Float32 = numpy.dtype(numpy.float32).char 191 Int = numpy.dtype(types.IntType).char 192 Character = numpy.dtype(types.StringType).char 182 193 183 194
Note: See TracChangeset
for help on using the changeset viewer.