Changeset 1786


Ignore:
Timestamp:
Aug 30, 2005, 5:54:52 PM (19 years ago)
Author:
ole
Message:

Got karratha skeleton to work

Location:
production/karratha_2005
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • production/karratha_2005/create_mesh.py

    r1784 r1786  
    6060                      point_se,
    6161                      point_ne,
    62                       point_ne]
     62                      point_nw]
    6363
    6464   
     
    6969
    7070
    71     base_resolution = 1
     71    base_resolution = 100000
    7272
    73     inner = m.addRegionEN(point_se[0]+1, point_se[1]+1)
     73    inner = m.addRegionEN(point_sw[0]+1, point_sw[1]+1)
    7474    inner.setMaxArea(base_resolution)
    7575
  • production/karratha_2005/run_karratha.py

    r1785 r1786  
    3434
    3535domain.set_name(project.basename)
     36domain.set_datadir(project.outputdir)
     37domain.store = True
     38
    3639print "Number of triangles = ", len(domain)
    3740print 'The extent is ', domain.get_extent()
     
    3942#IC
    4043domain.set_quantity('stage', 0)
    41 
     44domain.set_quantity('elevation',
     45                    filename = demname + '.pts',
     46                    use_cache = True,
     47                    verbose = True)
    4248
    4349#BC
Note: See TracChangeset for help on using the changeset viewer.