Changeset 4614


Ignore:
Timestamp:
Jul 9, 2007, 3:12:31 PM (17 years ago)
Author:
duncan
Message:

Centralising max vertices per cell.

Location:
anuga_core/source/anuga/fit_interpolate
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/fit_interpolate/fit.py

    r4609 r4614  
    5454                 alpha = None,
    5555                 verbose=False,
    56                  max_vertices_per_cell=30):
     56                 max_vertices_per_cell=None):
    5757
    5858
  • anuga_core/source/anuga/fit_interpolate/general_fit_interpolate.py

    r4606 r4614  
    3737     ensure_absolute
    3838
     39# tests fail if 2 is used
     40MAX_VERTICES_PER_CELL = 30
    3941
    4042class FitInterpolate:
     
    4547                 mesh_origin=None,
    4648                 verbose=False,
    47                  max_vertices_per_cell=30):
     49                 max_vertices_per_cell=None):
    4850
    4951
     
    7476        """
    7577
     78        if max_vertices_per_cell == None:
     79            max_vertices_per_cell = MAX_VERTICES_PER_CELL
     80       
    7681        #Convert input to Numeric arrays
    7782        triangles = ensure_numeric(triangles, Int)
  • anuga_core/source/anuga/fit_interpolate/interpolate.py

    r4606 r4614  
    4848                 mesh_origin=None,
    4949                 verbose=False,
    50                  max_vertices_per_cell=30):
     50                 max_vertices_per_cell=None):
    5151
    5252
Note: See TracChangeset for help on using the changeset viewer.