Changeset 9675


Ignore:
Timestamp:
Feb 16, 2015, 3:49:51 PM (9 years ago)
Author:
steve
Message:

Updating anuga manual

Location:
trunk/anuga_core
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/examples/cairns/runParallelCairns.py

    r9395 r9675  
    4949
    5050    # Create DEM from asc data
    51     anuga.asc2dem(project.name_stem+'.asc', use_cache=project.cache, verbose=project.verbose)
     51    anuga.asc2dem(project.name_stem+'.asc', use_cache=project.cache,
     52                  verbose=project.verbose)
    5253
    5354    # Create pts file for onshore DEM
    54     anuga.dem2pts(project.name_stem+'.dem', use_cache=project.cache, verbose=project.verbose)
     55    anuga.dem2pts(project.name_stem+'.dem', use_cache=project.cache,
     56                  verbose=project.verbose)
    5557
    5658    #------------------------------------------------------------------------------
  • trunk/anuga_core/examples/cairns/runcairns.py

    r9396 r9675  
    3737
    3838# Create DEM from asc data
    39 anuga.asc2dem(project.name_stem+'.asc', use_cache=project.cache, verbose=project.verbose)
     39anuga.asc2dem(project.name_stem+'.asc', use_cache=project.cache,
     40              verbose=project.verbose)
    4041
    4142# Create pts file for onshore DEM
    42 anuga.dem2pts(project.name_stem+'.dem', use_cache=project.cache, verbose=project.verbose)
     43anuga.dem2pts(project.name_stem+'.dem', use_cache=project.cache,
     44              verbose=project.verbose)
    4345
    4446#------------------------------------------------------------------------------
  • trunk/anuga_core/examples/checkpointing/runCheckpoint.py

    r9394 r9675  
    8181#
    8282# Though in the part of the code where you create the domain as normal,
    83 # remember to turn on checkpointing via domain.set_checkpointing(checkpoint_time = 5)
    84 # (see code below)
     83# remember to turn on checkpointing via
     84# domain.set_checkpointing(checkpoint_time = 5) (see code below)
    8585#------------------------------------------------------------------------------
    8686try:
     
    8888    from anuga import load_checkpoint_file
    8989   
    90     domain = load_checkpoint_file(domain_name = domain_name, checkpoint_dir = checkpoint_dir)
     90    domain = load_checkpoint_file(domain_name = domain_name,
     91                                  checkpoint_dir = checkpoint_dir)
    9192
    9293except:
     
    134135    Bts = Transmissive_n_momentum_zero_t_momentum_set_stage_boundary(domain, wave)
    135136   
    136     domain.set_boundary({'outflow' :Br, 'inflow' :Br, 'inner' :Br, 'exterior' :Br, 'open' :Bts})
     137    domain.set_boundary({'outflow' :Br, 'inflow' :Br, 'inner' :Br,
     138                         'exterior' :Br, 'open' :Bts})
    137139   
    138140   
     
    167169        print 'That took %.2f seconds' %(time.time()-t0)
    168170        print 'Communication time %.2f seconds'%domain.communication_time
    169         print 'Reduction Communication time %.2f seconds'%domain.communication_reduce_time
     171        print 'Reduction Communication time %.2f seconds' \
     172               %domain.communication_reduce_time
    170173        print 'Broadcast time %.2f seconds'%domain.communication_broadcast_time
    171174    else:
Note: See TracChangeset for help on using the changeset viewer.