Changeset 3167


Ignore:
Timestamp:
Jun 16, 2006, 8:54:57 AM (17 years ago)
Author:
linda
Message:

Fixed the if self.tri_full_flag[k] == 1 in advection.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/advection.py

    r3021 r3167  
    218218
    219219                #Update optimal_timestep
    220                 if  self.tri_full_flag == 1 :
     220                if  self.tri_full_flag[k] == 1 :
    221221                    try:
    222222                        optimal_timestep = min(optimal_timestep, radii[k]/max_speed)
Note: See TracChangeset for help on using the changeset viewer.