Ignore:
Timestamp:
Mar 28, 2009, 6:54:15 PM (15 years ago)
Author:
ole
Message:

Added volumetric balance report for boundary flows and total volume.
Flows due to forcing terms have not yet been added.

File:
1 edited

Legend:

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

    r6191 r6654  
    235235        """
    236236        return self.normals[i, 2*j:2*j+2]
     237       
     238    def get_edgelength(self, i, j):
     239        """Return length of j'th edge of the i'th triangle.
     240        Return value is the numeric array slice [x, y]
     241        """
     242        return self.edgelengths[i, j]
     243               
    237244
    238245    def get_number_of_nodes(self):
Note: See TracChangeset for help on using the changeset viewer.