Ignore:
Timestamp:
Dec 1, 2004, 4:56:11 PM (20 years ago)
Author:
duncan
Message:

internal tags nolonger default to 'internal', they now default to not being a tag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pmesh/mesh.py

    r607 r650  
    2626import exceptions
    2727
    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?
     31initialconversions = ['', 'external','']
    2932
    3033#from os import sep
     
    16941697    Also, input an initial converting list of the strings
    16951698    Note, the converting list starts off with
    1696     ["internal boundary", "external boundary"]
     1699    ["internal boundary", "external boundary", "internal boundary"]
    16971700    example input and output
    16981701    input ["a","b","a","c"],["c"]
    16991702    output [[2, 1, 2, 0], ['c', 'b', 'a']]
    17001703
    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?
    17031707   
    17041708    # note, order the initial converting list is important,
Note: See TracChangeset for help on using the changeset viewer.