Changeset 9658
- Timestamp:
- Feb 10, 2015, 6:31:10 PM (10 years ago)
- Location:
- trunk/anuga_core/anuga
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/anuga/parallel/parallel_structure_operator.py
r9657 r9658 623 623 # If flag is true open file with mode = "w" to form a clean file for logging 624 624 if self.logging and self.myid == self.master_proc: 625 self.log_filename = self. label + '.log'625 self.log_filename = self.domain.get_datadir() + '/' + self.label + '.log' 626 626 log_to_file(self.log_filename, stats, mode='w') 627 627 log_to_file(self.log_filename, 'time,discharge,velocity,driving_energy,delta_total_energy') -
trunk/anuga_core/anuga/structures/structure_operator.py
r9657 r9658 556 556 # If flag is true open file with mode = "w" to form a clean file for logging 557 557 if self.logging: 558 self.log_filename = self. label + '.log'558 self.log_filename = self.domain.get_datadir() + '/' + self.label + '.log' 559 559 log_to_file(self.log_filename, self.statistics(), mode='w') 560 560 log_to_file(self.log_filename, 'time, discharge, velocity, accumulated_flow, driving_energy, delta_total_energy')
Note: See TracChangeset
for help on using the changeset viewer.