Changeset 8416


Ignore:
Timestamp:
Apr 30, 2012, 7:15:03 AM (13 years ago)
Author:
steve
Message:

Small change to general_mesh, where a list is passed as triangles, but
verbose askes for the shape of the list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/general_mesh.py

    r8414 r8416  
    8787        self.triangles = num.array(triangles, num.int)
    8888
    89         if verbose: log.timingInfo("numTriangles, " + str(triangles.shape[0]))
     89        if verbose:
     90            log.timingInfo("numTriangles, " + str(self.triangles.shape[0]))
    9091       
    9192        self.nodes = num.array(nodes, num.float)
Note: See TracChangeset for help on using the changeset viewer.