Changeset 3438


Ignore:
Timestamp:
Aug 2, 2006, 2:15:17 PM (19 years ago)
Author:
ole
Message:

Changed parallel code back to using pypar as a third party dependency

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inundation/parallel/test_parallel_sw.py

    r3243 r3438  
    1919
    2020from Numeric import array, zeros, Float, take, nonzero
    21 from shallow_water import Domain
    22 from shallow_water import Reflective_boundary as sw_reflective_boundary
    23 from shallow_water import Transmissive_boundary as sw_transmissive_boundary
     21from pyvolution.shallow_water import Domain
     22from pyvolution.shallow_water import Reflective_boundary as sw_reflective_boundary
     23from pyvolution.shallow_water import Transmissive_boundary as sw_transmissive_boundary
    2424from parallel_shallow_water import Parallel_Domain
    2525from parallel_shallow_water import Reflective_boundary as par_reflective_boundary
    2626from parallel_shallow_water import Transmissive_boundary as par_transmissive_boundary
    27 from pmesh2domain import pmesh_to_domain_instance
     27from pyvolution.pmesh2domain import pmesh_to_domain_instance
    2828from utilities.norms import *
    2929from utilities.util_ext import double_precision
  • production/wollongong_2006/run_flagstaff.py

    r3430 r3438  
    3333
    3434# Parallelism
    35 from pypar_dist import pypar   # The Python-MPI interface
     35import pypar   # The Python-MPI interface
    3636from parallel.pmesh_divide import pmesh_divide_metis
    3737from parallel.build_submesh import build_submesh
     
    173173#------------------------------------------------------------------------------
    174174
     175
     176domain.set_quantity('elevation', quantities['elevation']) # Get elevation
    175177domain.set_quantity('stage', project.initial_sealevel)
    176178domain.set_quantity('friction', 0.03)
Note: See TracChangeset for help on using the changeset viewer.