Changeset 4768


Ignore:
Timestamp:
Oct 30, 2007, 1:12:45 PM (17 years ago)
Author:
ole
Message:

Backlog of comments and errormessages

Files:
6 edited

Legend:

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

    r4735 r4768  
    527527        if indices is not None:
    528528            indices = array(indices).astype(Int)
    529             msg = 'Number of values must match number of indices'
     529            msg = 'Number of values must match number of indices:'
     530            msg += 'You specified %d values and %d indices'\
     531                   %(values.shape[0], indices.shape[0])
    530532            assert values.shape[0] == indices.shape[0], msg
    531533
     
    996998        The values will be stored in elements following their
    997999        internal ordering.
    998 
    9991000        """
    10001001        from Numeric import take
     1002
     1003        # FIXME (Ole): I reckon we should have the option of passing a
     1004        #              polygon into get_values. The question becomes how
     1005        #              resulting values should be ordered.
    10011006
    10021007        if interpolation_points is not None:
  • anuga_core/source/anuga/config.py

    r4733 r4768  
    6565# stationary water 'lapping' upwards to a higher point on the coast.
    6666#
    67 #
    68 #
     67# NOTE (Ole): I believe this was addressed with the introduction of
     68# tight_slope_limiters. I wish to retire the beta_? parameters.
     69# Can you please let me know if you disagree?
     70
     71
    6972#There are separate betas for the w, uh, vh and h limiters
    7073#
  • anuga_core/source/anuga/utilities/polygon.py

    r4669 r4768  
    8080        raise NameError, e
    8181    except:
    82         # FIXME(Ole): This message is wrong. Shouldn't it be "Absolute"
    83         # rather than "Numeric"?
    84         # (DSG)  If this fails it is going to be because the points can't be
    85         # converted to a numeric array.  So this error message is good.
     82        # If this fails it is going to be because the points can't be
     83        # converted to a numeric array.
    8684        msg = 'Points could not be converted to Numeric array'
    8785        raise msg
     
    9290        raise NameError, e
    9391    except:
    94         # FIXME(Ole): This message is wrong. Shouldn't it be "Absolute"
    95         # rather than "Numeric"?
    96          # (DSG)  If this fails it is going to be because the points can't be
    97         # converted to a numeric array.  So this error message is good.
     92        # If this fails it is going to be because the points can't be
     93        # converted to a numeric array.
    9894        msg = 'Polygon %s could not be converted to Numeric array' %(str(polygon))
    9995        raise msg
  • anuga_validation/performance_tests/okushiri/run_okushiri_profile.py

    r4732 r4768  
    100100#s = S.sort_stats('cumulative').print_stats(30)
    101101
     102s.print_callers()
    102103print s
    103104
  • anuga_work/publications/anuga_2007/anuga_validation.tex

    r4676 r4768  
    8585
    8686
    87 \ANUGA{} is availbale as Open Source to enable
     87\ANUGA{} is available as Open Source to enable
    8888free access to the software and allow the scientific community to
    8989use, validate and contribute to the software in the future.
Note: See TracChangeset for help on using the changeset viewer.