Changeset 620 for inundation/ga/storm_surge/pyvolution/shallow_water.py
- Timestamp:
- Nov 24, 2004, 12:25:21 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/shallow_water.py
r614 r620 52 52 self.reduction = min #Looks better near steep slopes 53 53 54 54 self.quantities_to_be_stored = ['level'] 55 56 55 57 #Establish shortcuts to relevant quantities (for efficiency) 56 58 #self.w = self.quantities['level'] … … 172 174 #Store model data, e.g. for subsequent visualisation 173 175 if self.store is True: 174 self.store_timestep('level') 176 #self.store_timestep(['level', 'xmomentum', 'ymomentum']) 177 self.store_timestep(self.quantities_to_be_stored) 178 175 179 #FIXME: Could maybe be taken from specified list 176 180 #of 'store every step' quantities 177 178 181 179 182 #Pass control on to outer loop for more specific actions
Note: See TracChangeset
for help on using the changeset viewer.