Changeset 280 for inundation/ga/storm_surge/pyvolution/shallow_water.py
- Timestamp:
- Sep 7, 2004, 5:33:10 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/shallow_water.py
r278 r280 110 110 #Store model data, e.g. for visualisation 111 111 if self.store is True and self.time == 0.0: 112 self.store_bathymetry() 113 ###self.store_conserved_quantities() 112 #FIXME: Could be wrapped into local store_bathymetry and store_timestep 113 self.intialise_storage() 114 self.store_quantity('elevation') 114 115 115 116 #Call basic machinery from parent class … … 121 122 #Store model data, e.g. for subsequent visualisation 122 123 if self.store is True: 123 self.store_conserved_quantities() 124 self.store_timestep() #FIXME: An idea 125 self.store_quantity('level') 126 124 127 125 128 #Pass control on to outer loop for more specific actions … … 127 130 128 131 132 133 def store_quantity(self, name): 134 """Store named quantity to file using foormat and filename 135 """ 136 137 Q = self.quantities[name] 138 Q.store(self.filename, self.format) 139 140 #FIXME: Use data_manager 141 #FIXME: 142 # Initialisation 143 # Storing of vertices (static) 144 # 145 # Storing of elevation (typically static, but...) 146 # 147 # Storing of level (dynamic) 148 # Storing of time (dynamic) 149 # 150 pass 151 152 129 153 130 154 #Rotation of momentum vector
Note: See TracChangeset
for help on using the changeset viewer.