Ignore:
Timestamp:
May 15, 2005, 10:25:56 PM (20 years ago)
Author:
steve
Message:

Added ghosts to rectangle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/parallel/run_parallel_advection.py

    r1387 r1393  
    1111from mesh_factory import rectangular
    1212
    13 points, vertices, boundary = rectangular(30, 30)
     13N = 4
     14M = 4
     15
     16points, vertices, boundary, ghosts = rectangular_with_ghosts(N, M)
     17
     18
     19print ghosts
    1420
    1521#Create advection domain with direction (1,-1)
     
    4753
    4854#Check that the boundary value gets propagated to all elements
    49 for t in domain.evolve(yieldstep = 0.01, finaltime = 1.5):
     55for t in domain.evolve(yieldstep = 0.01, finaltime = 0.01):
    5056    domain.write_time()
Note: See TracChangeset for help on using the changeset viewer.