- Timestamp:
- Apr 18, 2005, 5:11:35 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution-parallel/test_advection.py
r1158 r1231 102 102 103 103 #Populate boundary array with dirichlet conditions. 104 104 domain.neighbours = array([[-1,-2,-3]]) 105 105 domain.quantities['stage'].boundary_values[0] = 1.0 106 106 107 107 domain.distribute_to_vertices_and_edges() #Use first order default 108 108 109 109 domain.check_integrity() 110 110 111 111 domain.compute_fluxes() 112 112 U = domain.quantities['stage'].explicit_update 113 113 assert allclose(U, 0)
Note: See TracChangeset
for help on using the changeset viewer.