Version 21 (modified by hudson, 7 years ago)

--

What's New in ANUGA v1.2

Here are some new features from the upcoming release:

Easy Imports

Instead of typing this at the start of every scenario:

from anuga.shallow_water.boundaries import Reflective_boundary,\
     Transmissive_momentum_set_stage_boundary,\
     Dirichlet_discharge_boundary,\
...
# Shallow water domain is the standard
from anuga.shallow_water.shallow_water_domain import Domain

You can automatically import the shallow water domain and all the commonly used boundaries using this single line:

from anuga import *

You can also import common file conversion routines like so:

from anuga.file_conversion import *

See the documentation for the list of functions and classes that are made available for import.

Deprecated Functionality Removed in ANUGA v1.2

Some old functionality has been removed from ANUGA in version 1.2. Please contact the ANUGA team if you have any issues migrating your code to the new version.

interface.py This has been removed: now you should use "import anuga" instead.
start_screen_catcher This class was not being used, and the effect can easily be reproduced through the OS using > and 2> piping.
copy_code_files Moved from abstract_2d_finite_volumes.util to utilities.file_utils as it was a generic function
csv2dict Renamed to load_csv_as_dict: foo2bar is used for file-to-file conversions.
asc_csiro2sww Renamed to esri2sww.
hecras_cross_sections2pts renamed to sdf2pts.
data_manager_joaquims_patch old, redundant code that was not being used anywhere - has been removed.
sww2domain Renamed to load_sww_as_domain to fit in with new naming convention.
urs_ungridded2sww Renamed to urs2sww to fit in with new naming convention.
mux2sww_time Renamed to read_sww_time_from_mux to fit in with new naming convention.
Write_sts Moved to file module.
get_data_from_file Removed: use the new, more powerful csv_file.load_csv_as_matrix function.
get_timeseries Obsolete function - has been deprecated in 1.2. Please use sww2timeseries or other function.
check_sww_tsh.py Removed obsolete utility that had gone out of date years ago, not used anywhere.
obsolete_code and houdini_code Unreferenced and obsolete code not touched for +18 months. Houdini is a file format and viewer unrelated to ANUGA.
URS_points_needed_to_file Renamed to save_boundary_as_urs - now found in anuga.file.urs
URS_points_needed Renamed to more descriptive name of calculate_boundary_points.
get_flow_through_cross_section Moved to separate module, anuga.shallow_water.sww_interrogate
get_energy_through_cross_section Moved to separate module, anuga.shallow_water.sww_interrogate
get_interpolated_quantities_at_polyline_midpoints Moved to separate module, anuga.shallow_water.sww_interrogate
store_parameters Moved to anuga.file.csv_file.
decimate_dem Renamed to anuga.file_conversion.dem2dem.
export_grid Renamed to sww2dem_batch and moved to sww2dem module.
points2polygon Renamed to load_pts_as_polygon, moved to anuga.file.pts
data_manager This was a huge "Swiss army knife" module that has been divided between many modules. It has been completely removed. Find file loading and conversion functions in anuga.file and anuga.file_conversion.