Changeset 1837


Ignore:
Timestamp:
Sep 15, 2005, 5:37:47 PM (18 years ago)
Author:
ole
Message:

More karratha work

Location:
production/karratha_2005
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • production/karratha_2005/create_mesh.py

    r1832 r1837  
    1212
    1313
    14 def create_mesh_boundary(polygon, tags, resolution, filename = None):
     14def create_mesh(polygon, tags, resolution, filename = None):
    1515    """Create mesh from bounding polygon, tags for all segments and resolution.
    1616
     
    2424
    2525    FIXME - FUTURE:
    26       Use class Point
     26      Use class Point_set
    2727      Take multiple polygons
    2828
  • production/karratha_2005/project.py

    r1832 r1837  
    4242#east = degminsec2decimal_degrees(117,0,0)
    4343
    44 south = degminsec2decimal_degrees(-20,45,0)
     44south = degminsec2decimal_degrees(-20,50,0)
    4545north = degminsec2decimal_degrees(-20,15,0)
    4646west = degminsec2decimal_degrees(116,20,0)
  • production/karratha_2005/run_karratha.py

    r1832 r1837  
    4343
    4444#Mesh
    45 from create_mesh import create_mesh_boundary
     45from create_mesh import create_mesh
    4646
    47 m = cache(create_mesh_boundary,
     47m = cache(create_mesh,
    4848          project.polygon,
    4949          {'tags': {'back': [7, 8], 'side': [0, 6], 'ocean': [1, 2, 3, 4, 5]},
    5050          'resolution': 52000,
     51          #'resolution': 150000,           
    5152          'filename': project.meshname + '.msh'},
    5253          verbose = True)
    53 
    54 
    5554
    5655
     
    9291#Setup IC
    9392tide = 0
     93domain.set_quantity('friction', 0.03)
    9494domain.set_quantity('stage', tide)
    9595domain.set_quantity('elevation',
Note: See TracChangeset for help on using the changeset viewer.