Changeset 3882


Ignore:
Timestamp:
Oct 30, 2006, 11:14:52 AM (16 years ago)
Author:
ole
Message:

Added the parallel capability to run_okushiri.py

Location:
anuga_validation/okushiri_2005
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/okushiri_2005/project.py

    r3878 r3882  
    1919#output_filename = 'okushiri_nl_coarse10_mesh.sww'
    2020#output_filename = 'okushiri_nl_coarse100_mesh.sww'
     21#output_filename = 'okushiri_original_mesh.sww'
     22#utput_filename = 'okushiri_new_mesh.sww'
    2123output_filename = 'okushiri_new_mesh1.sww'
    2224
    23 
    24 
  • anuga_validation/okushiri_2005/run_okushiri.py

    r3878 r3882  
    2727from anuga.abstract_2d_finite_volumes.util import file_function
    2828
     29from anuga_parallel.parallel_api import myid, numprocs, distribute
     30
    2931import project
    3032
     
    4749                    use_cache=True)
    4850
     51#-------------------------
     52# Distribute domain
     53#-------------------------
     54domain = distribute(domain)
    4955
    50 #-------------------------
    51 # Domain parameters
    52 #-------------------------
     56# Parameters
    5357domain.set_name(project.output_filename)  # Name of output sww file
    5458domain.set_default_order(2)               # Apply second order scheme
Note: See TracChangeset for help on using the changeset viewer.