Ignore:
Timestamp:
Aug 7, 2009, 6:46:22 PM (15 years ago)
Author:
ole
Message:

Removed hardwired references to conserved quantities from Write_sww in preparation for the ability to flexibly selecting which quantities to store and whether to do it every time step.
This is in regard to ticket:191

All tests pass.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r7308 r7339  
    1041910419        number_of_volumes = len(volumes)
    1042010420        number_of_points = len(points_utm)
    10421         sww = Write_sww()
     10421        sww = Write_sww(['elevation'], ['stage', 'xmomentum', 'ymomentum'])
    1042210422        sww.store_header(outfile, times, number_of_volumes,
    1042310423                         number_of_points, description='fully sick testing',
     
    1045110451        number_of_volumes = len(volumes)
    1045210452        number_of_points = len(points_utm)
    10453         sww = Write_sww()
     10453        sww = Write_sww(['elevation'], ['stage', 'xmomentum', 'ymomentum'])       
    1045410454        sww.store_header(outfile, times, number_of_volumes,
    1045510455                         number_of_points, description='fully sick testing',
     
    1048710487        number_of_volumes = len(volumes)
    1048810488        number_of_points = len(points_utm)
    10489         sww = Write_sww()
     10489        sww = Write_sww(['elevation'], ['stage', 'xmomentum', 'ymomentum'])       
    1049010490        sww.store_header(outfile, times, number_of_volumes,
    1049110491                         number_of_points, description='fully sick testing',
     
    1052610526        number_of_volumes = len(volumes)
    1052710527        number_of_points = len(points_utm)
    10528         sww = Write_sww()
     10528        sww = Write_sww(['elevation'], ['stage', 'xmomentum', 'ymomentum'])       
    1052910529        sww.store_header(outfile, times, number_of_volumes,
    1053010530                         number_of_points, description='fully sick testing',
     
    1056210562        number_of_volumes = len(volumes)
    1056310563        number_of_points = len(points_utm)
    10564         sww = Write_sww()
     10564        sww = Write_sww(['elevation'], ['stage', 'xmomentum', 'ymomentum'])       
    1056510565        sww.store_header(outfile, times, number_of_volumes,
    1056610566                         number_of_points, description='fully sick testing',
Note: See TracChangeset for help on using the changeset viewer.