Ignore:
Timestamp:
Jun 14, 2010, 8:56:00 PM (12 years ago)
Author:
steve
Message:

Moving channel code to numpy

Location:
anuga_work/development/flow_1d/sww_flow
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/flow_1d/sww_flow

    • Property svn:ignore set to
      .python_cache
  • anuga_work/development/flow_1d/sww_flow/sww_forcing_terms.py

    r7827 r7830  
    1414    """
    1515
    16     from util import gradient
     16    from flow_1d.utilities.util import gradient
    1717
    1818    xmom  = domain.quantities['xmomentum'].explicit_update
     
    158158    else:
    159159        try:
    160             f = numpy.float(f)
     160            f = float(f)
    161161        except:
    162162            msg = 'Force field %s must be either a scalar' %f
     
    166166
    167167
    168 if __name__ == "__main__":
    169     print "Hello World";
Note: See TracChangeset for help on using the changeset viewer.