Changeset 4445


Ignore:
Timestamp:
May 16, 2007, 11:23:49 AM (18 years ago)
Author:
duncan
Message:

changed to run faster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/examples/island.py

    r4305 r4445  
    3333                                           'top': [2],
    3434                                           'left': [3]},
    35                           maximum_triangle_area = 0.5,
     35                          maximum_triangle_area = 5,
    3636                          filename = 'island.msh' ,
    3737                          interior_regions=[ ([[50,25], [70,25], [70,75], [50,75]], 10.0)]
     
    4343#Create shallow water domain
    4444domain = Domain(mesh_filename = 'island.msh')
    45 domain.smooth = False
    46 domain.set_name('island')
     45domain.smooth = False #True
     46domain.set_name('island_unique')
     47#domain.set_name('island_not_unique')
    4748domain.default_order = 2
    4849
     
    109110
    110111import time
    111 for t in domain.evolve(yieldstep = 1, finaltime = 50):
     112for t in domain.evolve(yieldstep = 1, finaltime = 5):
    112113    domain.write_time()
    113114    #if allclose(t, 100):
Note: See TracChangeset for help on using the changeset viewer.