Ignore:
Timestamp:
Jun 16, 2010, 5:30:17 PM (13 years ago)
Author:
steve
Message:

Moving calculation of limiters to numpy calculations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/2010-projects/anuga_1d/channel/profile_channel.py

    r7842 r7852  
    1515from anuga_1d.channel.channel_domain import *
    1616from anuga_1d.config import g, epsilon
    17 from anuga_1d.generic.generic_mesh import interval_mesh
     17from anuga_1d.base.generic_mesh import uniform_mesh
    1818
    1919
     
    5454
    5555    # Create domain with centroid points as defined above
    56     domain = Domain(*interval_mesh(N))
     56    domain = Domain(*uniform_mesh(N))
    5757
    5858
     
    7272    domain.set_CFL(1.0)
    7373    domain.set_limiter("vanleer")
     74    #domain.set_limiter("minmod")
    7475    #domain.h0=0.0001
    7576
Note: See TracChangeset for help on using the changeset viewer.