source: anuga_core/source/anuga/shallow_water/__init__.py @ 7632

Last change on this file since 7632 was 7519, checked in by steve, 15 years ago

Have been playing with using a slope limited velocity to calculate
fluxes (hence the addition of evolved_quantities as well as conserved
quantities.

But the commit is to fix a problem Rudy found with sww2dem. Seems
numpy.array2string is a little too clever, in that it summarizes
output if there is a long sequence of zeros to
[0.0, 0.0, 0.0, ... 0.0, 0.0 ,0.0] To get around this I have added
a call to numpy.set_options(threshold=sys.max_int) to turn this
behaviour off!

File size: 807 bytes
Line 
1"""Make directory available as a Python package
2"""
3
4# Add path of package to PYTHONPATH to allow C-extensions to be loaded
5import sys
6sys.path += __path__
7
8# Make selected classes available directly
9from shallow_water_domain import Domain,\
10     Transmissive_boundary, Reflective_boundary,\
11     Dirichlet_boundary, Time_boundary, File_boundary,\
12     Transmissive_momentum_set_stage_boundary,\
13     Dirichlet_discharge_boundary,\
14     Field_boundary,\
15     Transmissive_stage_zero_momentum_boundary,\
16     Transmissive_n_momentum_zero_t_momentum_set_stage_boundary,\
17     AWI_boundary
18
19#from shallow_water_balanced_domain import Swb_domain
20
21
22# FIXME (Ole): Deprecate
23from shallow_water_domain import Transmissive_Momentum_Set_Stage_boundary
24from shallow_water_domain import Dirichlet_Discharge_boundary
25 
Note: See TracBrowser for help on using the repository browser.