Changeset 3817


Ignore:
Timestamp:
Oct 17, 2006, 4:45:52 PM (19 years ago)
Author:
ole
Message:

Cosmetics

Location:
anuga_core/source/anuga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/domain.py

    r3804 r3817  
    77   Geoscience Australia
    88"""
     9
     10from anuga.config import epsilon
    911
    1012from anuga.abstract_2d_finite_volumes.neighbour_mesh import Mesh
     
    675677
    676678        #FIXME: Maybe lump into a larger check prior to evolving
    677         msg = 'Boundary tags must be bound to boundary objects before evolving system, '
     679        msg = 'Boundary tags must be bound to boundary objects before '
     680        msg += 'evolving system, '
    678681        msg += 'e.g. using the method set_boundary.\n'
    679682        msg += 'This system has the boundary tags %s '\
     
    681684        assert hasattr(self, 'boundary_objects'), msg
    682685
    683         ##self.set_defaults()
    684686
    685687        if yieldstep is None:
     
    756758
    757759            #Yield results
    758             from anuga.config import epsilon
    759760            if finaltime is not None and self.time >= finaltime-epsilon:
    760761
    761762                if self.time > finaltime:
    762                               #FIXME (Ole, 30 April 2006): Do we need this check?
    763                       print 'WARNING (domain.py): time overshot finaltime. Contact Ole.Nielsen@ga.gov.au'
    764                       self.time = finaltime
     763                    #FIXME (Ole, 30 April 2006): Do we need this check?
     764                    print 'WARNING (domain.py): time overshot finaltime. Contact Ole.Nielsen@ga.gov.au'
     765                    self.time = finaltime
    765766
    766767                # Yield final time and stop
     
    777778                    self.delete_old_checkpoints()
    778779
    779                 #Pass control on to outer loop for more specific actions
     780                # Pass control on to outer loop for more specific actions
    780781                yield(self.time)
    781782
  • anuga_core/source/anuga/shallow_water/test_shallow_water_domain.py

    r3806 r3817  
    10301030
    10311031        G3 = [-0.45000000000000001, -0.37713945714588398, -0.33029565026933816, -0.30598209033945367, -0.28847101155177313, -0.27211191064563195, -0.25701544058818926, -0.24298945948410997, -0.23010402733784807, -0.21820351802867713, -0.20709938367218383, -0.19719881806182216, -0.18568281604361933, -0.16828653906676322, -0.16977310768235579, -0.1832707289594605, -0.19483524345250974, -0.20233480051649216, -0.20630757214159207, -0.20763927857964531, -0.20724458160595791, -0.20599191745446047, -0.20438329669495012, -0.20256105512496606, -0.20071269486729407, -0.19934403619901719, -0.19866860191898347, -0.19849975056296071, -0.19860870923007437, -0.19885838217851401, -0.19916422433758982, -0.19946861981642039, -0.19972267778871666, -0.19993013816258154, -0.20011063428833351, -0.20024891930311628, -0.20031882555219671, -0.20031326268593497, -0.20024881068472311, -0.20015443214902759, -0.20005669097631221, -0.19997542564643309, -0.19992564006223304, -0.19990746148869892, -0.19990923999172872, -0.19991956416813192, -0.19993484556273733, -0.1999538628054662, -0.19997381636620407, -0.19999130900268777, -0.20000388227457688]
     1032       
    10321033        #FIXME (DSG):This is a hack so the anuga install, not precompiled
    10331034        # works on DSG's win2000, python 2.3
    10341035        #The problem is the gauge_values[X] are 52 long, not 51.
     1036        #
     1037        # This was probably fixed by Stephen in changeset:3804
    10351038        if len(gauge_values[0]) == 52: gauge_values[0].pop()
    10361039        if len(gauge_values[1]) == 52: gauge_values[1].pop()
Note: See TracChangeset for help on using the changeset viewer.