Changeset 6648


Ignore:
Timestamp:
Mar 27, 2009, 3:38:19 PM (15 years ago)
Author:
ole
Message:

Indentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/shallow_water_domain.py

    r6647 r6648  
    781781       
    782782
    783                 def compute_volumetric_balance(self):
    784                         """Compute volumetric balance at current timestep.
     783    def compute_volumetric_balance(self):
     784        """Compute volumetric balance at current timestep.
    785785                       
    786                         Quantities computed are:
    787                                 Total inflow across boundary
    788                                 Total outflow across boundary
    789                                 Total inflow through forcing terms
    790                                 Total outflow through forcing terms
    791                                 Current total volume in domain
    792                                                                
     786        Quantities computed are:
     787           Total inflow across boundary
     788           Total outflow across boundary
     789           Total inflow through forcing terms
     790           Total outflow through forcing terms
     791           Current total volume in domain
     792       
    793793                       
    794                         """
     794        """
    795795               
    796                         # Run through boundary array and compute for each segment
    797                         # the normal momentum ((uh, vh) dot normal) times segment length.
    798                         # Based on sign accumulate this into total_boundary_inflow and total_boundary_outflow.
    799                         # The go through explicit forcing update and record the rate of change for stage and
    800                         # record into total_forcing_inflow and total_forcing_outflow. Finally compute integral
    801                         # of depth to obtain total volume of domain.
     796        # Run through boundary array and compute for each segment
     797        # the normal momentum ((uh, vh) dot normal) times segment length.
     798        # Based on sign accumulate this into total_boundary_inflow and total_boundary_outflow.
     799        # The go through explicit forcing update and record the rate of change for stage and
     800        # record into total_forcing_inflow and total_forcing_outflow. Finally compute integral
     801        # of depth to obtain total volume of domain.
    802802                       
    803803                       
    804804                       
    805                         pass
     805        pass
    806806               
    807807               
Note: See TracChangeset for help on using the changeset viewer.