Ignore:
Timestamp:
Jun 10, 2009, 5:28:35 PM (16 years ago)
Author:
rwilson
Message:

Back-merge from Numeric to numpy.

Location:
branches/numpy/anuga/abstract_2d_finite_volumes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy/anuga/abstract_2d_finite_volumes/domain.py

    r7035 r7176  
    936936                k = self.k = triangle_id
    937937
    938             x, y = self.get_centroid_coordinates()[k]
     938            x, y = self.get_centroid_coordinates(absolute=True)[k]
    939939            radius = self.get_radii()[k]
    940940            area = self.get_areas()[k]
  • branches/numpy/anuga/abstract_2d_finite_volumes/generic_boundary_conditions.py

    r7037 r7176  
    103103                 verbose=False):
    104104        Boundary.__init__(self)
     105
    105106        self.default_boundary = default_boundary
    106107        self.default_boundary_invoked = False    # Flag
  • branches/numpy/anuga/abstract_2d_finite_volumes/quantity.py

    r7038 r7176  
    11781178        # Edges have already been deprecated in set_values, see changeset:5521,
    11791179        # but *might* be useful in get_values. Any thoughts anyone?
    1180         # YES (Ole): Edge values are necessary for volumetric balance check
     1180        # YES (Ole): Edge values are necessary for volumetric balance check and inflow boundary. Keep them.
    11811181
    11821182        if location not in ['vertices', 'centroids',
Note: See TracChangeset for help on using the changeset viewer.