Ignore:
Timestamp:
Apr 10, 2008, 12:10:23 PM (16 years ago)
Author:
jack
Message:

Updated new visualiser to use cProfile.

Location:
anuga_core/source/anuga/visualiser_new
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/visualiser_new/height_quantity.py

    r4621 r5197  
    3636            setPoint = vtkPoints.SetPoint
    3737            for i in xrange(nPoints):
    38                 z = points[i]
    39                 z *= self.zScale
    40                 z += self.offset
     38                z = points[i] * self.zScale + self.offset
    4139                setPoint(vtk_points, i, self.visualiser.xPoints[i], self.visualiser.yPoints[i], z)
    4240
  • anuga_core/source/anuga/visualiser_new/quick_run.py

    r4734 r5197  
    88                               colour=(0.0, 0.0, 0.8)))
    99
    10 import profile
    11 profile.run('vis.run()')
     10import cProfile
     11cProfile.run('vis.run()')
Note: See TracChangeset for help on using the changeset viewer.