Changeset 1231


Ignore:
Timestamp:
Apr 18, 2005, 5:11:35 PM (20 years ago)
Author:
steve
Message:

Added advection example for parallel testing

Location:
inundation/ga/storm_surge
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution-parallel/test_advection.py

    r1158 r1231  
    102102
    103103        #Populate boundary array with dirichlet conditions.
    104         domain.neighbours = array([[-1,-2,-3]])
     104        domain.neighbours = array([[-1,-2,-3]])
    105105        domain.quantities['stage'].boundary_values[0] = 1.0
    106106
    107         domain.distribute_to_vertices_and_edges() #Use first order default
     107        domain.distribute_to_vertices_and_edges() #Use first order default
    108108
    109109        domain.check_integrity()
    110110
    111         domain.compute_fluxes()
     111        domain.compute_fluxes()
    112112        U = domain.quantities['stage'].explicit_update
    113113        assert allclose(U, 0)
  • inundation/ga/storm_surge/zeus/anuga-workspace.zwi

    r1160 r1231  
    55    <project name="pyvolution">pyvolution.zpi</project>
    66    <project name="steve">steve.zpi</project>
     7    <project name="pyvolution-parallel">pyvolution-parallel.zpi</project>
    78</workspace>
Note: See TracChangeset for help on using the changeset viewer.