Ignore:
Timestamp:
Jul 9, 2014, 12:05:07 AM (11 years ago)
Author:
steve
Message:

Chenged setup_boundaries to allow pickle of domain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/validation_tests/behaviour_only/tides_hecras/channel_floodplain1.py

    r9243 r9256  
    99import anuga
    1010import numpy
    11 from anuga_parallel.parallel_operator_factory import Inlet_operator, Boyd_box_operator
    12 from anuga_parallel import distribute, myid, numprocs, finalize, barrier
     11from anuga import Inlet_operator, Boyd_box_operator
     12from anuga import distribute, myid, numprocs, finalize, barrier
    1313
    14 from anuga import myid, finalize, distribute, barrier
     14
    1515
    1616args = anuga.get_args()
     
    146146    return 0.7+0.3*numpy.sin(2.*numpy.pi*t/(30.*60.))-1.0 # Note elevation datum differs in hecras and ANUGA
    147147
    148 Bout_tmss = anuga.shallow_water.boundaries.Transmissive_n_momentum_zero_t_momentum_set_stage_boundary(domain, function = outflow_stage_boundary)
     148Bout_tmss = anuga.Transmissive_n_momentum_zero_t_momentum_set_stage_boundary(domain, function = outflow_stage_boundary)
    149149
    150150domain.set_boundary({'left': Br,
Note: See TracChangeset for help on using the changeset viewer.