Ignore:
Timestamp:
Nov 7, 2007, 4:09:45 PM (16 years ago)
Author:
nick
Message:

testing validation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/conical_island/run_circular.py

    r4799 r4800  
    124124    #convert Degs to Rads
    125125    angle = ((angle-180)/180.0)*pi
    126     p = get_xy(x,y,2.,angle)
     126    p = get_xy(x,y,2.4,angle)
    127127    poly2.append([p[0],p[1]])
    128128   
     
    134134    #convert Degs to Rads
    135135    angle = ((angle-180)/180.0)*pi
    136     p = get_xy(x,y,1.1,angle)
     136    p = get_xy(x,y,1.6,angle)
    137137    poly3.append([p[0],p[1]])
    138138   
    139139poly.append(poly3)
    140140internal_poly.append([poly3,1])
     141
     142poly4 = []
     143for i,angle in enumerate(angles1):
     144    #convert Degs to Rads
     145    angle = ((angle-180)/180.0)*pi
     146    p = get_xy(x,y,1.1,angle)
     147    poly4.append([p[0],p[1]])
     148   
     149poly.append(poly4)
     150internal_poly.append([poly2,.01])
    141151
    142152plot_polygons(poly,'poly.png')
Note: See TracChangeset for help on using the changeset viewer.