Ignore:
Timestamp:
Nov 15, 2011, 4:36:00 PM (12 years ago)
Author:
steve
Message:

commiting at the anuga_core level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_validation/okushiri_2005/run_okushiri.py

    r7492 r8248  
    2222
    2323# Module imports
    24 from anuga.interface import Domain
    25 from anuga.interface import Reflective_boundary
    26 from anuga.interface import Time_boundary
    27 from anuga.interface import Transmissive_momentum_set_stage_boundary
    28 from anuga.interface import Transmissive_n_momentum_zero_t_momentum_set_stage_boundary
    29 from anuga.interface import file_function
     24from anuga import Domain
     25from anuga import Reflective_boundary
     26from anuga import Time_boundary
     27from anuga import Transmissive_momentum_set_stage_boundary
     28from anuga import Transmissive_n_momentum_zero_t_momentum_set_stage_boundary
     29from anuga import file_function
    3030
    3131import project
     
    8484triangle_id = domain.get_triangle_containing_point([4.521, 1.196])
    8585# This should get triangle id 32833 with centroid (4.5244, 1.1972)
     86print 'triangle_id = ',triangle_id
    8687bdry_id = domain.get_triangle_containing_point([0.000, 1.696])
     88# This should get triangle id 56474
    8789print 'bdry_id = ',bdry_id
    8890
     
    9698for t in domain.evolve(yieldstep = 0.05, finaltime = 22.5):
    9799    domain.write_time()
    98     print  function(domain.get_time())[0],' bdry_d = ',bdry_id,' ',\
     100    print '   ',function(domain.get_time())[0],' bdry_d = ',bdry_id,' ',\
    99101          domain.get_conserved_quantities(bdry_id, edge=0)[0],' ',\
    100102          domain.get_conserved_quantities(bdry_id, edge=1)[0],' ',\
Note: See TracChangeset for help on using the changeset viewer.