Ignore:
Timestamp:
Sep 20, 2009, 6:35:14 PM (16 years ago)
Author:
steve
Message:

Have been playing with using a slope limited velocity to calculate
fluxes (hence the addition of evolved_quantities as well as conserved
quantities.

But the commit is to fix a problem Rudy found with sww2dem. Seems
numpy.array2string is a little too clever, in that it summarizes
output if there is a long sequence of zeros to
[0.0, 0.0, 0.0, ... 0.0, 0.0 ,0.0] To get around this I have added
a call to numpy.set_options(threshold=sys.max_int) to turn this
behaviour off!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/interface.py

    r7452 r7519  
    1818
    1919from anuga.abstract_2d_finite_volumes.generic_boundary_conditions import Time_boundary
     20from anuga.abstract_2d_finite_volumes.generic_boundary_conditions import Time_space_boundary
    2021from anuga.abstract_2d_finite_volumes.generic_boundary_conditions import Transmissive_boundary
    2122
     
    3940    points, vertices, boundary = rectangular_cross(*args, **kwargs)
    4041    return Domain(points, vertices, boundary)
    41    
     42
    4243#----------------------------
    4344# Create domain from file
Note: See TracChangeset for help on using the changeset viewer.