Changeset 650 for inundation/ga/storm_surge/pmesh/mesh.py
- Timestamp:
- Dec 1, 2004, 4:56:11 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pmesh/mesh.py
r607 r650 26 26 import exceptions 27 27 28 initialconversions = ['internal', 'external','internal'] 28 # 1st and third values must be the same 29 #initialconversions = ['internal', 'external','internal'] 30 # FIXME: maybe make this a switch that the user can change? 31 initialconversions = ['', 'external',''] 29 32 30 33 #from os import sep … … 1694 1697 Also, input an initial converting list of the strings 1695 1698 Note, the converting list starts off with 1696 ["internal boundary", "external boundary" ]1699 ["internal boundary", "external boundary", "internal boundary"] 1697 1700 example input and output 1698 1701 input ["a","b","a","c"],["c"] 1699 1702 output [[2, 1, 2, 0], ['c', 'b', 'a']] 1700 1703 1701 the first element in the converting list will not be used. it is 1702 overwritten with "" 1704 the first element in the converting list will be 1705 overwritten with "". 1706 ?This will become the third item in the converting list? 1703 1707 1704 1708 # note, order the initial converting list is important,
Note: See TracChangeset
for help on using the changeset viewer.