Changeset 8073 for trunk/anuga_core/source/anuga/shallow_water
- Timestamp:
- Nov 19, 2010, 2:53:46 PM (14 years ago)
- Location:
- trunk/anuga_core/source/anuga/shallow_water
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/shallow_water/forcing.py
r7967 r8073 278 278 from math import pi, cos, sin 279 279 280 if domain.numproc > 1: 281 msg = 'Not implemented to run in parallel' 282 assert self.__parallel_safe(), msg 283 280 284 if center is None: 281 285 msg = 'I got radius but no center.' … … 510 514 511 515 516 def __parallel_safe(self): 517 518 return false 512 519 ## 513 520 # @brief A class for rainfall forcing function. -
trunk/anuga_core/source/anuga/shallow_water/shallow_water_domain.py
r8068 r8073 173 173 174 174 # Stored output 175 self.s tore = True175 self.set_store(True) 176 176 self.set_store_vertices_uniquely(False) 177 177 self.quantities_to_be_stored = {'elevation': 1, … … 222 222 223 223 224 def set_store(self, flag=True): 225 """Set whether data saved to sww file. 226 """ 227 228 self.store = flag 229 230 224 231 def set_sloped_mannings_function(self, flag=True): 225 232 """Set mannings friction function to use the sloped
Note: See TracChangeset
for help on using the changeset viewer.