Changeset 8021
- Timestamp:
- Sep 17, 2010, 3:07:01 PM (14 years ago)
- Location:
- trunk/anuga_core/source/anuga
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/generic_domain.py
r8018 r8021 1874 1874 ## 1875 1875 # @brief print_timestepping_statistics. 1876 # Goes through all fractional step operators and logs timestepping statistics1876 # Goes through all fractional step operators and prints timestepping statistics 1877 1877 def print_operator_timestepping_statistics(self): 1878 1878 for operator in self.fractional_step_operators: 1879 1879 operator.print_timestepping_statistics() 1880 1881 ## 1882 # @brief print_operator_statistics. 1883 # Goes through all fractional step operators and prints operator statistics 1884 def print_operator_statistics(self): 1885 for operator in self.fractional_step_operators: 1886 operator.print_statistics() 1880 1887 1881 1888 -
trunk/anuga_core/source/anuga/structures/structure_operator.py
r8020 r8021 255 255 256 256 257 def st ructure_statistics(self):257 def statistics(self): 258 258 259 259 … … 289 289 290 290 291 def print_st ructure_statistics(self):292 293 print self.st ructure_statistics()291 def print_statistics(self): 292 293 print self.statistics() 294 294 295 295 … … 315 315 if self.logging: 316 316 self.log_filename = self.label + '.log' 317 log_to_file(self.log_filename, self.st ructure_statistics(), mode='w')317 log_to_file(self.log_filename, self.statistics(), mode='w') 318 318 log_to_file(self.log_filename, 'time,discharge,velocity,driving_energy,delta_total_energy') 319 319 -
trunk/anuga_core/source/anuga/structures/test_Outlet_Ctrl.py
r8020 r8021 181 181 182 182 183 #Boyd_pipe_operator(domain,184 #end_point0=ep0,185 #end_point1=ep1,186 #losses=losses,187 #diameter=1.5, #culvert_width, #3.658,188 #apron=6.0,189 #use_momentum_jet=True,190 #use_velocity_head=True,191 #manning=0.013,192 #logging=True,193 #label='pipe_culvert',194 #verbose=False)183 Boyd_pipe_operator(domain, 184 end_point0=ep0, 185 end_point1=ep1, 186 losses=losses, 187 diameter=1.5, #culvert_width, #3.658, 188 apron=6.0, 189 use_momentum_jet=True, 190 use_velocity_head=True, 191 manning=0.013, 192 logging=True, 193 label='pipe_culvert', 194 verbose=False) 195 195 196 196 Boyd_box_operator(domain,
Note: See TracChangeset
for help on using the changeset viewer.