Changeset 4663 for anuga_core/source/anuga/pmesh/mesh.py
- Timestamp:
- Aug 7, 2007, 2:20:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/pmesh/mesh.py
r4458 r4663 1214 1214 del v.dupindex 1215 1215 return Vertices,counter 1216 1216 1217 # FIXME (DSG-DSG) Move this to geospatial 1217 1218 def thinoutVertices(self, delta): 1218 1219 """Pre-condition: There are no user segments … … 2015 2016 def exportPointsFile(self,ofile): 2016 2017 """ 2017 export a points (.xya or .pts)file, ofile.2018 export a points file, ofile. 2018 2019 2019 2020 """ … … 2999 3000 3000 3001 def importMeshFromFile(ofile): 3001 """returns a mesh object, made from a .xya/.ptsor .tsh/.msh file3002 """returns a mesh object, made from a points file or .tsh/.msh file 3002 3003 Often raises IOError,RuntimeError 3003 3004 """ 3004 3005 newmesh = None 3005 if (ofile[-4:]== ". xya" or ofile[-4:]== ".pts" or ofile[-4:]== ".txt" or \3006 if (ofile[-4:]== ".pts" or ofile[-4:]== ".txt" or \ 3006 3007 ofile[-4:]== ".csv"): 3007 3008 geospatial = Geospatial_data(ofile)
Note: See TracChangeset
for help on using the changeset viewer.