1 | | = Deprecated Functionality Removed in ANUGA v1.2 = |
| 1 | = What's New in ANUGA v1.2 = |
| 2 | Here are some new features from the upcoming release: |
| 3 | |
| 4 | |
| 5 | == Easy Imports == |
| 6 | Instead of typing this at the start of every scenario: |
| 7 | {{{ |
| 8 | from anuga.shallow_water.boundaries import Reflective_boundary,\ |
| 9 | Transmissive_momentum_set_stage_boundary,\ |
| 10 | Dirichlet_discharge_boundary,\ |
| 11 | ... |
| 12 | # Shallow water domain is the standard |
| 13 | from anuga.shallow_water.shallow_water_domain import Domain |
| 14 | }}} |
| 15 | |
| 16 | You can automatically import the shallow water domain and all the commonly used boundaries using this single line: |
| 17 | {{{ |
| 18 | from anuga import * |
| 19 | }}} |
| 20 | |
| 21 | |
| 22 | You can also import common file conversion routines like so: |
| 23 | {{{ |
| 24 | from anuga.file_conversion import * |
| 25 | }}} |
| 26 | |
| 27 | See the documentation for the list of functions and classes that are made available for import. |
| 28 | |
| 29 | == Deprecated Functionality Removed in ANUGA v1.2 == |