Changeset 5352
- Timestamp:
- May 21, 2008, 3:00:47 PM (16 years ago)
- Location:
- anuga_core/source/anuga
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/config.py
r5315 r5352 7 7 epsilon = 1.0e-12 # Smallest number - used for safe division 8 8 max_float = 1.0e36 # Largest number - used to initialise (max, min) ranges 9 9 default_smoothing_parameter = 0.001 # Default alpha for penalised 10 # least squares fitting 10 11 11 12 #------------------------------------------- -
anuga_core/source/anuga/fit_interpolate/fit.py
r5349 r5352 41 41 from anuga.utilities.cg_solve import conjugate_gradient 42 42 from anuga.utilities.numerical_tools import ensure_numeric, gradient 43 from anuga.config import default_smoothing_parameter as DEFAULT_ALPHA 43 44 44 45 import exceptions … … 46 47 class VertsWithNoTrianglesError(exceptions.Exception): pass 47 48 48 DEFAULT_ALPHA = 0.00149 #DEFAULT_ALPHA = 0.001 49 50 50 51 … … 94 95 # Initialise variabels 95 96 if alpha is None: 96 97 97 self.alpha = DEFAULT_ALPHA 98 98 else: -
anuga_core/source/anuga/shallow_water/data_manager.py
r5347 r5352 3919 3919 assert allclose(sort(longitudes), longitudes) 3920 3920 3921 print latitudes[0],longitudes[0]3922 print len(latitudes),len(longitudes)3923 print latitudes[len(latitudes)-1],longitudes[len(longitudes)-1]3921 #print latitudes[0],longitudes[0] 3922 #print len(latitudes),len(longitudes) 3923 #print latitudes[len(latitudes)-1],longitudes[len(longitudes)-1] 3924 3924 3925 3925 lat_ascending = True
Note: See TracChangeset
for help on using the changeset viewer.