Changeset 6036 for anuga_core/source/anuga/fit_interpolate/interpolate.py
- Timestamp:
- Nov 30, 2008, 1:09:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/fit_interpolate/interpolate.py
r6035 r6036 121 121 'max_vertices_per_cell': max_vertices_per_cell, 122 122 'verbose': verbose} 123 124 I = apply(Interpolate, args, kwargs) 123 124 125 126 if use_cache is True: 127 # Messy wrapping of Interpolate to deal with win32 error 128 # I = cache(Interpolate, args, kwargs, verbose=verbose) 129 # work on linux 130 def wrap_Interpolate(args,kwargs): 131 I = apply(Interpolate, args, kwargs) 132 return I 133 I = cache(wrap_Interpolate, (args, kwargs),{}, 134 verbose=verbose) 135 else: 136 I = apply(Interpolate, args, kwargs) 137 125 138 126 139 … … 171 184 172 185 # FIXME (Ole): Need an input check 173 174 186 175 187 FitInterpolate.__init__(self,
Note: See TracChangeset
for help on using the changeset viewer.