- Timestamp:
- Sep 5, 2008, 11:30:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/quantity.py
r5729 r5736 1012 1012 associated matrices will be reused to save time. 1013 1013 1014 The argument interpolation points must be given as either a list of absolute UTM coordinates or 1015 a geospatial data object. 1016 """ 1017 1018 # FIXME (Ole): Could do with an input check (should be generalised and used widely) 1019 # That will check that interpolation points is either a list of points, Nx2 array, or geospatial 1014 The argument interpolation points must be given as either a 1015 list of absolute UTM coordinates or a geospatial data object. 1016 """ 1017 1018 # FIXME (Ole): Could do with an input check (should be generalised 1019 # and used widely) 1020 # That will check that interpolation points is either a list of 1021 # points, Nx2 array, or geospatial 1020 1022 1021 1023 # Ensure points are converted to coordinates relative to mesh origin 1022 # FIXME (Ole): This could all be refactored using the 'change_points_geo_ref' method 1023 # of Class geo_reference. The purpose is to make interpolation points relative 1024 # FIXME (Ole): This could all be refactored using the 1025 # 'change_points_geo_ref' method of Class geo_reference. 1026 # The purpose is to make interpolation points relative 1024 1027 # to the mesh origin. 1025 1028 # … … 1034 1037 interpolation_points = ensure_numeric(interpolation_points) 1035 1038 1036 # Get internal (discontinuous) triangles for use with the interpolation object. 1039 1040 1041 # Get internal (discontinuous) triangles for use with the 1042 # interpolation object. 1037 1043 x, y, vertex_values, triangles = self.get_vertex_values(xy=True, 1038 1044 smooth=False)
Note: See TracChangeset
for help on using the changeset viewer.