Changeset 4590
- Timestamp:
- Jul 4, 2007, 6:38:19 PM (17 years ago)
- Location:
- anuga_core/source/anuga/fit_interpolate
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/fit_interpolate/search_functions.py
r4522 r4590 8 8 from Numeric import dot 9 9 10 from numerical_tools import get_machine_precision10 from anuga.utilities.numerical_tools import get_machine_precision 11 11 12 12 def search_tree_of_vertices(root, mesh, x): … … 51 51 52 52 def _search_triangles_of_vertices(mesh, candidate_vertices, x): 53 """Search for triangle containing x amongs candidate_vertices in mesh 54 55 This is called by search_tree_of_vertices once the appropriate node 56 has been found from the quad tree. 57 58 This function is responsible for most of the compute time in 59 fit and interpolate. 60 """ 61 53 62 #Find triangle containing x: 54 63 element_found = False -
anuga_core/source/anuga/fit_interpolate/test_fit.py
r4535 r4590 215 215 216 216 interp = Fit(vertices, triangles, 217 217 alpha=0.0) 218 218 219 219
Note: See TracChangeset
for help on using the changeset viewer.