Changeset 3579 for anuga_core/source/anuga_parallel/parallel_meshes.py
- Timestamp:
- Sep 13, 2006, 3:50:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga_parallel/parallel_meshes.py
r3460 r3579 1 import sys2 from os import sep3 sys.path.append('..'+sep+'pyvolution')4 5 1 """parallel-meshes - 6 2 2D triangular domains for parallel finite-volume computations of … … 17 13 """ 18 14 19 #from parallel_advection import * 15 16 import sys 17 from Numeric import array, zeros, Float, Int 20 18 21 19 import pypar 22 from Numeric import array 20 21 from anuga.config import epsilon 22 23 23 24 24 def parallel_rectangle(m_g, n_g, len1_g=1.0, len2_g=1.0, origin_g = (0.0, 0.0)): … … 35 35 36 36 """ 37 38 from config import epsilon39 from Numeric import zeros, Float, Int40 37 41 38 processor = pypar.rank() … … 203 200 """ 204 201 205 from config import epsilon206 from Numeric import zeros, Float, Int207 208 202 delta1 = float(len1)/m 209 203 delta2 = float(len2)/n … … 343 337 """ 344 338 345 from config import epsilon346 from Numeric import zeros, Float, Int347 348 339 delta1 = float(len1)/m 349 340 delta2 = float(len2)/n
Note: See TracChangeset
for help on using the changeset viewer.