Changeset 5949


Ignore:
Timestamp:
Nov 12, 2008, 12:14:56 PM (16 years ago)
Author:
rwilson
Message:

More NumPy? changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source_numpy_conversion/anuga/config.py

    r5442 r5949  
    178178
    179179
     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#------------------------------------------------------------
    180185
     186import types
     187import numpy
    181188
     189Float = numpy.dtype(types.FloatType).char
     190Float32 = numpy.dtype(numpy.float32).char
     191Int = numpy.dtype(types.IntType).char
     192Character = numpy.dtype(types.StringType).char
    182193
    183194
Note: See TracChangeset for help on using the changeset viewer.