├── .coveragerc
├── .github
└── workflows
│ ├── conda-macos-setup.yml
│ ├── conda-setup.yml
│ ├── python-package-conda.yml
│ ├── python-package.yml
│ └── python-publish.yml
├── .gitignore
├── .readthedocs.yaml
├── .travis.yml
├── CITATION.cff
├── CONTRIBUTING.rst
├── INSTALL.rst
├── LICENSE.txt
├── MANIFEST.in
├── README.rst
├── _config.yml
├── anuga
├── __init__.py
├── __metadata__.py
├── abstract_2d_finite_volumes
│ ├── __init__.py
│ ├── ermapper_grids.py
│ ├── file_function.py
│ ├── gauge.py
│ ├── general_mesh.py
│ ├── generic_boundary_conditions.py
│ ├── generic_domain.py
│ ├── log.ini
│ ├── mesh_factory.py
│ ├── mesh_factory_ext.pyx
│ ├── meson.build
│ ├── neighbour_mesh.py
│ ├── neighbour_mesh_ext.pyx
│ ├── neighbour_table.cpp
│ ├── neighbour_table_ext.pyx
│ ├── old_setup.py
│ ├── pmesh2domain.c
│ ├── pmesh2domain.py
│ ├── pmesh2domain_ext.pyx
│ ├── quantity.c
│ ├── quantity.py
│ ├── quantity_cuda.c
│ ├── quantity_cuda_ext.pyx
│ ├── quantity_ext.pyx
│ ├── quantity_openacc.c
│ ├── quantity_openacc_ext.pyx
│ ├── quantity_openmp.c
│ ├── quantity_openmp_ext.pyx
│ ├── region.py
│ ├── tag_region.py
│ ├── tests
│ │ ├── __init__.py
│ │ ├── meson.build
│ │ ├── show_balanced_limiters.py
│ │ ├── test_ermapper.py
│ │ ├── test_gauge.py
│ │ ├── test_general_mesh.py
│ │ ├── test_generic_boundary_conditions.py
│ │ ├── test_generic_domain.py
│ │ ├── test_ghost.py
│ │ ├── test_neighbour_mesh.py
│ │ ├── test_pmesh2domain.py
│ │ ├── test_quantity.py
│ │ ├── test_region.py
│ │ ├── test_tag_region.py
│ │ └── test_util.py
│ └── util.py
├── advection
│ ├── __init__.py
│ ├── advection.c
│ ├── advection.py
│ ├── advection_ext.pyx
│ ├── meson.build
│ ├── setup.py
│ └── tests
│ │ ├── __init__.py
│ │ ├── meson.build
│ │ └── test_advection.py
├── alpha_shape
│ ├── __init__.py
│ ├── alpha_shape.py
│ ├── meson.build
│ ├── setup.py
│ └── tests
│ │ ├── __init__.py
│ │ ├── meson.build
│ │ └── test_alpha_shape.py
├── anuga_exceptions.py
├── caching
│ ├── README.txt
│ ├── __init__.py
│ ├── caching.py
│ ├── dummy_classes_for_testing.py
│ ├── meson.build
│ ├── setup.py
│ └── tests
│ │ ├── __init__.py
│ │ ├── meson.build
│ │ └── test_caching.py
├── config.py
├── coordinate_transforms
│ ├── __init__.py
│ ├── geo_reference.py
│ ├── lat_long_UTM_conversion.py
│ ├── meson.build
│ ├── point.py
│ ├── redfearn.py
│ ├── setup.py
│ └── tests
│ │ ├── __init__.py
│ │ ├── data
│ │ ├── meson.build
│ │ ├── projection_test_points.csv
│ │ ├── projection_test_points.lic
│ │ ├── projection_test_points_z53.csv
│ │ ├── projection_test_points_z53.lic
│ │ ├── projection_test_points_z54.csv
│ │ ├── projection_test_points_z54.lic
│ │ ├── redfearn.lic
│ │ └── redfearn.xls
│ │ ├── meson.build
│ │ ├── test_geo_reference.py
│ │ ├── test_lat_long_UTM_conversion.py
│ │ ├── test_point.py
│ │ └── test_redfearn.py
├── culvert_flows
│ ├── README.txt
│ ├── __init__.py
│ ├── culvert_class.py
│ ├── culvert_polygons.py
│ ├── culvert_routines.py
│ ├── meson.build
│ ├── new_culvert_class.py
│ ├── setup.py
│ └── tests
│ │ ├── __init__.py
│ │ ├── culvert_polygons_example.py
│ │ ├── data
│ │ ├── example_rating_curve.csv
│ │ ├── example_rating_curve.lic
│ │ ├── example_rating_curve2.csv
│ │ ├── example_rating_curve2.lic
│ │ ├── meson.build
│ │ ├── unittests.lic
│ │ └── unittests.xls
│ │ ├── meson.build
│ │ ├── run_culvert_flat_water_lev.py
│ │ ├── test_culvert_class.py
│ │ ├── test_culvert_polygons.py
│ │ ├── test_culvert_routines.py
│ │ ├── test_culvert_routines_box_10pct.py
│ │ ├── test_culvert_routines_box_1pct.py
│ │ ├── test_culvert_routines_pipe_10pct.py
│ │ ├── test_culvert_routines_pipe_1pct.py
│ │ └── test_new_culvert_class.py
├── damage_modelling
│ ├── __init__.py
│ ├── exposure.py
│ ├── inundation_damage.py
│ ├── meson.build
│ ├── setup.py
│ └── tests
│ │ ├── __init__.py
│ │ ├── meson.build
│ │ ├── test_exposure.py
│ │ └── test_inundation_damage.py
├── error_api.py
├── extras.py
├── file
│ ├── __init__.py
│ ├── csv_file.py
│ ├── meson.build
│ ├── mux.py
│ ├── netcdf.py
│ ├── pts.py
│ ├── setup.py
│ ├── structure.h
│ ├── sts.py
│ ├── sww.py
│ ├── tests
│ │ ├── __init__.py
│ │ ├── meson.build
│ │ ├── test_csv.py
│ │ ├── test_mux.py
│ │ ├── test_read_sww.py
│ │ ├── test_sww.py
│ │ ├── test_ungenerate.py
│ │ └── test_urs.py
│ ├── ungenerate.py
│ ├── urs.c
│ ├── urs.py
│ └── urs_ext.pyx
├── file_conversion
│ ├── __init__.py
│ ├── asc2dem.py
│ ├── calc_grid_values.c
│ ├── calc_grid_values_ext.pyx
│ ├── csv2sts.py
│ ├── dem2array.py
│ ├── dem2dem.py
│ ├── dem2pts.py
│ ├── esri2sww.py
│ ├── ferret2sww.py
│ ├── file_conversion.py
│ ├── grd2array.py
│ ├── llasc2pts.py
│ ├── meson.build
│ ├── sdf2pts.py
│ ├── setup.py
│ ├── sts2sww_mesh.py
│ ├── sww2array.py
│ ├── sww2dem.py
│ ├── sww2dem_new.py
│ ├── sww2pts.py
│ ├── tests
│ │ ├── __init__.py
│ │ ├── meson.build
│ │ ├── test_2pts.py
│ │ ├── test_csv2sts.py
│ │ ├── test_dem2array.py
│ │ ├── test_dem2dem.py
│ │ ├── test_dem2pts.py
│ │ ├── test_file_conversion.py
│ │ ├── test_grd2array.py
│ │ ├── test_llasc2pts.py
│ │ ├── test_sww2dem.py
│ │ ├── test_tif2.py
│ │ ├── test_urs2sts.py
│ │ └── test_urs2sww.py
│ ├── tif2array.py
│ ├── tif2point_values.py
│ ├── urs2nc.py
│ ├── urs2sts.py
│ ├── urs2sww.py
│ ├── urs2txt.py
│ └── xya2pts.py
├── fit_interpolate
│ ├── Makefile
│ ├── __init__.py
│ ├── benchmark_least_squares.py
│ ├── fit.py
│ ├── fitsmooth.c
│ ├── fitsmooth_ext.pyx
│ ├── general_fit_interpolate.py
│ ├── interpolate.py
│ ├── interpolate2d.py
│ ├── meson.build
│ ├── p_test.c
│ ├── profile_long_benchmark.py
│ ├── ptinpoly.c
│ ├── ptinpoly.h
│ ├── rand48.c
│ ├── run_long_benchmark.py
│ ├── setup.py
│ ├── statrun.tst.sh
│ ├── table.awk
│ ├── tests
│ │ ├── meson.build
│ │ ├── test_fit.py
│ │ ├── test_interpolate.py
│ │ ├── test_interpolate2d.py
│ │ └── test_search_functions.py
│ └── ticket178_benchmark.py
├── geometry
│ ├── __init__.py
│ ├── aabb.py
│ ├── meson.build
│ ├── polygon.c
│ ├── polygon.py
│ ├── polygon_ext.pyx
│ ├── polygon_function.py
│ ├── quad.py
│ ├── setup.py
│ └── tests
│ │ ├── __init__.py
│ │ ├── meson.build
│ │ ├── test_geometry.py
│ │ └── test_polygon.py
├── geospatial_data
│ ├── __init__.py
│ ├── geospatial_data.py
│ ├── meson.build
│ ├── setup.py
│ └── tests
│ │ ├── meson.build
│ │ └── test_geospatial_data.py
├── lib
│ ├── README_add_csv_header.txt
│ ├── README_maxasc.txt
│ ├── README_order_boundary.txt
│ ├── __init__.py
│ ├── add_csv_header.py
│ ├── file_length.py
│ ├── maxasc.py
│ ├── meson.build
│ ├── order_boundary.py
│ ├── setup.py
│ └── tests
│ │ ├── __init__.py
│ │ ├── meson.build
│ │ ├── perthAll_stage_250m.lic
│ │ ├── perthAll_stage_250m_all.lic
│ │ ├── perthAll_stage_original.lic
│ │ ├── test1.asc
│ │ ├── test1.lic
│ │ ├── test1_bad_num_lines.asc
│ │ ├── test1_bad_num_lines.lic
│ │ ├── test1_header_differs.asc
│ │ ├── test1_header_differs.lic
│ │ ├── test1_wrong_num_columns.asc
│ │ ├── test1_wrong_num_columns.lic
│ │ ├── test2.asc
│ │ ├── test2.expected.asc
│ │ ├── test2.expected.lic
│ │ ├── test2.lic
│ │ ├── test3.asc
│ │ ├── test3.expected.asc
│ │ ├── test3.expected.lic
│ │ ├── test3.lic
│ │ ├── test_maxasc.py
│ │ └── test_order_boundary.py
├── load_mesh
│ ├── __init__.py
│ ├── loadASCII.py
│ ├── meson.build
│ ├── setup.py
│ └── tests
│ │ ├── meson.build
│ │ └── test_loadASCII.py
├── log.ini
├── mesh_engine
│ ├── __init__.py
│ ├── mesh_engine.py
│ ├── meson.build
│ ├── setup.py
│ └── tests
│ │ ├── meson.build
│ │ └── test_generate_mesh.py
├── meson.build
├── old_setup.py
├── operators
│ ├── __init__.py
│ ├── base_operator.py
│ ├── boundary_flux_integral_operator.py
│ ├── change_friction_operator.py
│ ├── collect_max_quantities_operator.py
│ ├── collect_max_stage_operator.py
│ ├── elliptic_operator.py
│ ├── erosion_operators.py
│ ├── kinematic_viscosity_operator.c
│ ├── kinematic_viscosity_operator.py
│ ├── kinematic_viscosity_operator_ext.pyx
│ ├── mannings_operator.c
│ ├── mannings_operator.py
│ ├── mannings_operator_ext.pyx
│ ├── meson.build
│ ├── rate_operators.py
│ ├── sanddune_erosion_operator.py
│ ├── set_elevation.py
│ ├── set_elevation_operator.py
│ ├── set_friction_operators.py
│ ├── set_quantity.py
│ ├── set_quantity_operator.py
│ ├── set_stage.py
│ ├── set_stage_operator.py
│ ├── set_w_uh_vh_operator.py
│ ├── setup.py
│ └── tests
│ │ ├── meson.build
│ │ ├── test_base_operator.py
│ │ ├── test_boundary_flux_integral_operator.py
│ │ ├── test_erosion_operators.py
│ │ ├── test_friction_operators.py
│ │ ├── test_kinematic_viscosity_operator.py
│ │ ├── test_rate_operators.py
│ │ ├── test_set_elevation_operator.py
│ │ ├── test_set_quantity.py
│ │ ├── test_set_stage_operator.py
│ │ └── test_set_w_uh_vh_operators.py
├── parallel
│ ├── INSTALL-README
│ ├── __init__.py
│ ├── config.py
│ ├── data
│ │ ├── merimbula_10785_1.tsh
│ │ ├── meson.build
│ │ ├── small.ps
│ │ ├── small.tsh
│ │ ├── test-100.msh
│ │ ├── test-100.tsh
│ │ ├── test-20.tsh
│ │ └── test_hydrograph.tms
│ ├── distribute_mesh.py
│ ├── meson.build
│ ├── parallel_advection.py
│ ├── parallel_api.py
│ ├── parallel_boyd_box_operator.py
│ ├── parallel_boyd_pipe_operator.py
│ ├── parallel_generic_communications.py
│ ├── parallel_inlet.py
│ ├── parallel_inlet_enquiry.py
│ ├── parallel_inlet_operator.py
│ ├── parallel_internal_boundary_operator.py
│ ├── parallel_meshes.py
│ ├── parallel_operator_factory.py
│ ├── parallel_shallow_water.py
│ ├── parallel_structure_operator.py
│ ├── parallel_weir_orifice_trapezoid_operator.py
│ ├── print_stats.py
│ ├── sequential_distribute.py
│ ├── setup.py
│ └── tests
│ │ ├── meson.build
│ │ ├── run_parallel_distribute_domain.py
│ │ ├── run_parallel_distribute_mesh.py
│ │ ├── run_parallel_riverwall.py
│ │ ├── run_parallel_shallow_domain.py
│ │ ├── run_parallel_sw_flow.py
│ │ ├── skip_parallel_boyd_box_op_apron.py
│ │ ├── skip_parallel_boyd_box_operator.py
│ │ ├── skip_parallel_boyd_pipe_operator.py
│ │ ├── skip_parallel_distribute_mesh.py
│ │ ├── test_distribute_mesh.py
│ │ ├── test_failure.py
│ │ ├── test_parallel_boyd_box_operator.py
│ │ ├── test_parallel_boyd_box_operator_consistency.py
│ │ ├── test_parallel_dist_settings.py
│ │ ├── test_parallel_distribute_domain.py
│ │ ├── test_parallel_file_boundary.py
│ │ ├── test_parallel_frac_op.py
│ │ ├── test_parallel_inlet_operator.py
│ │ ├── test_parallel_inlet_operator_with_region.py
│ │ ├── test_parallel_riverwall.py
│ │ ├── test_parallel_shallow_domain.py
│ │ ├── test_parallel_sw_flow.py
│ │ ├── test_parallel_sw_flow_de0.py
│ │ ├── test_parallel_sw_flow_low_froude_0.py
│ │ ├── test_parallel_sw_flow_low_froude_1.py
│ │ └── test_sequential_dist_sw_flow.py
├── pmesh
│ ├── AppShell.py
│ ├── ProgressBar.py
│ ├── README.txt
│ ├── __init__.py
│ ├── cursornames.py
│ ├── exesetup.py
│ ├── icons
│ │ ├── Add-Hole.gif
│ │ ├── Add-Hole.lic
│ │ ├── Add-Region.gif
│ │ ├── Add-Region.lic
│ │ ├── Add-Vertex-Dialog.gif
│ │ ├── Add-Vertex-Dialog.lic
│ │ ├── Add-Vertex.gif
│ │ ├── Add-Vertex.lic
│ │ ├── Alpha.gif
│ │ ├── Alpha.lic
│ │ ├── Delete.gif
│ │ ├── Delete.lic
│ │ ├── Edit.gif
│ │ ├── Edit.lic
│ │ ├── Join-Vertices.gif
│ │ ├── Join-Vertices.lic
│ │ ├── Mesh-Visibility-Off.gif
│ │ ├── Mesh-Visibility-Off.lic
│ │ ├── Mesh-Visibility-Toggle.gif
│ │ ├── Mesh-Visibility-Toggle.lic
│ │ ├── Mesh.gif
│ │ ├── Mesh.lic
│ │ ├── Pointer.gif
│ │ ├── Pointer.lic
│ │ ├── Segment.gif
│ │ ├── Segment.lic
│ │ ├── Separator.gif
│ │ ├── Separator.lic
│ │ ├── Tag-Segment.gif
│ │ ├── Tag-Segment.lic
│ │ ├── Zoom-Extents.gif
│ │ ├── Zoom-Extents.lic
│ │ ├── Zoom-In.gif
│ │ ├── Zoom-In.lic
│ │ ├── Zoom-Out.gif
│ │ ├── Zoom-Out.lic
│ │ └── meson.build
│ ├── mesh.py
│ ├── mesh_interface.py
│ ├── mesh_quadtree.py
│ ├── meson.build
│ ├── setup.py
│ ├── tests
│ │ ├── meson.build
│ │ ├── test_mesh.py
│ │ ├── test_mesh_interface.py
│ │ └── test_meshquad.py
│ ├── timing.py
│ ├── toolbarbutton.py
│ ├── ungen_example.py
│ └── visualmesh.py
├── rain
│ ├── __init__.py
│ ├── calibrated_radar_rain.py
│ ├── meson.build
│ ├── raster_time_slice_data.py
│ ├── run_calibrated_radar_rain.py
│ └── run_raster_time_slice_data.py
├── revision.py
├── shallow_water
│ ├── __init__.py
│ ├── boundaries.py
│ ├── checkpoint.py
│ ├── cuda_anuga.cu
│ ├── forcing.py
│ ├── friction.py
│ ├── meson.build
│ ├── most2nc.py
│ ├── setup.py
│ ├── shallow_water_domain.py
│ ├── sw_domain.h
│ ├── sw_domain_cuda.py
│ ├── sw_domain_openacc.c
│ ├── sw_domain_openacc_ext.pyx
│ ├── sw_domain_openmp.c
│ ├── sw_domain_openmp_ext.pyx
│ ├── sw_domain_orig.c
│ ├── sw_domain_orig_ext.pyx
│ ├── sw_domain_simd.c
│ ├── sw_domain_simd_ext.pyx
│ ├── sww_interrogate.py
│ ├── tests
│ │ ├── __init__.py
│ │ ├── data
│ │ │ ├── meson.build
│ │ │ ├── polygon_values_example.csv
│ │ │ ├── polygon_values_example.lic
│ │ │ ├── test_points_large.csv
│ │ │ ├── test_points_large.lic
│ │ │ ├── test_points_small.csv
│ │ │ └── test_points_small.lic
│ │ ├── meson.build
│ │ ├── run_CUDA_cft.py
│ │ ├── run_CUDA_extrapolate.py
│ │ ├── run_CUDA_protect_negative.py
│ │ ├── run_CUDA_update_conserved_quantities.py
│ │ ├── run_DE_cuda.py
│ │ ├── run_cupy_flux_distribute.py
│ │ ├── run_protect_new.py
│ │ ├── test_DE_cuda.py
│ │ ├── test_DE_openmp.py
│ │ ├── test_DE_orig.py
│ │ ├── test_DE_simd.py
│ │ ├── test_data_manager.py
│ │ ├── test_forcing.py
│ │ ├── test_friction.py
│ │ ├── test_loadsave.py
│ │ ├── test_local_extrapolation_and_flux_updating.py
│ │ ├── test_most2nc.py
│ │ ├── test_shallow_water_domain.py
│ │ ├── test_sww_interrogate.py
│ │ ├── test_system.py
│ │ ├── test_timezone.py
│ │ └── urs_test_data
│ │ │ ├── 1-z.grd-e-mux2
│ │ │ ├── 1-z.grd-n-mux2
│ │ │ ├── 1-z.grd-z-mux2
│ │ │ ├── 1-z.lic
│ │ │ ├── 2-z.grd-e-mux2
│ │ │ ├── 2-z.grd-n-mux2
│ │ │ ├── 2-z.grd-z-mux2
│ │ │ ├── 2-z.lic
│ │ │ ├── 3-z.grd-e-mux2
│ │ │ ├── 3-z.grd-n-mux2
│ │ │ ├── 3-z.grd-z-mux2
│ │ │ ├── 3-z.lic
│ │ │ ├── e_1_0.csv
│ │ │ ├── e_1_0.lic
│ │ │ ├── e_1_1.csv
│ │ │ ├── e_1_1.lic
│ │ │ ├── e_1_2.csv
│ │ │ ├── e_1_2.lic
│ │ │ ├── e_1_3.csv
│ │ │ ├── e_1_3.lic
│ │ │ ├── e_1_4.csv
│ │ │ ├── e_1_4.lic
│ │ │ ├── e_2_0.csv
│ │ │ ├── e_2_0.lic
│ │ │ ├── e_2_1.csv
│ │ │ ├── e_2_1.lic
│ │ │ ├── e_2_2.csv
│ │ │ ├── e_2_2.lic
│ │ │ ├── e_2_3.csv
│ │ │ ├── e_2_3.lic
│ │ │ ├── e_2_4.csv
│ │ │ ├── e_2_4.lic
│ │ │ ├── e_3_0.csv
│ │ │ ├── e_3_0.lic
│ │ │ ├── e_3_1.csv
│ │ │ ├── e_3_1.lic
│ │ │ ├── e_3_2.csv
│ │ │ ├── e_3_2.lic
│ │ │ ├── e_3_3.csv
│ │ │ ├── e_3_3.lic
│ │ │ ├── e_3_4.csv
│ │ │ ├── e_3_4.lic
│ │ │ ├── e_combined_0.csv
│ │ │ ├── e_combined_0.lic
│ │ │ ├── e_combined_1.csv
│ │ │ ├── e_combined_1.lic
│ │ │ ├── e_combined_2.csv
│ │ │ ├── e_combined_2.lic
│ │ │ ├── e_combined_3.csv
│ │ │ ├── e_combined_3.lic
│ │ │ ├── e_combined_4.csv
│ │ │ ├── e_combined_4.lic
│ │ │ ├── meson.build
│ │ │ ├── n_1_0.csv
│ │ │ ├── n_1_0.lic
│ │ │ ├── n_1_1.csv
│ │ │ ├── n_1_1.lic
│ │ │ ├── n_1_2.csv
│ │ │ ├── n_1_2.lic
│ │ │ ├── n_1_3.csv
│ │ │ ├── n_1_3.lic
│ │ │ ├── n_1_4.csv
│ │ │ ├── n_1_4.lic
│ │ │ ├── n_2_0.csv
│ │ │ ├── n_2_0.lic
│ │ │ ├── n_2_1.csv
│ │ │ ├── n_2_1.lic
│ │ │ ├── n_2_2.csv
│ │ │ ├── n_2_2.lic
│ │ │ ├── n_2_3.csv
│ │ │ ├── n_2_3.lic
│ │ │ ├── n_2_4.csv
│ │ │ ├── n_2_4.lic
│ │ │ ├── n_3_0.csv
│ │ │ ├── n_3_0.lic
│ │ │ ├── n_3_1.csv
│ │ │ ├── n_3_1.lic
│ │ │ ├── n_3_2.csv
│ │ │ ├── n_3_2.lic
│ │ │ ├── n_3_3.csv
│ │ │ ├── n_3_3.lic
│ │ │ ├── n_3_4.csv
│ │ │ ├── n_3_4.lic
│ │ │ ├── n_combined_0.csv
│ │ │ ├── n_combined_0.lic
│ │ │ ├── n_combined_1.csv
│ │ │ ├── n_combined_1.lic
│ │ │ ├── n_combined_2.csv
│ │ │ ├── n_combined_2.lic
│ │ │ ├── n_combined_3.csv
│ │ │ ├── n_combined_3.lic
│ │ │ ├── n_combined_4.csv
│ │ │ ├── n_combined_4.lic
│ │ │ ├── thinned_bound_order_test.lic
│ │ │ ├── thinned_bound_order_test.txt
│ │ │ ├── z_1_0.csv
│ │ │ ├── z_1_0.lic
│ │ │ ├── z_1_1.csv
│ │ │ ├── z_1_1.lic
│ │ │ ├── z_1_2.csv
│ │ │ ├── z_1_2.lic
│ │ │ ├── z_1_3.csv
│ │ │ ├── z_1_3.lic
│ │ │ ├── z_1_4.csv
│ │ │ ├── z_1_4.lic
│ │ │ ├── z_2_0.csv
│ │ │ ├── z_2_0.lic
│ │ │ ├── z_2_1.csv
│ │ │ ├── z_2_1.lic
│ │ │ ├── z_2_2.csv
│ │ │ ├── z_2_2.lic
│ │ │ ├── z_2_3.csv
│ │ │ ├── z_2_3.lic
│ │ │ ├── z_2_4.csv
│ │ │ ├── z_2_4.lic
│ │ │ ├── z_3_0.csv
│ │ │ ├── z_3_0.lic
│ │ │ ├── z_3_1.csv
│ │ │ ├── z_3_1.lic
│ │ │ ├── z_3_2.csv
│ │ │ ├── z_3_2.lic
│ │ │ ├── z_3_3.csv
│ │ │ ├── z_3_3.lic
│ │ │ ├── z_3_4.csv
│ │ │ ├── z_3_4.lic
│ │ │ ├── z_combined_0.csv
│ │ │ ├── z_combined_0.lic
│ │ │ ├── z_combined_1.csv
│ │ │ ├── z_combined_1.lic
│ │ │ ├── z_combined_2.csv
│ │ │ ├── z_combined_2.lic
│ │ │ ├── z_combined_3.csv
│ │ │ ├── z_combined_3.lic
│ │ │ ├── z_combined_4.csv
│ │ │ └── z_combined_4.lic
│ └── tsh2sww.py
├── simulation
│ ├── __init__.py
│ ├── meson.build
│ └── simulation.py
├── structures
│ ├── __init__.py
│ ├── boyd_box_operator.py
│ ├── boyd_box_operator_Amended3.py
│ ├── boyd_pipe_operator.py
│ ├── inlet.py
│ ├── inlet_enquiry.py
│ ├── inlet_operator.py
│ ├── internal_boundary_functions.py
│ ├── internal_boundary_operator.py
│ ├── meson.build
│ ├── riverwall.py
│ ├── setup.py
│ ├── structure_operator.py
│ ├── tests
│ │ ├── SIMPLE_BOYD_CULVERT.ods
│ │ ├── data
│ │ │ ├── hecras_bridge_table.csv
│ │ │ ├── inlet_operator_test1.lic
│ │ │ ├── inlet_operator_test1.tms
│ │ │ ├── inlet_operator_test2.lic
│ │ │ ├── inlet_operator_test2.tms
│ │ │ ├── meson.build
│ │ │ └── test_hydrograph.tms
│ │ ├── meson.build
│ │ ├── test_boyd_box_operator.py
│ │ ├── test_boyd_pipe_operator.py
│ │ ├── test_inlet_operator.py
│ │ ├── test_internal_boundary_functions.py
│ │ ├── test_riverwall_structure.py
│ │ └── test_weir_orifice_trapezoid_operator.py
│ └── weir_orifice_trapezoid_operator.py
├── tsunami_source
│ ├── __init__.py
│ ├── eqf.py
│ ├── eqf_v2.py
│ ├── meson.build
│ ├── okada.f
│ ├── okada_tsunami.py
│ ├── okada_tsunami_fortran.f
│ ├── setup.py
│ ├── smf.py
│ ├── tests
│ │ ├── data
│ │ │ ├── fullokada_MS.lic
│ │ │ ├── fullokada_MS.txt
│ │ │ ├── fullokada_SP.lic
│ │ │ ├── fullokada_SP.txt
│ │ │ ├── fullokada_SS.lic
│ │ │ ├── fullokada_SS.txt
│ │ │ └── meson.build
│ │ ├── meson.build
│ │ ├── okada_tsunami_octave_95.txt
│ │ ├── skip_okada_tsunami.py
│ │ ├── test_eq.py
│ │ ├── test_smf.py
│ │ └── test_tsunami_okada.py
│ └── tsunami_okada.py
├── utilities
│ ├── README.txt
│ ├── __init__.py
│ ├── animate.py
│ ├── argparsing.py
│ ├── cg.c
│ ├── cg_ext.pyx
│ ├── cg_solve.py
│ ├── csv_tools.py
│ ├── csv_tools.tex
│ ├── data_audit.py
│ ├── data_audit_wrapper.py
│ ├── file_utils.py
│ ├── function_utils.py
│ ├── interp.py
│ ├── log.ini
│ ├── log.py
│ ├── log_analyser.py
│ ├── mem_time_equation.py
│ ├── meson.build
│ ├── model_tools.py
│ ├── norms.py
│ ├── numerical_tools.py
│ ├── parallel_abstraction.py
│ ├── parse.py
│ ├── parse_time.py
│ ├── plot_utils.py
│ ├── quad_tree.c
│ ├── quad_tree.h
│ ├── quad_tree_ext.pyx
│ ├── quantity_setting_functions.py
│ ├── quickPlots.py
│ ├── run_anuga_script.py
│ ├── setup.py
│ ├── sparse.c
│ ├── sparse.py
│ ├── sparse_csr.c
│ ├── sparse_csr.h
│ ├── sparse_dok.c
│ ├── sparse_dok.h
│ ├── sparse_ext.pyx
│ ├── sparse_matrix_ext.pyx
│ ├── spatialInputUtil.py
│ ├── sww_merge.py
│ ├── system_tools.py
│ ├── terminal_width.py
│ ├── tests
│ │ ├── data
│ │ │ ├── complex_polygon.csv
│ │ │ ├── complex_polygon.lic
│ │ │ ├── crc_test_file.lic
│ │ │ ├── crc_test_file.png
│ │ │ ├── mainland_only.csv
│ │ │ ├── mainland_only.lic
│ │ │ ├── meson.build
│ │ │ ├── non_complex_polygon.csv
│ │ │ └── non_complex_polygon.lic
│ │ ├── meson.build
│ │ ├── test_cg_solve.py
│ │ ├── test_csv_tools.py
│ │ ├── test_data_audit.py
│ │ ├── test_file_utils.py
│ │ ├── test_function_utils.py
│ │ ├── test_log_analyser.py
│ │ ├── test_mem_time_equation.py
│ │ ├── test_model_tools.py
│ │ ├── test_numerical_tools.py
│ │ ├── test_plot_utils.py
│ │ ├── test_quantity_setting_functions.py
│ │ ├── test_sparse.py
│ │ ├── test_spatialInputUtil.py
│ │ ├── test_system_tools.py
│ │ └── test_xml_tools.py
│ ├── uthash.h
│ ├── util_ext.h
│ ├── util_ext.pyx
│ ├── where_close.py
│ └── xml_tools.py
├── validation_utilities
│ ├── __init__.py
│ ├── fabricate.py
│ ├── meson.build
│ ├── parameters.py
│ ├── produce_report.py
│ ├── run_validation.py
│ ├── save_parameters_tex.py
│ ├── setup.py
│ └── typeset_report.py
├── visualiser
│ ├── __init__.py
│ ├── commandline_viewer.py
│ ├── numerical_dam_break_dry.py
│ ├── offline.py
│ ├── realtime.py
│ ├── setup.py
│ ├── visualiser-tvtk.py
│ └── visualiser.py
└── visualiser_new
│ ├── feature.py
│ ├── height_quantity.py
│ ├── quick_run.py
│ ├── sww_visualiser.py
│ └── visualiser.py
├── appveyor.yml
├── create_revision_file.py
├── doc
├── anuga_user_manual.pdf
└── validations_report.pdf
├── docs
├── Makefile
├── make.bat
├── requirements.txt
└── source
│ ├── background.rst
│ ├── conf.py
│ ├── examples
│ ├── index.rst
│ ├── notebook_create_domain_from_regions.ipynb
│ ├── notebook_create_domain_with_riverwalls.ipynb
│ ├── notebook_flooding_example.ipynb
│ ├── notebook_simple_example.ipynb
│ ├── notebook_tsunami_benchmark.ipynb
│ └── script_simple_example.rst
│ ├── img
│ ├── CENTRAL-CHANNEL.png
│ ├── bedslopeduring.jpg
│ ├── bedslopeduring.lic
│ ├── bedslopeend.jpg
│ ├── bedslopeend.lic
│ ├── bedslopestart.jpg
│ ├── bedslopestart.lic
│ ├── cairns3.jpg
│ ├── cairns3.lic
│ ├── cairnsgauges.jpg
│ ├── cairnsgauges.lic
│ ├── cairnsmodel.jpg
│ ├── cairnsmodel.lic
│ ├── channel1.lic
│ ├── channel1.png
│ ├── channel3.lic
│ ├── channel3.png
│ ├── circular-dam-wet-stage-plot.png
│ ├── dambreakdrystageplot.png
│ ├── fixedwavedepth.jpg
│ ├── fixedwavedepth.lic
│ ├── gaugeCairnsAirportdepth.lic
│ ├── gaugeCairnsAirportdepth.png
│ ├── gaugeElfordReefslide.lic
│ ├── gaugeElfordReefslide.png
│ ├── gaugeElfordReefstage.lic
│ ├── gaugeElfordReefstage.png
│ ├── pioneer-bridge.png
│ ├── polyanddata.jpg
│ ├── polyanddata.lic
│ ├── polyanddata2.jpg
│ ├── polyanddata2.lic
│ ├── slidedepth.jpg
│ ├── slidedepth.lic
│ ├── step-five.jpg
│ ├── step-five.lic
│ ├── step-reconstruct.jpg
│ ├── step-reconstruct.lic
│ ├── triangularmesh.eps
│ ├── triangularmesh.fig
│ ├── triangularmesh.jpg
│ └── triangularmesh.lic
│ ├── index.rst
│ ├── installation
│ ├── index.rst
│ ├── install_anuga.rst
│ ├── install_anuga_developers.rst
│ └── install_python.rst
│ ├── reference
│ ├── boundaries.rst
│ ├── domain.rst
│ ├── index.rst
│ ├── introduction.rst
│ └── operators.rst
│ └── setup_anuga_script
│ ├── boundaries.rst
│ ├── domain.rst
│ ├── evolve.rst
│ ├── index.rst
│ ├── initial_conditions.rst
│ └── operators.rst
├── environments
├── environment_3.10.yml
├── environment_3.11.yml
├── environment_3.12.yml
├── environment_3.13.yml
├── environment_3.14.yml
├── environment_3.8.yml
└── environment_3.9.yml
├── examples
├── cairns
│ ├── cairns.csv
│ ├── cairns.lic
│ ├── cairns.prj
│ ├── cairns.zip
│ ├── export_results.py
│ ├── export_results_to_qgis.py
│ ├── extent.csv
│ ├── extent.lic
│ ├── gauges.csv
│ ├── gauges.lic
│ ├── get_timeseries.py
│ ├── islands.csv
│ ├── islands.lic
│ ├── islands1.csv
│ ├── islands1.lic
│ ├── islands2.csv
│ ├── islands2.lic
│ ├── islands3.csv
│ ├── islands3.lic
│ ├── project.py
│ ├── runParallelCairns.py
│ ├── runcairns.py
│ ├── shallow.csv
│ └── shallow.lic
├── cairns_excel
│ ├── LICENCE.txt
│ ├── README.txt
│ ├── cairns_boundarycond
│ │ ├── msl_boundary.csv
│ │ └── sine_30m.csv
│ ├── cairns_excel.xls
│ ├── cairns_mesh
│ │ ├── breakline_islands.csv
│ │ ├── breakline_islands1.csv
│ │ ├── breakline_islands3.csv
│ │ ├── breakline_shallow.csv
│ │ ├── cairnsextent.dbf
│ │ ├── cairnsextent.prj
│ │ ├── cairnsextent.shp
│ │ ├── cairnsextent.shx
│ │ ├── regionPtAreas.csv
│ │ ├── regionPtAreas.dbf
│ │ ├── regionPtAreas.prj
│ │ ├── regionPtAreas.qpj
│ │ ├── regionPtAreas.shp
│ │ └── regionPtAreas.shx
│ ├── flow_through_cross_sections.py
│ ├── gauge_export.py
│ ├── ipython_velocity_vector_plot.py
│ ├── make_anugaviewer_movie.py
│ ├── points_export.py
│ ├── raster_export.py
│ ├── run_model.py
│ ├── setup
│ │ ├── __init__.py
│ │ ├── make_spatially_averaged_function.py
│ │ ├── parse_input_data.py
│ │ ├── prepare_data.py
│ │ ├── raster_outputs.py
│ │ ├── read_boundary_tags_line_shapefile.py
│ │ ├── setup_boundary_conditions.py
│ │ ├── setup_bridges.py
│ │ ├── setup_initial_conditions.py
│ │ ├── setup_inlets.py
│ │ ├── setup_mesh.py
│ │ ├── setup_pumping_stations.py
│ │ ├── setup_rainfall.py
│ │ ├── setup_riverwalls.py
│ │ └── spatially_averaged_function.py
│ ├── user_functions.py
│ └── xlrd
│ │ ├── __init__.py
│ │ ├── biffh.py
│ │ ├── book.py
│ │ ├── compdoc.py
│ │ ├── formatting.py
│ │ ├── formula.py
│ │ ├── info.py
│ │ ├── licences.py
│ │ ├── sheet.py
│ │ ├── timemachine.py
│ │ ├── xldate.py
│ │ └── xlsx.py
├── checkpointing
│ ├── README.txt
│ ├── merimbula_10785_1.tsh
│ └── runCheckpoint.py
├── cuda
│ └── run_cuda_rectangle.py
├── operators
│ ├── run_bed_shear_erosion.py
│ ├── run_change_elevation.py
│ ├── run_collect_max_stage_operator.py
│ ├── run_flat_fill_slice_erosion.py
│ ├── run_flat_slice_erosion.py
│ ├── run_polygon_erosion.py
│ ├── run_rate_operator.py
│ ├── run_rate_spatial_operator.py
│ ├── run_sanddune_erosion.py
│ ├── run_set_depth_friction.py
│ ├── run_set_elevation.py
│ ├── run_set_elevation_polygon.py
│ ├── run_set_stage.py
│ └── run_set_w_uh_vh.py
├── parallel
│ ├── create_pbs_job.py
│ ├── data
│ │ ├── merimbula_10785_1.tsh
│ │ ├── small.tsh
│ │ ├── test-100.tsh
│ │ ├── test-20.tsh
│ │ └── test_hydrograph.tms
│ ├── run_parallel_boyd_box_op.py
│ ├── run_parallel_gate_operator.py
│ ├── run_parallel_merimbula.py
│ ├── run_parallel_merimbula_profile.py
│ ├── run_parallel_rectangular.py
│ ├── run_parallel_rectangular_profile.py
│ ├── run_parallel_tsunami.py
│ ├── run_sdpl_rectangular_create_partition_dump.py
│ ├── run_sdpl_rectangular_load_evolve.py
│ └── run_sequential_dump_parallel_load.py
├── simple_examples
│ ├── buildings.py
│ ├── channel1.py
│ ├── channel2.py
│ ├── channel3.py
│ ├── channel3_parallel.py
│ ├── channel_variable.py
│ ├── kitchen_sink.py
│ ├── runup.py
│ └── spiral_wall.py
└── structures
│ ├── data
│ └── test_hydrograph.tms
│ ├── run_culvert.py
│ ├── run_culvert_inlet.py
│ ├── run_gate_operator.py
│ ├── run_inlet_operator.py
│ ├── run_open_slot_wide_bridge.py
│ ├── run_outlet_control.py
│ ├── run_pump.py
│ ├── run_update_special_condition.py
│ └── run_wide_bridge.py
├── meson.build
├── pyproject.toml
├── requirements.txt
├── scripts
├── anuga_pmesh_gui.py
└── anuga_sww_merge.py
├── setup.py
├── tools
├── clear_for_master.sh
├── count_lines.py
├── find_repeated_old_div.sh
├── install_conda.sh
├── install_conda_macos.sh
├── install_conda_macos_travis.sh
├── install_conda_travis.sh
├── install_conda_ubuntu.sh
├── install_conda_ubuntu_20_04.sh
├── install_conda_ubuntu_22_04.sh
├── install_miniforge.sh
├── install_ubuntu.sh
├── install_ubuntu_20_04.sh
├── install_ubuntu_22_04.sh
├── install_ubuntu_24_04.sh
├── install_ubuntu_travis.sh
├── numpy_py3.8.pc
└── runtests38.sh
└── validation_tests
├── analytical_exact
├── avalanche_dry
│ ├── analytical_avalanche_dry.py
│ ├── numerical_avalanche_dry.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ ├── results.tex
│ └── validate_avalanche_dry.py
├── avalanche_wet
│ ├── analytical_avalanche_wet.py
│ ├── numerical_avalanche_wet.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ ├── results.tex
│ └── validate_avalanche_wet.py
├── carrier_greenspan_periodic
│ ├── analytical_carrier_greenspan.py
│ ├── bisect_function.py
│ ├── error.py
│ ├── gaussPivot.py
│ ├── numerical_carrier_greenspan.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ ├── results.tex
│ ├── rootsearch.py
│ ├── swap.py
│ ├── turnoff_validate_carrier_greenspan_periodic.py
│ └── util.py
├── carrier_greenspan_transient
│ ├── analytical_cg_transient.py
│ ├── numerical_cg_transient.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ ├── results.tex
│ └── turnoff_validate_carrier_greenspan_transient.py
├── dam_break_dry
│ ├── analytical_dam_break_dry.py
│ ├── numerical_dam_break_dry.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ ├── results.tex
│ └── validate_dam_break_dry.py
├── dam_break_wet
│ ├── analytical_dam_break_wet.py
│ ├── numerical_dam_break_wet.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ ├── results.tex
│ └── validate_dam_break_wet.py
├── deep_wave
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ ├── results.tex
│ └── run_wave.py
├── lake_at_rest_immersed_bump
│ ├── numerical_immersed_bump.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── lake_at_rest_steep_island
│ ├── numerical_steep_island.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── landslide_tsunami
│ ├── DATA
│ │ ├── Shoreline.csv
│ │ ├── initial_condition.txt
│ │ ├── readme.txt
│ │ ├── t160.csv
│ │ ├── t175.csv
│ │ └── t220.csv
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ ├── results.tex
│ └── runup.py
├── mac_donald_short_channel
│ ├── analytical_MacDonald.py
│ ├── numerical_MacDonald.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── parabolic_basin
│ ├── analytical_parabolic_basin.py
│ ├── numerical_parabolic_basin.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── paraboloid_basin
│ ├── analytical_paraboloid_basin.py
│ ├── numerical_paraboloid_basin.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── river_at_rest_varying_topo_width
│ ├── numerical_varying_width.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── rundown_mild_slope
│ ├── numerical_rundown_channel.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── rundown_mild_slope_coarse
│ ├── numerical_rundown_channel_coarse.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── runup_on_beach
│ ├── numerical_runup.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── runup_on_sinusoid_beach
│ ├── numerical_runup_sinusoid.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── subcritical_depth_expansion
│ ├── analytical_depth_expansion.py
│ ├── numerical_depth_expansion.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── subcritical_flat
│ ├── analytical_subcritical.py
│ ├── numerical_subcritical.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── subcritical_over_bump
│ ├── analytical_subcritical.py
│ ├── numerical_subcritical.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── supercritical_over_bump
│ ├── analytical_supercritical.py
│ ├── numerical_supercritical.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── transcritical_with_shock
│ ├── analytical_with_shock.py
│ ├── numerical_transcritical.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── transcritical_without_shock
│ ├── analytical_without_shock.py
│ ├── numerical_transcritical.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
└── trapezoidal_channel
│ ├── numerical_channel_floodplain.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── project.py
│ ├── report.tex
│ └── results.tex
├── behaviour_only
├── bridge_hecras
│ ├── channel_floodplain1.py
│ ├── hecras_bridge_test
│ │ ├── RASGeometry_Bridge.png
│ │ ├── gauges.csv
│ │ ├── ras_bridge.g01
│ │ ├── ras_bridge.p01
│ │ ├── ras_bridge.prj
│ │ └── ras_bridge.u01
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── bridge_hecras2
│ ├── channel_floodplain1.py
│ ├── hecras_bridge_table_high_deck.csv
│ ├── hecras_bridge_test
│ │ ├── RASGeometry_Bridge.png
│ │ ├── gauges.csv
│ │ ├── gauges.xlsx
│ │ ├── hecras_bridge_table.xlsx
│ │ ├── hecras_bridge_table_high_deck.csv
│ │ ├── ras_bridge.g01
│ │ ├── ras_bridge.p01
│ │ ├── ras_bridge.prj
│ │ └── ras_bridge.u01
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── lateral_weir_hecras
│ ├── channel_floodplain1.py
│ ├── hecras_riverwall_anugaTest
│ │ ├── RASGeometry_levee.png
│ │ ├── gauges.csv
│ │ ├── riverwall_ANUGA.g01
│ │ ├── riverwall_ANUGA.p01
│ │ ├── riverwall_ANUGA.prj
│ │ └── riverwall_ANUGA.u01
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── lid_driven_cavity
│ ├── numerical_lid_driven_cavity.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
├── tides_hecras
│ ├── channel_floodplain1.py
│ ├── hecras_tides_case
│ │ ├── IdealBackwater.g01
│ │ ├── IdealBackwater.p01
│ │ ├── IdealBackwater.prj
│ │ ├── IdealBackwater.u01
│ │ └── gauges.csv
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
└── weir_1
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ ├── results.tex
│ └── runup.py
├── case_studies
├── merewether
│ ├── Observations
│ │ └── ObservationPoints.csv
│ ├── Road
│ │ └── RoadPolygon.csv
│ ├── extent.csv
│ ├── houses
│ │ ├── house000.csv
│ │ ├── house001.csv
│ │ ├── house002.csv
│ │ ├── house003.csv
│ │ ├── house004.csv
│ │ ├── house005.csv
│ │ ├── house006.csv
│ │ ├── house007.csv
│ │ ├── house008.csv
│ │ ├── house009.csv
│ │ ├── house010.csv
│ │ ├── house011.csv
│ │ ├── house012.csv
│ │ ├── house013.csv
│ │ ├── house014.csv
│ │ ├── house015.csv
│ │ ├── house016.csv
│ │ ├── house017.csv
│ │ ├── house018.csv
│ │ ├── house019.csv
│ │ ├── house020.csv
│ │ ├── house021.csv
│ │ ├── house022.csv
│ │ ├── house023.csv
│ │ ├── house024.csv
│ │ ├── house025.csv
│ │ ├── house026.csv
│ │ ├── house027.csv
│ │ ├── house028.csv
│ │ ├── house029.csv
│ │ ├── house030.csv
│ │ ├── house031.csv
│ │ ├── house032.csv
│ │ ├── house032_033.csv
│ │ ├── house033.csv
│ │ ├── house034.csv
│ │ ├── house035.csv
│ │ ├── house036.csv
│ │ ├── house037.csv
│ │ ├── house038.csv
│ │ ├── house039.csv
│ │ ├── house040.csv
│ │ ├── house041.csv
│ │ ├── house042.csv
│ │ ├── house043.csv
│ │ ├── house044.csv
│ │ ├── house045.csv
│ │ ├── house046.csv
│ │ ├── house047.csv
│ │ ├── house048.csv
│ │ ├── house049.csv
│ │ ├── house050.csv
│ │ ├── house051.csv
│ │ ├── house052.csv
│ │ ├── house053.csv
│ │ ├── house054.csv
│ │ ├── house055.csv
│ │ ├── house056.csv
│ │ ├── house057.csv
│ │ └── house058.csv
│ ├── merewether.csv
│ ├── plot_asc.py
│ ├── plot_hydrograph.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── project.py
│ ├── results.tex
│ ├── runMerewether.py
│ ├── topography1.lic
│ ├── topography1.prj
│ └── topography1.zip
├── patong
│ ├── README.md
│ ├── data_delete.py
│ ├── data_download.py
│ ├── extras
│ │ ├── build_elevation.py
│ │ └── build_urs_boundary.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── project.py
│ ├── results.tex
│ └── run_model.py
├── towradgi
│ ├── Compare_results_with_fieldObs.py
│ ├── catchment_info.py
│ ├── data_delete.py
│ ├── data_download.py
│ ├── project.py
│ ├── results.tex
│ └── run_towradgi.py
└── towradgi_simulation
│ ├── catchment_info.py
│ ├── data_download.py
│ ├── project.py
│ ├── run_simulation.py
│ ├── setup_boundaries.py
│ ├── setup_domain.py
│ ├── setup_rainfall.py
│ └── setup_structures.py
├── experimental_data
├── dam_break_yeh_petroff
│ ├── Yeh_Petroff.png
│ ├── for_exp.txt
│ ├── numerical_Yeh_Petroff.py
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── report.tex
│ └── results.tex
└── okushiri
│ ├── Benchmark_2_Bathymetry.asc
│ ├── Benchmark_2_Bathymetry.lic
│ ├── Benchmark_2_Bathymetry.zip
│ ├── Benchmark_2_input.lic
│ ├── Benchmark_2_input.txt
│ ├── create_okushiri.py
│ ├── loading_pts_test.py
│ ├── output_ch5-7-9.lic
│ ├── output_ch5-7-9.txt
│ ├── plot_gauge.ipynb
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── project.py
│ ├── report.tex
│ ├── results.tex
│ ├── run_okushiri.py
│ ├── test_caching_of_set_quantity.py
│ ├── test_results.py
│ └── validate_okushiri.py
├── other_references
├── radial_dam_break_dry
│ ├── Ver_numerical_2.000000.csv
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── radial_dam_break.py
│ ├── report.tex
│ └── results.tex
└── radial_dam_break_wet
│ ├── Ver_numerical_2.000000.csv
│ ├── plot_results.py
│ ├── produce_results.py
│ ├── radial_dam_break.py
│ ├── report.tex
│ └── results.tex
├── readme.md
├── reports
├── bibliography.bib
├── local-defs.tex
├── validations_produce_results.py
├── validations_report.tex
└── validations_typeset_report.py
└── run_auto_validation_tests.py
/.coveragerc:
--------------------------------------------------------------------------------
1 |
2 |
3 | [run]
4 | omit = */tests/*
5 | *__init__*
6 | */setup.py
7 | *test_all*
8 | */Pmw*
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/INSTALL.rst:
--------------------------------------------------------------------------------
1 | Installation
2 | ============
3 |
4 | The installation documentation for ANUGA is available here:
5 |
6 | https://anuga.readthedocs.io/en/latest/installation.html
7 |
8 | |
9 | |
10 |
11 | If you need to contribute to the documentation, the source files are available in the GitHub repository here:
12 |
13 | https://github.com/anuga-community/anuga_core/blob/main/docs/source/installation.rst
14 |
15 |
--------------------------------------------------------------------------------
/MANIFEST.in:
--------------------------------------------------------------------------------
1 | include *.rst
2 | include runtests.py
3 | include run_validations.py
4 | include LICENSE.txt
5 | recursive-include tools *
6 | recursive-include doc *
7 | recursive-include examples *
8 | recursive-include anuga *
9 | recursive-include validation_tests *
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | theme: jekyll-theme-time-machine
--------------------------------------------------------------------------------
/anuga/__metadata__.py:
--------------------------------------------------------------------------------
1 | # Meta data for anuga
2 | __version__ = '1.3'
3 | __date__ = 'October 2011'
4 | __author__ = 'Ole Nielsen, Stephen Roberts, Duncan Gray'
5 |
6 |
7 |
--------------------------------------------------------------------------------
/anuga/abstract_2d_finite_volumes/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | A set of modules which is used to build a geometrical representation
3 | of the test scenario domain.
4 |
5 | It contains functions for fitting data across an arbitrary terrain height
6 | mesh.
7 | """
8 |
9 |
10 | from numpy._pytesttester import PytestTester
11 | test = PytestTester(__name__)
12 | del PytestTester
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/anuga/abstract_2d_finite_volumes/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/abstract_2d_finite_volumes/tests/meson.build:
--------------------------------------------------------------------------------
1 | # project('anuga', 'cython', version: '1.0')
2 |
3 | # # Import python and cython modules
4 | # py3 = import('python').find_installation()
5 |
6 | python_sources = [
7 | 'test_ermapper.py',
8 | 'test_gauge.py',
9 | 'test_general_mesh.py',
10 | 'test_generic_boundary_conditions.py',
11 | 'test_generic_domain.py',
12 | 'test_ghost.py',
13 | 'test_neighbour_mesh.py',
14 | 'test_pmesh2domain.py',
15 | 'test_quantity.py',
16 | 'test_region.py',
17 | 'test_tag_region.py',
18 | 'test_util.py',
19 | 'show_balanced_limiters.py',
20 | '__init__.py',
21 | ]
22 |
23 | py3.install_sources(
24 | python_sources,
25 | subdir: 'anuga/abstract_2d_finite_volumes/tests'
26 | )
--------------------------------------------------------------------------------
/anuga/advection/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | A simple implementation of the shallow wave equation, mainly for test
3 | purposes.
4 | """
5 |
6 |
7 | from .advection import Advection_Domain
8 |
9 |
10 | from numpy._pytesttester import PytestTester
11 | test = PytestTester(__name__)
12 | del PytestTester
13 |
14 |
--------------------------------------------------------------------------------
/anuga/advection/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | inc_dir = include_directories('../utilities', incdir_numpy)
4 |
5 | # Compile the Cython-generated C code and additional C code
6 | py3.extension_module('advection_ext',
7 | sources: ['advection_ext.pyx'],
8 | include_directories: inc_dir,
9 | dependencies: dependencies,
10 | subdir: 'anuga/advection',
11 | install: true,
12 | )
13 |
14 | python_sources = [
15 | 'advection.py',
16 | '__init__.py'
17 | ]
18 |
19 | py3.install_sources(
20 | python_sources,
21 | subdir: 'anuga/advection'
22 | )
23 |
24 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/advection/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/advection/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'test_advection.py',
4 | ]
5 |
6 | py3.install_sources(
7 | python_sources,
8 | subdir: 'anuga/advection/tests'
9 | )
10 |
--------------------------------------------------------------------------------
/anuga/alpha_shape/__init__.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | from numpy._pytesttester import PytestTester
4 | test = PytestTester(__name__)
5 | del PytestTester
--------------------------------------------------------------------------------
/anuga/alpha_shape/meson.build:
--------------------------------------------------------------------------------
1 | # Contents: Meson build definition for the anuga.alpha_shape module
2 |
3 | python_sources = [
4 | 'alpha_shape.py',
5 | '__init__.py',
6 | ]
7 |
8 | py3.install_sources(
9 | python_sources,
10 | subdir: 'anuga/alpha_shape'
11 | )
12 |
13 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/alpha_shape/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('alpha_shape', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 |
17 | return config
18 |
19 | if __name__ == '__main__':
20 | from numpy.distutils.core import setup
21 | setup(configuration=configuration)
22 |
--------------------------------------------------------------------------------
/anuga/alpha_shape/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/alpha_shape/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'test_alpha_shape.py',
4 | ]
5 |
6 | py3.install_sources(
7 | python_sources,
8 | subdir: 'anuga/alpha_shape/tests'
9 | )
10 |
--------------------------------------------------------------------------------
/anuga/caching/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | Generic caching module.
3 |
4 | Allows for the disk caching of the results of any function. If a function
5 | is cached, its return values will be stored on the local hard drive.
6 | If the function is called with identical parameters in the future, the
7 | cached result will be returned.
8 | """
9 |
10 |
11 | from .caching import *
12 |
13 | from numpy._pytesttester import PytestTester
14 | test = PytestTester(__name__)
15 | del PytestTester
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/anuga/caching/dummy_classes_for_testing.py:
--------------------------------------------------------------------------------
1 | """Dummy class for use with test_caching.py
2 | """
3 |
4 |
5 | from builtins import str
6 | from builtins import object
7 | class Dummy:
8 | def __init__(self, value, another):
9 | self.value = value
10 | self.another = another
11 |
12 | def __repr__(self):
13 | return str(self.value) + ', ' + str(self.another)
14 |
15 | def __eq__(self, other):
16 | return (self.value == other.value and
17 | self.another == other.another)
18 |
19 |
20 | # Define class Dummy_memorytest before any tests are run
21 | # to make sure it has a different memory address
22 | # to the one defined in test 'test_objects_are_created_memory'
23 | class Dummy_memorytest:
24 | def __init__(self, value, another):
25 | self.value = value
26 |
27 |
--------------------------------------------------------------------------------
/anuga/caching/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | python_sources = [
4 | 'caching.py',
5 | 'dummy_classes_for_testing.py',
6 | '__init__.py',
7 | ]
8 |
9 | py3.install_sources(
10 | python_sources,
11 | subdir: 'anuga/caching'
12 | )
13 |
14 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/caching/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('caching', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 |
17 | return config
18 |
19 | if __name__ == '__main__':
20 | from numpy.distutils.core import setup
21 | setup(configuration=configuration)
22 |
--------------------------------------------------------------------------------
/anuga/caching/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/caching/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | '__init__.py',
4 | 'test_caching.py',
5 | ]
6 |
7 | py3.install_sources(
8 | python_sources,
9 | subdir: 'anuga/caching/tests'
10 | )
11 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/__init__.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | from .redfearn import *
4 | from .point import *
5 |
6 | from numpy._pytesttester import PytestTester
7 | test = PytestTester(__name__)
8 | del PytestTester
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | python_sources = [
4 | 'geo_reference.py',
5 | '__init__.py',
6 | 'lat_long_UTM_conversion.py',
7 | 'point.py',
8 | 'redfearn.py',
9 | ]
10 |
11 | py3.install_sources(
12 | python_sources,
13 | subdir: 'anuga/coordinate_transforms'
14 | )
15 |
16 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('coordinate_transforms', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 |
17 | return config
18 |
19 | if __name__ == '__main__':
20 | from numpy.distutils.core import setup
21 | setup(configuration=configuration)
22 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/data/meson.build:
--------------------------------------------------------------------------------
1 |
2 | data_sources = [
3 | 'projection_test_points.csv',
4 | 'projection_test_points.lic',
5 | 'projection_test_points_z53.csv',
6 | 'projection_test_points_z53.lic',
7 | 'projection_test_points_z54.csv',
8 | 'projection_test_points_z54.lic',
9 | 'redfearn.lic',
10 | 'redfearn.xls'
11 | ]
12 |
13 | py3.install_sources(
14 | data_sources,
15 | subdir: 'anuga/coordinate_transforms/tests/data'
16 | )
17 |
18 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/data/projection_test_points.csv:
--------------------------------------------------------------------------------
1 | index,longitude,latitude,x,y
2 | 1938,137.3667,-36.6833,488090.4787,5940250.976
3 | 1939,137.45,-36.7667,495537.6414,5931006.682
4 | 1940,137.5833,-36.85,507426.2409,5921764.169
5 | 1941,137.7333,-36.9167,520780.755,5914342.892
6 | 1942,137.8833,-36.9833,534112.0546,5906911.57
7 | 1943,138.05,-37.0333,548915.6962,5901292.137
8 | 1944,138.2167,-37.05,563727.8276,5899340.788
9 | 1945,138.5333,-37.0167,591920.2434,5902775.993
10 | 1946,138.7,-37.05,606703.4855,5898907.643
11 | 1947,138.8667,-37.0667,621500.4703,5896854.808
12 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/data/projection_test_points.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | projection_test_points.csv
9 | 3110012168
10 | Yes
11 | Ole Nielsen
12 | Generated by Leharne Fountainfrom Geoscience Australia
13 | Geoscience Australia
14 | Test points using nonstandard meridian for use with the ANUGA test suite
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/data/projection_test_points_z53.csv:
--------------------------------------------------------------------------------
1 | index,longitude,latitude,x,y
2 | 1938,137.3667,-36.6833,711467.1571,5937649.285
3 | 1939,137.45,-36.7667,718674.6241,5928208.411
4 | 1940,137.5833,-36.85,730324.6941,5918652.234
5 | 1941,137.7333,-36.9167,743489.2693,5910878.287
6 | 1942,137.8833,-36.9833,756630.9716,5903093.775
7 | 1943,138.05,-37.0333,771294.0973,5897082.226
8 | 1944,138.2167,-37.05,786063.3258,5894739.807
9 | 1945,138.5333,-37.0167,814365.6385,5897435.082
10 | 1946,138.7,-37.05,829058.9322,5893174.241
11 | 1947,138.8667,-37.0667,843814.9366,5890729.536
12 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/data/projection_test_points_z53.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | projection_test_points_z53.csv
9 | 699948094
10 | Yes
11 | Ole Nielsen
12 | Generated by Leharne Fountainfrom Geoscience Australia
13 | Geoscience Australia
14 | Test points projected to zone 53 for use with the ANUGA test suite
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/data/projection_test_points_z54.csv:
--------------------------------------------------------------------------------
1 | index,longitude,latitude,x,y
2 | 1938,137.3667,-36.6833,175324.6592,5934104.754
3 | 1939,137.45,-36.7667,183114.6053,5925127.481
4 | 1940,137.5833,-36.85,195348.2409,5916316.056
5 | 1941,137.7333,-36.9167,208980.8435,5909382.073
6 | 1942,137.8833,-36.9833,222589.5404,5902438.641
7 | 1943,138.05,-37.0333,237603.0025,5897363.057
8 | 1944,138.2167,-37.05,252488.254,5895957.14
9 | 1945,138.5333,-37.0167,280551.9251,5900430.054
10 | 1946,138.7,-37.05,295473.9338,5897106.81
11 | 1947,138.8667,-37.0667,310341.19,5895599.61
12 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/data/projection_test_points_z54.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | projection_test_points_z54.csv
9 | 2241106191
10 | Yes
11 | Ole Nielsen
12 | Generated by Leharne Fountainfrom Geoscience Australia
13 | Geoscience Australia
14 | Test points projected to zone 54 for use with the ANUGA test suite
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/data/redfearn.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | redfearn.xls
9 | 962200710
10 | Yes
11 | Ole Nielsen
12 | www.icsm.gov.au/gda/gdatm/redfearn.xls
13 | Australian Intergovernmental Committee On Surveying and Mapping (ICSM)
14 | Publicly available on the ICSM web site. Used to implement and test redfearns formula in ANUGA
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/data/redfearn.xls:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/coordinate_transforms/tests/data/redfearn.xls
--------------------------------------------------------------------------------
/anuga/coordinate_transforms/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | '__init__.py',
4 | 'test_geo_reference.py',
5 | 'test_lat_long_UTM_conversion.py',
6 | 'test_point.py',
7 | 'test_redfearn.py',
8 | ]
9 |
10 | py3.install_sources(
11 | python_sources,
12 | subdir: 'anuga/coordinate_transforms/tests'
13 | )
14 |
15 | subdir('data')
16 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/README.txt:
--------------------------------------------------------------------------------
1 |
2 | These routines use the old version of culvert forcing functions.
3 |
4 | We are now developing the routines found in the structures module.
5 |
6 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | from numpy._pytesttester import PytestTester
5 | test = PytestTester(__name__)
6 | del PytestTester
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/meson.build:
--------------------------------------------------------------------------------
1 | # Title: Meson build file for culvert_flows
2 |
3 | python_sources = [
4 | 'culvert_class.py',
5 | 'culvert_polygons.py',
6 | 'culvert_routines.py',
7 | '__init__.py',
8 | 'new_culvert_class.py',
9 | ]
10 |
11 | py3.install_sources(
12 | python_sources,
13 | subdir: 'anuga/culvert_flows'
14 | )
15 |
16 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/culvert_flows/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('culvert_flows', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 |
17 | return config
18 |
19 | if __name__ == '__main__':
20 | from numpy.distutils.core import setup
21 | setup(configuration=configuration)
22 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/tests/data/example_rating_curve.csv:
--------------------------------------------------------------------------------
1 | Name, type, width or diameter, height, length, number of barrels, losses, description
2 | Test Culvert, box, 3, 1.8, 4, 1, 1, 50% blocked single barrel test case
3 |
4 |
5 | Rating Curve: Delta W (m), Q (m3/s), Velocity (m/s)
6 | 0,0,0
7 | 0.1,0.720243203,0.800270226
8 | 0.2,1.018577706,1.131753007
9 | 0.3,1.247497822,1.386108691
10 | 0.4,1.440486406,1.600540451
11 | 0.5,1.610512763,1.789458625
12 | 0.6,1.764228338,1.960253709
13 | 0.7,1.905584399,2.117315999
14 | 0.8,2.037155412,2.263506014
15 | 0.9,2.160729609,2.400810677
16 | 1,2.277608991,2.530676657
17 | 2,3.221025525,3.57891725
18 | 3,3.944934492,4.383260547
19 | 5,5.09288853,5.658765034
20 | 10,7.202432031,8.002702257
21 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/tests/data/example_rating_curve.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | example_rating_curve.csv
9 | 3853357906
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with the ANUGA test suite
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/tests/data/example_rating_curve2.csv:
--------------------------------------------------------------------------------
1 | Name, type, width or diameter, height, length, number of barrels, losses, description
2 | Test Culvert, box, 3, 1.8, 4, 1, 0.084, From Petar's spreadsheet
3 |
4 |
5 | Rating Curve: Delta W (m), Q (m3/s), Velocity (m/s)
6 | 0,0,0
7 | 0.1,0.720243203,0.800270226
8 | 0.2,1.018577706,1.131753007
9 | 0.3,1.247497822,1.386108691
10 | 0.4,1.440486406,1.600540451
11 | 0.5,1.610512763,1.789458625
12 | 0.6,1.764228338,1.960253709
13 | 0.7,1.905584399,2.117315999
14 | 0.8,2.037155412,2.263506014
15 | 0.9,2.160729609,2.400810677
16 | 1,2.277608991,2.530676657
17 | 2,3.221025525,3.57891725
18 | 3,3.944934492,4.383260547
19 | 5,5.09288853,5.658765034
20 | 10,7.202432031,8.002702257
21 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/tests/data/example_rating_curve2.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | example_rating_curve2.csv
9 | 3037738628
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with the ANUGA test suite
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/tests/data/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'example_rating_curve2.csv',
4 | 'example_rating_curve2.lic',
5 | 'example_rating_curve.csv',
6 | 'example_rating_curve.lic',
7 | 'meson.build',
8 | 'unittests.lic',
9 | 'unittests.xls',
10 | ]
11 |
12 | py3.install_sources(
13 | python_sources,
14 | subdir: 'anuga/culvert_flows/tests/data'
15 | )
16 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/tests/data/unittests.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | unittests.xls
9 | 1568988102
10 | Yes
11 | Ole Nielsen
12 | Petar Milevsky, Wollongong City council for use with culvert testing
13 | Geoscience Australia
14 | Spreadsheet generated by for use with the ANUGA test suite
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/culvert_flows/tests/data/unittests.xls:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/culvert_flows/tests/data/unittests.xls
--------------------------------------------------------------------------------
/anuga/culvert_flows/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'culvert_polygons_example.py',
4 | '__init__.py',
5 | 'run_culvert_flat_water_lev.py',
6 | 'test_culvert_class.py',
7 | 'test_culvert_polygons.py',
8 | 'test_culvert_routines_box_10pct.py',
9 | 'test_culvert_routines_box_1pct.py',
10 | 'test_culvert_routines_pipe_10pct.py',
11 | 'test_culvert_routines_pipe_1pct.py',
12 | 'test_culvert_routines.py',
13 | 'test_new_culvert_class.py',
14 | ]
15 |
16 | py3.install_sources(
17 | python_sources,
18 | subdir: 'anuga/culvert_flows/tests'
19 | )
20 |
21 | subdir('data')
22 |
--------------------------------------------------------------------------------
/anuga/damage_modelling/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | from numpy._pytesttester import PytestTester
5 | test = PytestTester(__name__)
6 | del PytestTester
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/damage_modelling/meson.build:
--------------------------------------------------------------------------------
1 | # This file is part of the ANUGA project
2 |
3 | python_sources = [
4 | 'exposure.py',
5 | '__init__.py',
6 | 'inundation_damage.py',
7 | ]
8 |
9 | py3.install_sources(
10 | python_sources,
11 | subdir: 'anuga/damage_modelling'
12 | )
13 |
14 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/damage_modelling/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('damage_modelling', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 |
17 | return config
18 |
19 | if __name__ == '__main__':
20 | from numpy.distutils.core import setup
21 | setup(configuration=configuration)
22 |
--------------------------------------------------------------------------------
/anuga/damage_modelling/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/damage_modelling/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'test_exposure.py',
4 | 'test_inundation_damage.py',
5 | ]
6 |
7 | py3.install_sources(
8 | python_sources,
9 | subdir: 'anuga/damage_modelling/tests'
10 | )
11 |
--------------------------------------------------------------------------------
/anuga/file/meson.build:
--------------------------------------------------------------------------------
1 |
2 | inc_dir = include_directories('../utilities', incdir_numpy)
3 |
4 | # Compile the Cython-generated C code and additional C code
5 | py3.extension_module('urs_ext',
6 | sources: ['urs_ext.pyx'],
7 | include_directories: inc_dir,
8 | dependencies: dependencies,
9 | subdir: 'anuga/file',
10 | install: true,
11 | )
12 |
13 | python_sources = [
14 | 'csv_file.py',
15 | '__init__.py',
16 | 'mux.py',
17 | 'netcdf.py',
18 | 'pts.py',
19 | 'sts.py',
20 | 'sww.py',
21 | 'ungenerate.py',
22 | 'urs.py',
23 | ]
24 |
25 | py3.install_sources(
26 | python_sources,
27 | subdir: 'anuga/file'
28 | )
29 |
30 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/file/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/file/tests/meson.build:
--------------------------------------------------------------------------------
1 | python_sources = [
2 | 'test_csv.py',
3 | 'test_mux.py',
4 | 'test_read_sww.py',
5 | 'test_sww.py',
6 | 'test_ungenerate.py',
7 | 'test_urs.py',
8 | ]
9 |
10 | py3.install_sources(
11 | python_sources,
12 | subdir: 'anuga/file/tests'
13 | )
14 |
--------------------------------------------------------------------------------
/anuga/file_conversion/__init__.py:
--------------------------------------------------------------------------------
1 | """ Modules for performing conversions between file types, or for
2 | resampling a given file.
3 |
4 | In general, the naming convention follows this rule:
5 | 2('filename_in', 'filename_out')
6 |
7 | for example:
8 | sww2dem('northbeach.sww', 'outfile.dem')
9 |
10 | Some formats input and output across multiple files. In that case the
11 | convention is so:
12 | urs2nc('northbeach', 'outfile')
13 | Where an array of 3 input files produce 4 output files.
14 | """
15 |
16 | from numpy._pytesttester import PytestTester
17 | test = PytestTester(__name__)
18 | del PytestTester
19 |
20 |
21 |
--------------------------------------------------------------------------------
/anuga/file_conversion/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/file_conversion/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | '__init__.py',
4 | 'test_2pts.py',
5 | 'test_csv2sts.py',
6 | 'test_dem2array.py',
7 | 'test_dem2dem.py',
8 | 'test_dem2pts.py',
9 | 'test_file_conversion.py',
10 | 'test_grd2array.py',
11 | 'test_llasc2pts.py',
12 | 'test_sww2dem.py',
13 | 'test_tif2.py',
14 | 'test_urs2sts.py',
15 | 'test_urs2sww.py',
16 | ]
17 |
18 | py3.install_sources(
19 | python_sources,
20 | subdir: 'anuga/file_conversion/tests'
21 | )
22 |
--------------------------------------------------------------------------------
/anuga/fit_interpolate/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | 2D mesh fitting and interpolation.
3 |
4 | Maps quantity data over a 2D mesh. It calculates a smooth gradation of
5 | data over the mesh, and allows data to be sampled at any given point.
6 | """
7 |
8 | from numpy._pytesttester import PytestTester
9 | test = PytestTester(__name__)
10 | del PytestTester
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/fit_interpolate/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'test_fit.py',
4 | 'test_interpolate2d.py',
5 | 'test_interpolate.py',
6 | 'test_search_functions.py',
7 | ]
8 |
9 | py3.install_sources(
10 | python_sources,
11 | subdir: 'anuga/fit_interpolate/tests'
12 | )
13 |
--------------------------------------------------------------------------------
/anuga/geometry/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | Geometry classes.
3 |
4 | Classes that represent 2D geometry: polygons, quadtrees, and bounding boxes.
5 | """
6 |
7 |
8 | from numpy._pytesttester import PytestTester
9 | test = PytestTester(__name__)
10 | del PytestTester
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/anuga/geometry/meson.build:
--------------------------------------------------------------------------------
1 |
2 | inc_dir = include_directories('../utilities', incdir_numpy)
3 |
4 | # Compile the Cython-generated C code and additional C code
5 | py3.extension_module('polygon_ext',
6 | sources: ['polygon_ext.pyx'],
7 | include_directories: inc_dir,
8 | dependencies: dependencies,
9 | subdir: 'anuga/geometry',
10 | install: true,
11 | )
12 |
13 | python_sources = [
14 | 'aabb.py',
15 | '__init__.py',
16 | 'polygon_function.py',
17 | 'polygon.py',
18 | 'quad.py',
19 | ]
20 |
21 | py3.install_sources(
22 | python_sources,
23 | subdir: 'anuga/geometry'
24 | )
25 |
26 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/geometry/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/geometry/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'test_geometry.py',
4 | 'test_polygon.py',
5 | ]
6 |
7 | py3.install_sources(
8 | python_sources,
9 | subdir: 'anuga/geometry/tests'
10 | )
11 |
--------------------------------------------------------------------------------
/anuga/geospatial_data/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | from anuga.geospatial_data.geospatial_data import *
5 |
6 |
7 | from numpy._pytesttester import PytestTester
8 | test = PytestTester(__name__)
9 | del PytestTester
10 |
11 |
--------------------------------------------------------------------------------
/anuga/geospatial_data/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | python_sources = [
4 | 'geospatial_data.py',
5 | '__init__.py',
6 | ]
7 |
8 | py3.install_sources(
9 | python_sources,
10 | subdir: 'anuga/geospatial_data'
11 | )
12 |
13 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/geospatial_data/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('geospatial_data', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 |
17 | return config
18 |
19 | if __name__ == '__main__':
20 | from numpy.distutils.core import setup
21 | setup(configuration=configuration)
22 |
--------------------------------------------------------------------------------
/anuga/geospatial_data/tests/meson.build:
--------------------------------------------------------------------------------
1 | python_sources = [
2 | 'test_geospatial_data.py',
3 | ]
4 |
5 | py3.install_sources(
6 | python_sources,
7 | subdir: 'anuga/geospatial_data/tests'
8 | )
9 |
--------------------------------------------------------------------------------
/anuga/lib/README_add_csv_header.txt:
--------------------------------------------------------------------------------
1 | The function defined here allows programmatic addition of a CSV
2 | header line to an existing CSV file (without header). There
3 | is a check that the header line to be added has the same number
4 | of fields as the existing CSV file.
5 |
6 | There is a 'be_green' parameter designed to change the copy algorithm
7 | so that less memory is used, but the function will be slower.
8 | This option is not yet implemented.
9 |
--------------------------------------------------------------------------------
/anuga/lib/README_maxasc.txt:
--------------------------------------------------------------------------------
1 | The module here (maxasc.py) contains a function that takes one or more
2 | ASC filenames in a list and produces an output ASC file that is the
3 | element-wise max() of each of the input ASC files.
4 |
5 | Of course, the input files must all have the same shape.
--------------------------------------------------------------------------------
/anuga/lib/README_order_boundary.txt:
--------------------------------------------------------------------------------
1 | The module here (order_boundary.py) contains a function that takes a CSV
2 | file of boundary points and orders the points into an output CSV file.
3 |
4 | The first point in the file is assumed to be the start point. All other
5 | points in the file are the points that are closest to each succeeding point.
6 |
7 | Note that in pathological cases the ordering may be wrong. Always check!
8 | CAVEAT EMPTOR.
9 |
--------------------------------------------------------------------------------
/anuga/lib/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | from numpy._pytesttester import PytestTester
5 | test = PytestTester(__name__)
6 | del PytestTester
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/anuga/lib/file_length.py:
--------------------------------------------------------------------------------
1 | """Function to return the length of a file.
2 |
3 | Intended to be used for simplfying the creation of boundary_tags in
4 | run_model.py
5 |
6 | Input: filename
7 | Returns: number of lines in file
8 | """
9 | def file_length(in_file):
10 | fid = open(in_file)
11 | data = fid.readlines()
12 | fid.close()
13 | return len(data)
14 |
15 |
--------------------------------------------------------------------------------
/anuga/lib/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | python_sources = [
4 | 'add_csv_header.py',
5 | 'file_length.py',
6 | '__init__.py',
7 | 'maxasc.py',
8 | 'order_boundary.py',
9 | 'README_add_csv_header.txt',
10 | 'README_maxasc.txt',
11 | 'README_order_boundary.txt',
12 | ]
13 |
14 | py3.install_sources(
15 | python_sources,
16 | subdir: 'anuga/lib'
17 | )
18 |
19 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/lib/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('lib', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 |
17 |
18 | return config
19 |
20 | if __name__ == '__main__':
21 | from numpy.distutils.core import setup
22 | setup(configuration=configuration)
23 |
--------------------------------------------------------------------------------
/anuga/lib/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
--------------------------------------------------------------------------------
/anuga/lib/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'perthAll_stage_250m_all.lic',
4 | 'perthAll_stage_250m.lic',
5 | 'perthAll_stage_original.lic',
6 | 'test1.asc',
7 | 'test1_bad_num_lines.asc',
8 | 'test1_bad_num_lines.lic',
9 | 'test1_header_differs.asc',
10 | 'test1_header_differs.lic',
11 | 'test1.lic',
12 | 'test1_wrong_num_columns.asc',
13 | 'test1_wrong_num_columns.lic',
14 | 'test2.asc',
15 | 'test2.expected.asc',
16 | 'test2.expected.lic',
17 | 'test2.lic',
18 | 'test3.asc',
19 | 'test3.expected.asc',
20 | 'test3.expected.lic',
21 | 'test3.lic',
22 | 'test_maxasc.py',
23 | 'test_order_boundary.py',
24 | ]
25 |
26 | py3.install_sources(
27 | python_sources,
28 | subdir: 'anuga/lib/tests'
29 | )
30 |
--------------------------------------------------------------------------------
/anuga/lib/tests/perthAll_stage_250m.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | perthAll_stage_250m.asc
9 | 1646268307
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/lib/tests/perthAll_stage_250m_all.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | perthAll_stage_250m_all.asc
9 | 4150847986
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/lib/tests/perthAll_stage_original.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | perthAll_stage_original.asc
9 | 2381579737
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/lib/tests/test1.asc:
--------------------------------------------------------------------------------
1 | ncols 4
2 | nrows 11
3 | xllcorner 321170
4 | yllcorner 6408555
5 | cellsize 250.000000
6 | NODATA_value -9999
7 | -9999. -9999. -9999. -9999.
8 | -9.999e+03 -9.999e+03 6.015e-01 5.796e-01
9 | -9.999e+03 -9.999e+03 6.011e-01 5.870e-01
10 | -9.994e+03 -9.995e+03 -9.996e+03 -9.997e+03
11 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
12 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
13 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
14 | -9999. -9999. -9999. -9999.
15 | -9999. -9999. -9999. -9999.
16 | -9999. -9999. -9999. -9999.
17 | -9999. -9999. -9999. -9999.
--------------------------------------------------------------------------------
/anuga/lib/tests/test1.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | test1.asc
9 | 3809587973
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/lib/tests/test1_bad_num_lines.asc:
--------------------------------------------------------------------------------
1 | ncols 4
2 | nrows 11
3 | xllcorner 321170
4 | yllcorner 6408555
5 | cellsize 250.000000
6 | NODATA_value -9999
7 | -9999. -9999. -9999. -9999.
8 | -9.999e+03 -9.999e+03 6.015e-01 5.796e-01
9 | -9.999e+03 -9.999e+03 6.011e-01 5.870e-01
10 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
11 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
12 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
13 | -9999. -9999. -9999. -9999. -9999.
14 | -9999. -9999. -9999. -9999. -9999.
15 | -9999. -9999. -9999. -9999. -9999.
16 | -9999. -9999. -9999. -9999.
--------------------------------------------------------------------------------
/anuga/lib/tests/test1_bad_num_lines.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | test1_bad_num_lines.asc
9 | 3331055575
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/lib/tests/test1_header_differs.asc:
--------------------------------------------------------------------------------
1 | ncols 4
2 | nrows 10
3 | xllcorner 321170
4 | yllcorner 6408555
5 | cellsize 250.000000
6 | NODATA_value -9999
7 | -9999. -9999. -9999. -9999.
8 | -9.999e+03 -9.999e+03 6.015e-01 5.796e-01
9 | -9.999e+03 -9.999e+03 6.011e-01 5.870e-01
10 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
11 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
12 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
13 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
14 | -9999. -9999. -9999. -9999. -9999.
15 | -9999. -9999. -9999. -9999. -9999.
16 | -9999. -9999. -9999. -9999. -9999.
17 | -9999. -9999. -9999. -9999.
--------------------------------------------------------------------------------
/anuga/lib/tests/test1_header_differs.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | test1_header_differs.asc
9 | 506435569
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/lib/tests/test1_wrong_num_columns.asc:
--------------------------------------------------------------------------------
1 | ncols 4
2 | nrows 11
3 | xllcorner 321170
4 | yllcorner 6408555
5 | cellsize 250.000000
6 | NODATA_value -9999
7 | -9999. -9999. -9999. -9999.
8 | -9.999e+03 -9.999e+03 6.015e-01 5.796e-01
9 | -9.999e+03 -9.999e+03 5.870e-01
10 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
11 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
12 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
13 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
14 | -9999. -9999. -9999. -9999. -9999.
15 | -9999. -9999. -9999. -9999. -9999.
16 | -9999. -9999. -9999. -9999. -9999.
17 | -9999. -9999. -9999. -9999.
--------------------------------------------------------------------------------
/anuga/lib/tests/test1_wrong_num_columns.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | test1_wrong_num_columns.asc
9 | 189975811
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/lib/tests/test2.asc:
--------------------------------------------------------------------------------
1 | ncols 4
2 | nrows 11
3 | xllcorner 321170
4 | yllcorner 6408555
5 | cellsize 250.000000
6 | NODATA_value -9999
7 | -9999. -9999. -9999. -9999.
8 | -9.999e+03 -9.999e+03 6.015e-01 5.796e+01
9 | -9.999e+03 -9.999e+03 6.012e-01 5.870e-01
10 | -9.990e+03 -9.991e+03 -9.992e+03 -9.993e+03
11 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
12 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
13 | +9.998e+03 -9.999e+03 -9.999e+03 -9.999e+03
14 | -9999. -9999. -9999. -9999.
15 | -9999. -9999. -9999. -9999.
16 | -9999. -9999. -9999. -9999.
17 | -9999. -9999. -9999. -9999.
--------------------------------------------------------------------------------
/anuga/lib/tests/test2.expected.asc:
--------------------------------------------------------------------------------
1 | ncols 4
2 | nrows 11
3 | xllcorner 321170
4 | yllcorner 6408555
5 | cellsize 250.000000
6 | NODATA_value -9999
7 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
8 | -9999.0000 -9999.0000 0.6015 57.9600
9 | -9999.0000 -9999.0000 0.6012 0.5870
10 | -9990.0000 -9991.0000 -9992.0000 -9993.0000
11 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
12 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
13 | 9998.0000 -9999.0000 -9999.0000 -9999.0000
14 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
15 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
16 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
17 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
--------------------------------------------------------------------------------
/anuga/lib/tests/test2.expected.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | test2.expected.asc
9 | 2958591099
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/lib/tests/test2.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | test2.asc
9 | 1935708494
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/lib/tests/test3.asc:
--------------------------------------------------------------------------------
1 | ncols 4
2 | nrows 11
3 | xllcorner 321170
4 | yllcorner 6408555
5 | cellsize 250.000000
6 | NODATA_value -9999
7 | -9999. -9999. -9999. -9999.
8 | -9.999e+03 -9.999e+03 6.015e-01 5.796e-01
9 | -9.999e+03 -9.999e+03 6.011e-01 5.870e-01
10 | -9.998e+03 -9.997e+03 -9.996e+03 -9.995e+03
11 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
12 | -9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
13 | +9.999e+03 -9.999e+03 -9.999e+03 -9.999e+03
14 | -9999. -9999. -9999. -9999.
15 | -9999. -9999. -9999. -9999.
16 | -9999. -9999. -9999. -9999.
17 | -9999. -9999. -9999. -9999.
--------------------------------------------------------------------------------
/anuga/lib/tests/test3.expected.asc:
--------------------------------------------------------------------------------
1 | ncols 4
2 | nrows 11
3 | xllcorner 321170
4 | yllcorner 6408555
5 | cellsize 250.000000
6 | NODATA_value -9999
7 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
8 | -9999.0000 -9999.0000 0.6015 57.9600
9 | -9999.0000 -9999.0000 0.6012 0.5870
10 | -9990.0000 -9991.0000 -9992.0000 -9993.0000
11 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
12 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
13 | 9999.0000 -9999.0000 -9999.0000 -9999.0000
14 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
15 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
16 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
17 | -9999.0000 -9999.0000 -9999.0000 -9999.0000
--------------------------------------------------------------------------------
/anuga/lib/tests/test3.expected.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | test3.expected.asc
9 | 1195410975
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/lib/tests/test3.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ross Wilson
5 |
6 |
7 |
8 | test3.asc
9 | 20548751
10 | Yes
11 | Ross Wilson
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Test data file used by test_all.py
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/load_mesh/__init__.py:
--------------------------------------------------------------------------------
1 | #nothing
2 |
3 | from numpy._pytesttester import PytestTester
4 | test = PytestTester(__name__)
5 | del PytestTester
6 |
--------------------------------------------------------------------------------
/anuga/load_mesh/meson.build:
--------------------------------------------------------------------------------
1 | # This file is part of the ANUGA project
2 |
3 | python_sources = [
4 | '__init__.py',
5 | 'loadASCII.py',
6 | ]
7 |
8 | py3.install_sources(
9 | python_sources,
10 | subdir: 'anuga/load_mesh'
11 | )
12 |
13 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/load_mesh/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('load_mesh', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 |
17 | return config
18 |
19 | if __name__ == '__main__':
20 | from numpy.distutils.core import setup
21 | setup(configuration=configuration)
22 |
--------------------------------------------------------------------------------
/anuga/load_mesh/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'test_loadASCII.py',
4 | ]
5 |
6 | py3.install_sources(
7 | python_sources,
8 | subdir: 'anuga/load_mesh/tests'
9 | )
10 |
--------------------------------------------------------------------------------
/anuga/mesh_engine/__init__.py:
--------------------------------------------------------------------------------
1 | #nothing
2 |
3 | from numpy._pytesttester import PytestTester
4 | test = PytestTester(__name__)
5 | del PytestTester
6 |
--------------------------------------------------------------------------------
/anuga/mesh_engine/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | python_sources = [
4 | '__init__.py',
5 | 'mesh_engine.py',
6 | ]
7 |
8 | py3.install_sources(
9 | python_sources,
10 | subdir: 'anuga/mesh_engine'
11 | )
12 |
13 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/mesh_engine/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 | from Cython.Build import cythonize
8 | import Cython.Compiler.Options
9 | Cython.Compiler.Options.annotate = True
10 |
11 | def configuration(parent_package='',top_path=None):
12 |
13 | from numpy.distutils.misc_util import Configuration
14 | from numpy.distutils.system_info import get_info
15 |
16 | config = Configuration('mesh_engine', parent_package, top_path)
17 |
18 | config.add_data_dir('tests')
19 |
20 | #util_dir = os.path.abspath(join(os.path.dirname(__file__),'..','utilities'))
21 | util_dir = join('..','utilities')
22 |
23 | return config
24 |
25 | if __name__ == '__main__':
26 | from numpy.distutils.core import setup
27 | setup(configuration=configuration)
28 |
--------------------------------------------------------------------------------
/anuga/mesh_engine/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'test_generate_mesh.py',
4 | ]
5 |
6 | py3.install_sources(
7 | python_sources,
8 | subdir: 'anuga/mesh_engine/tests'
9 | )
10 |
--------------------------------------------------------------------------------
/anuga/operators/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | operator classes for ANUGA.
3 |
4 | """
5 |
6 | from numpy._pytesttester import PytestTester
7 | test = PytestTester(__name__)
8 | del PytestTester
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/anuga/operators/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'test_base_operator.py',
4 | 'test_boundary_flux_integral_operator.py',
5 | 'test_erosion_operators.py',
6 | 'test_kinematic_viscosity_operator.py',
7 | 'test_rate_operators.py',
8 | 'test_set_elevation_operator.py',
9 | 'test_set_quantity.py',
10 | 'test_set_stage_operator.py',
11 | 'test_set_w_uh_vh_operators.py',
12 | ]
13 |
14 | py3.install_sources(
15 | python_sources,
16 | subdir: 'anuga/operators/tests'
17 | )
18 |
--------------------------------------------------------------------------------
/anuga/parallel/INSTALL-README:
--------------------------------------------------------------------------------
1 |
2 | Read http://anuga.anu.edu.au/wiki/AnugaParallel
3 |
4 |
--------------------------------------------------------------------------------
/anuga/parallel/config.py:
--------------------------------------------------------------------------------
1 | #! /usr/bin/python
2 |
3 | # To change this template, choose Tools | Templates
4 | # and open the template in the editor.
5 |
6 |
7 | __author__="stephen"
8 | __date__ ="$27/08/2012 8:58:23 PM$"
9 |
10 |
11 | ghost_layer_width = 2
12 |
13 |
14 | if __name__ == "__main__":
15 | print("Hello World");
16 |
--------------------------------------------------------------------------------
/anuga/parallel/data/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'merimbula_10785_1.tsh',
4 | 'small.ps',
5 | 'small.tsh',
6 | 'test-100.msh',
7 | 'test-100.tsh',
8 | 'test-20.tsh',
9 | 'test_hydrograph.tms',
10 | ]
11 |
12 | py3.install_sources(
13 | python_sources,
14 | subdir: 'anuga/parallel/data'
15 | )
16 |
--------------------------------------------------------------------------------
/anuga/parallel/data/test-100.msh:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/parallel/data/test-100.msh
--------------------------------------------------------------------------------
/anuga/parallel/data/test_hydrograph.tms:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/parallel/data/test_hydrograph.tms
--------------------------------------------------------------------------------
/anuga/parallel/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'config.py',
4 | 'distribute_mesh.py',
5 | '__init__.py',
6 | 'parallel_advection.py',
7 | 'parallel_api.py',
8 | 'parallel_boyd_box_operator.py',
9 | 'parallel_boyd_pipe_operator.py',
10 | 'parallel_generic_communications.py',
11 | 'parallel_inlet_enquiry.py',
12 | 'parallel_inlet_operator.py',
13 | 'parallel_inlet.py',
14 | 'parallel_internal_boundary_operator.py',
15 | 'parallel_meshes.py',
16 | 'parallel_operator_factory.py',
17 | 'parallel_shallow_water.py',
18 | 'parallel_structure_operator.py',
19 | 'parallel_weir_orifice_trapezoid_operator.py',
20 | 'print_stats.py',
21 | 'sequential_distribute.py',
22 | ]
23 |
24 | py3.install_sources(
25 | python_sources,
26 | subdir: 'anuga/parallel'
27 | )
28 |
29 | subdir('tests')
30 | subdir('data')
--------------------------------------------------------------------------------
/anuga/parallel/setup.py:
--------------------------------------------------------------------------------
1 |
2 | def configuration(parent_package='',top_path=None):
3 |
4 | from numpy.distutils.misc_util import Configuration
5 | from numpy.distutils.system_info import get_info
6 |
7 |
8 | config = Configuration('parallel', parent_package, top_path)
9 |
10 | config.add_data_dir('tests')
11 | config.add_data_dir('data')
12 |
13 | return config
14 |
15 | if __name__ == '__main__':
16 | from numpy.distutils.core import setup
17 | setup(configuration=configuration)
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/anuga/pmesh/README.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 | To run pmesh;
4 | python graphical_mesh_generator.py
5 |
6 | INSTRUCTIONS FOR USING PMESH
7 |
8 | Pmesh will let the user select various modes. The current
9 | allowable modes are vertex or segment. The mode describes what sort
10 | of object is added or selected in response to mouse clicks. When
11 | changing modes any prior selected objects become deselected.
12 |
13 | In general the left mouse button will add an object and the right
14 | mouse button will select an object. A selected object can deleted
15 | by pressing the the middle mouse button (scroll bar).
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/anuga/pmesh/__init__.py:
--------------------------------------------------------------------------------
1 | #nothing
2 |
3 | from numpy._pytesttester import PytestTester
4 | test = PytestTester(__name__)
5 | del PytestTester
6 |
7 |
--------------------------------------------------------------------------------
/anuga/pmesh/cursornames.py:
--------------------------------------------------------------------------------
1 | TLC = 'top_left_corner'
2 | TRC = 'top_right_corner'
3 | BLC = 'bottom_left_corner'
4 | BRC = 'bottom_right_corner'
5 | TS = 'top_side'
6 | RS = 'right_side'
7 | LS = 'left_side'
8 | BS = 'bottom_side'
9 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Add-Hole.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Add-Hole.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Add-Hole.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Add-Hole.gif
8 | 3121798639
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Add-Region.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Add-Region.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Add-Region.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Add-Region.gif
8 | 2578720269
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Add-Vertex-Dialog.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Add-Vertex-Dialog.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Add-Vertex-Dialog.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Add-Vertex-Dialog.gif
8 | 2714753283
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Add-Vertex.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Add-Vertex.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Add-Vertex.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Add-Vertex.gif
8 | 792619280
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Alpha.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Alpha.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Alpha.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Alpha.gif
8 | 3848799320
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Delete.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Delete.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Delete.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Delete.gif
8 | 1338499821
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Edit.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Edit.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Edit.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Edit.gif
8 | 2912127040
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Join-Vertices.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Join-Vertices.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Join-Vertices.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Join-Vertices.gif
8 | 2109794580
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Mesh-Visibility-Off.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Mesh-Visibility-Off.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Mesh-Visibility-Off.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Mesh-Visibility-Off.gif
8 | 1809998700
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Mesh-Visibility-Toggle.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Mesh-Visibility-Toggle.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Mesh-Visibility-Toggle.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Mesh-Visibility-Toggle.gif
8 | 778784906
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Mesh.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Mesh.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Mesh.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Mesh.gif
8 | 2773158453
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Pointer.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Pointer.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Pointer.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Pointer.gif
8 | 3302017052
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Segment.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Segment.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Segment.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Segment.gif
8 | 1189826403
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Separator.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Separator.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Separator.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Separator.gif
8 | 4120515402
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Tag-Segment.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Tag-Segment.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Tag-Segment.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Tag-Segment.gif
8 | 699215836
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Zoom-Extents.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Zoom-Extents.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Zoom-Extents.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Zoom-Extents.gif
8 | 4084156024
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Zoom-In.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Zoom-In.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Zoom-In.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Zoom-In.gif
8 | 1976207023
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Zoom-Out.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/pmesh/icons/Zoom-Out.gif
--------------------------------------------------------------------------------
/anuga/pmesh/icons/Zoom-Out.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | Zoom-Out.gif
8 | 1300384925
9 | Yes
10 | Stephen Roberts
11 | Created by John Roberts
12 | John Roberts lerenor@gmail.com
13 | Provided as icon for pmesh
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/pmesh/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'AppShell.py',
4 | 'cursornames.py',
5 | 'exesetup.py',
6 | '__init__.py',
7 | 'mesh_interface.py',
8 | 'mesh.py',
9 | 'mesh_quadtree.py',
10 | 'ProgressBar.py',
11 | 'setup.py',
12 | 'timing.py',
13 | 'toolbarbutton.py',
14 | 'ungen_example.py',
15 | 'visualmesh.py',
16 | ]
17 |
18 | py3.install_sources(
19 | python_sources,
20 | subdir: 'anuga/pmesh'
21 | )
22 |
23 | subdir('tests')
24 | subdir('icons')
--------------------------------------------------------------------------------
/anuga/pmesh/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('pmesh', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 | config.add_data_dir('icons')
17 |
18 | return config
19 |
20 | if __name__ == '__main__':
21 | from numpy.distutils.core import setup
22 | setup(configuration=configuration)
23 |
--------------------------------------------------------------------------------
/anuga/pmesh/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | python_sources = [
4 | 'test_mesh_interface.py',
5 | 'test_mesh.py',
6 | 'test_meshquad.py',
7 | ]
8 |
9 | py3.install_sources(
10 | python_sources,
11 | subdir: 'anuga/pmesh/tests'
12 | )
13 |
--------------------------------------------------------------------------------
/anuga/rain/__init__.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | from numpy._pytesttester import PytestTester
4 | test = PytestTester(__name__)
5 | del PytestTester
6 |
--------------------------------------------------------------------------------
/anuga/rain/meson.build:
--------------------------------------------------------------------------------
1 | # Contents: Python bindings for rain module
2 |
3 | python_sources = [
4 | 'calibrated_radar_rain.py',
5 | '__init__.py',
6 | 'raster_time_slice_data.py',
7 | 'run_calibrated_radar_rain.py',
8 | 'run_raster_time_slice_data.py',
9 | ]
10 |
11 | py3.install_sources(
12 | python_sources,
13 | subdir: 'anuga/rain'
14 | )
15 |
16 |
--------------------------------------------------------------------------------
/anuga/revision.py:
--------------------------------------------------------------------------------
1 | """Stored git revision info.
2 |
3 | This file provides the git sha id and commit date for the installed revision of ANUGA.
4 | The file is automatically generated and should not be modified manually.
5 | """
6 |
7 | __git_sha__ = "b533cb128b798f8bdb4b854e0ab132aaff985e36"
8 | __git_committed_datetime__ = "2023-06-01 17:25:15+10:00"
9 | __version__ = "3.2.0dev"
10 |
--------------------------------------------------------------------------------
/anuga/shallow_water/__init__.py:
--------------------------------------------------------------------------------
1 | """ Shallow Water Wave Module.
2 |
3 | This module performs the shallow water wave simulation, and is a
4 | specialisation of the ANUGA domain. It contains supporting modules and
5 | extra boundary classes to do with this specific domain.
6 | """
7 |
8 | from numpy._pytesttester import PytestTester
9 | test = PytestTester(__name__)
10 | del PytestTester
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/__init__.py:
--------------------------------------------------------------------------------
1 | """Make directory available as a Python package
2 | """
3 |
4 | pass
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/data/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | data_sources = [
4 | 'polygon_values_example.csv',
5 | 'polygon_values_example.lic',
6 | 'test_points_large.csv',
7 | 'test_points_large.lic',
8 | 'test_points_small.csv',
9 | 'test_points_small.lic',
10 | ]
11 |
12 | py3.install_sources(
13 | data_sources,
14 | subdir: 'anuga/shallow_water/tests/data'
15 | )
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/data/polygon_values_example.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | polygon_values_example.csv
9 | 369586960
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with the ANUGA test suite
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/data/test_points_large.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | test_points_large.csv
9 | 4006850951
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with the ANUGA test suite
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/data/test_points_small.csv:
--------------------------------------------------------------------------------
1 | x,y,13.137
2 | 305525.031,6184002.5,13.162
3 | 305537.438,6184000.0,12.927
4 | 305564.281,6184002.0,10.696
5 | 305561.5,6184001.5,11.124
6 | 305576.219,6184001.5,8.086
7 | 305600.313,6184000.5,9.505
8 | 305612.344,6184001.0,12.807
9 | 305615.313,6184001.0,12.996
10 | 305632.125,6184000.0,13.81
11 | 305650.063,6184000.0,14.37
12 | 305670.469,6184001.0,7.701
13 | 305693.375,6184001.0,7.685
14 | 305696.719,6184000.5,5.755
15 | 305712.188,6184001.0,4.536
16 | 305748.563,6184001.0,6.599
17 | 305770.5,6184002.5,6.346
18 |
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/data/test_points_small.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | test_points_small.csv
9 | 652025782
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with the ANUGA test suite
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | python_sources = [
4 | '__init__.py',
5 | 'test_data_manager.py',
6 | 'test_DE_orig.py',
7 | 'test_DE_openmp.py',
8 | 'test_DE_simd.py',
9 | 'test_DE_cuda.py',
10 | 'test_forcing.py',
11 | 'test_friction.py',
12 | 'test_loadsave.py',
13 | 'test_local_extrapolation_and_flux_updating.py',
14 | 'test_most2nc.py',
15 | 'test_shallow_water_domain.py',
16 | 'test_sww_interrogate.py',
17 | 'test_system.py',
18 | 'test_timezone.py',
19 | ]
20 |
21 | py3.install_sources(
22 | python_sources,
23 | subdir: 'anuga/shallow_water/tests'
24 | )
25 |
26 | subdir('data')
27 | subdir('urs_test_data')
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/1-z.grd-e-mux2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/shallow_water/tests/urs_test_data/1-z.grd-e-mux2
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/1-z.grd-n-mux2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/shallow_water/tests/urs_test_data/1-z.grd-n-mux2
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/1-z.grd-z-mux2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/shallow_water/tests/urs_test_data/1-z.grd-z-mux2
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/2-z.grd-e-mux2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/shallow_water/tests/urs_test_data/2-z.grd-e-mux2
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/2-z.grd-n-mux2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/shallow_water/tests/urs_test_data/2-z.grd-n-mux2
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/2-z.grd-z-mux2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/shallow_water/tests/urs_test_data/2-z.grd-z-mux2
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/3-z.grd-e-mux2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/shallow_water/tests/urs_test_data/3-z.grd-e-mux2
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/3-z.grd-n-mux2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/shallow_water/tests/urs_test_data/3-z.grd-n-mux2
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/3-z.grd-z-mux2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/shallow_water/tests/urs_test_data/3-z.grd-z-mux2
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/thinned_bound_order_test.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | thinned_bound_order_test.txt
9 | 4135029258
10 | Yes
11 | Jane Sexton
12 | List of five stations (0,1,2,3,4) for urs2sts test suite.
13 | Geoscience Australia.
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/anuga/shallow_water/tests/urs_test_data/thinned_bound_order_test.txt:
--------------------------------------------------------------------------------
1 | index,longitude,latitude
2 | 0,0.00127273,0.00165455
3 | 1,0.0014,0.00165455
4 | 2,0.00152728,0.00165455
5 | 3,0.00165455,0.00165455
6 | 4,0.00190909,0.00165455
--------------------------------------------------------------------------------
/anuga/simulation/__init__.py:
--------------------------------------------------------------------------------
1 | """ Simulation Module
2 |
3 | This module wraps the standard anuga script into a simulation class which
4 | allows for the user to define the standard creation of domain etc
5 |
6 | """
7 |
8 | from numpy._pytesttester import PytestTester
9 | test = PytestTester(__name__)
10 | del PytestTester
--------------------------------------------------------------------------------
/anuga/simulation/meson.build:
--------------------------------------------------------------------------------
1 | # This file is used to install the python sources in the correct location
2 |
3 | python_sources = [
4 | '__init__.py',
5 | 'simulation.py',
6 | ]
7 |
8 | py3.install_sources(
9 | python_sources,
10 | subdir: 'anuga/simulation'
11 | )
12 |
13 |
--------------------------------------------------------------------------------
/anuga/structures/__init__.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | from numpy._pytesttester import PytestTester
4 | test = PytestTester(__name__)
5 | del PytestTester
6 |
7 |
--------------------------------------------------------------------------------
/anuga/structures/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'boyd_box_operator_Amended3.py',
4 | 'boyd_box_operator.py',
5 | 'boyd_pipe_operator.py',
6 | '__init__.py',
7 | 'inlet_enquiry.py',
8 | 'inlet_operator.py',
9 | 'inlet.py',
10 | 'internal_boundary_functions.py',
11 | 'internal_boundary_operator.py',
12 | 'riverwall.py',
13 | 'setup.py',
14 | 'structure_operator.py',
15 | 'weir_orifice_trapezoid_operator.py',
16 | ]
17 |
18 | py3.install_sources(
19 | python_sources,
20 | subdir: 'anuga/structures'
21 | )
22 |
23 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/structures/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('structures', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 | config.add_data_dir(join('tests','data'))
17 |
18 |
19 |
20 | return config
21 |
22 | if __name__ == '__main__':
23 | from numpy.distutils.core import setup
24 | setup(configuration=configuration)
25 |
--------------------------------------------------------------------------------
/anuga/structures/tests/SIMPLE_BOYD_CULVERT.ods:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/structures/tests/SIMPLE_BOYD_CULVERT.ods
--------------------------------------------------------------------------------
/anuga/structures/tests/data/inlet_operator_test1.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | inlet_operator_test1.tms
8 | 2626649089
9 | Yes
10 | Stephen Roberts
11 | Australian National University
12 | Australian National University
13 | A very simple time series I made up to test inlet_operator
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/anuga/structures/tests/data/inlet_operator_test1.tms:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/structures/tests/data/inlet_operator_test1.tms
--------------------------------------------------------------------------------
/anuga/structures/tests/data/inlet_operator_test2.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | inlet_operator_test2.tms
8 | 4136545855
9 | Yes
10 | Stephen Roberts
11 | Australian National University
12 | Australian National University
13 | A very simple time series I made up to test inlet_operator
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/anuga/structures/tests/data/inlet_operator_test2.tms:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/structures/tests/data/inlet_operator_test2.tms
--------------------------------------------------------------------------------
/anuga/structures/tests/data/meson.build:
--------------------------------------------------------------------------------
1 |
2 | data_sources = [
3 | 'hecras_bridge_table.csv',
4 | 'inlet_operator_test1.lic',
5 | 'inlet_operator_test1.tms',
6 | 'inlet_operator_test2.lic',
7 | 'inlet_operator_test2.tms',
8 | 'test_hydrograph.tms',
9 | ]
10 |
11 | py3.install_sources(
12 | data_sources,
13 | subdir: 'anuga/structures/tests/data'
14 | )
15 |
--------------------------------------------------------------------------------
/anuga/structures/tests/data/test_hydrograph.tms:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/structures/tests/data/test_hydrograph.tms
--------------------------------------------------------------------------------
/anuga/structures/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'test_boyd_box_operator.py',
4 | 'test_boyd_pipe_operator.py',
5 | 'test_inlet_operator.py',
6 | 'test_internal_boundary_functions.py',
7 | 'test_riverwall_structure.py',
8 | 'test_weir_orifice_trapezoid_operator.py',
9 | ]
10 |
11 | py3.install_sources(
12 | python_sources,
13 | subdir: 'anuga/structures/tests'
14 | )
15 |
16 | subdir('data')
--------------------------------------------------------------------------------
/anuga/tsunami_source/__init__.py:
--------------------------------------------------------------------------------
1 | """ Shallow Water Wave Module.
2 |
3 | This module performs the shallow water wave simulation, and is a
4 | specialisation of the ANUGA domain. It contains supporting modules and
5 | extra boundary classes to do with this specific domain.
6 | """
7 |
8 | from numpy._pytesttester import PytestTester
9 | test = PytestTester(__name__)
10 | del PytestTester
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/anuga/tsunami_source/meson.build:
--------------------------------------------------------------------------------
1 | # This file is part of the ANUGA project
2 |
3 | python_sources = [
4 | 'eqf.py',
5 | 'eqf_v2.py',
6 | '__init__.py',
7 | 'okada_tsunami.py',
8 | 'smf.py',
9 | 'tsunami_okada.py',
10 | ]
11 |
12 | py3.install_sources(
13 | python_sources,
14 | subdir: 'anuga/tsunami_source'
15 | )
16 |
17 | subdir('tests')
--------------------------------------------------------------------------------
/anuga/tsunami_source/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('tsunami_source', parent_package, top_path)
14 |
15 | config.add_data_dir('tests')
16 | config.add_data_dir(join('tests','data'))
17 |
18 |
19 | #config.add_extension('okada_tsunami_fortran',
20 | # sources=['okada_tsunami_fortran.f'])
21 |
22 |
23 | return config
24 |
25 | if __name__ == '__main__':
26 | from numpy.distutils.core import setup
27 | setup(configuration=configuration)
28 |
--------------------------------------------------------------------------------
/anuga/tsunami_source/tests/data/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'fullokada_MS.lic',
4 | 'fullokada_MS.txt',
5 | 'fullokada_SP.lic',
6 | 'fullokada_SP.txt',
7 | 'fullokada_SS.lic',
8 | 'fullokada_SS.txt',
9 | ]
10 |
11 | py3.install_sources(
12 | python_sources,
13 | subdir: 'anuga/tsunami_source/tests/data'
14 | )
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/tsunami_source/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 | python_sources = [
3 | 'okada_tsunami_octave_95.txt',
4 | 'skip_okada_tsunami.py',
5 | 'test_eq.py',
6 | 'test_smf.py',
7 | 'test_tsunami_okada.py',
8 | ]
9 |
10 | py3.install_sources(
11 | python_sources,
12 | subdir: 'anuga/tsunami_source/tests'
13 | )
14 |
15 | subdir('data')
16 |
17 |
--------------------------------------------------------------------------------
/anuga/utilities/README.txt:
--------------------------------------------------------------------------------
1 | General utilities for the AnuGa inundation modelling project
2 |
3 |
--------------------------------------------------------------------------------
/anuga/utilities/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | Generic utility classes not concerned with the specifics of ANUGA.
3 |
4 | Utility functions for managing files, numerical constants, and generic
5 | mathematical and programming idioms.
6 | """
7 |
8 | from numpy._pytesttester import PytestTester
9 | test = PytestTester(__name__)
10 | del PytestTester
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/anuga/utilities/norms.py:
--------------------------------------------------------------------------------
1 | """Definitions of common norm functions, for consistency checks.
2 | """
3 |
4 | from builtins import map
5 | from math import fabs,sqrt
6 | from functools import reduce
7 |
8 | def l1_norm(vector):
9 | """L_1 norm of a vector"""
10 | return reduce(lambda p,q : p + q, list(map(fabs, vector)), 0.0)
11 |
12 | def l2_norm(vector):
13 | """L_2 norm of a vector"""
14 | return sqrt(reduce(lambda p,q : p + q, [x ** 2 for x in vector], 0.0))
15 |
16 | def linf_norm(vector):
17 | """L_\infty norm of a vector"""
18 | return max(list(map(fabs, vector + [0.0])))
19 |
--------------------------------------------------------------------------------
/anuga/utilities/parse.py:
--------------------------------------------------------------------------------
1 | from .data_audit import license_file_is_valid
2 | import sys
3 |
4 | def print_tree(n, indent=0):
5 | while n:
6 | print(" "*indent, n)
7 | print_tree(n.firstChild, indent+4)
8 | n = n.nextSibling
9 |
10 | fid = open(sys.argv[1])
11 | license_file_is_valid(fid, '.')
12 | fid.close()
13 |
14 |
15 |
--------------------------------------------------------------------------------
/anuga/utilities/quad_tree_ext.pyx:
--------------------------------------------------------------------------------
1 | #cython: wraparound=False, boundscheck=False, cdivision=True, profile=False, nonecheck=False, overflowcheck=False, cdivision_warnings=False, unraisable_tracebacks=False
2 | import cython
3 | from libc.stdlib cimport malloc, free
4 | from cpython.pycapsule cimport *
5 | # import both numpy and the Cython declarations for numpy
6 | import numpy as np
7 | cimport numpy as np
8 | # declare the interface to the C code
9 | cdef extern from "quad_tree.c":
10 | ctypedef struct quad_tree:
11 | pass
12 | void delete_quad_tree(quad_tree* quadtree)
13 |
14 | cdef delete_quad_tree_cap(object cap):
15 | kill = PyCapsule_GetPointer(cap, "quad tree")
16 | if kill != NULL:
17 | delete_quad_tree(kill)
--------------------------------------------------------------------------------
/anuga/utilities/tests/data/complex_polygon.csv:
--------------------------------------------------------------------------------
1 | 0.0, 0.0
2 | 1.0, 0.0
3 | 0.0, 1.0
4 | 1.0, 1.0
5 |
--------------------------------------------------------------------------------
/anuga/utilities/tests/data/complex_polygon.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | complex_polygon.csv
8 | 2282859544
9 | Yes
10 | Stephen Roberts
11 | Australian National University
12 | Australian National University
13 | A very simple polygon that I made up to test read_polygon
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/anuga/utilities/tests/data/crc_test_file.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | crc_test_file.png
9 | 1203293305
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with the ANUGA test suite
15 |
16 |
17 |
--------------------------------------------------------------------------------
/anuga/utilities/tests/data/crc_test_file.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/anuga/utilities/tests/data/crc_test_file.png
--------------------------------------------------------------------------------
/anuga/utilities/tests/data/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | data_sources = [
4 | 'complex_polygon.csv',
5 | 'complex_polygon.lic',
6 | 'crc_test_file.lic',
7 | 'crc_test_file.png',
8 | 'mainland_only.csv',
9 | 'mainland_only.lic',
10 | 'non_complex_polygon.csv',
11 | 'non_complex_polygon.lic',
12 | ]
13 |
14 | py3.install_sources(
15 | data_sources,
16 | subdir: 'anuga/utilities/tests/data'
17 | )
--------------------------------------------------------------------------------
/anuga/utilities/tests/data/non_complex_polygon.csv:
--------------------------------------------------------------------------------
1 | 508596.64631910616, 1608992.935823899
2 | 508596.6463191061, 1608964.3290053799
3 | 508596.6463191061, 1608938.9518384717
4 | 508596.6463191061, 1608923.6196273684
5 | 507000.0000000000, 1508000.0000000000
6 |
--------------------------------------------------------------------------------
/anuga/utilities/tests/data/non_complex_polygon.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Stephen Roberts
5 |
6 |
7 | non_complex_polygon.csv
8 | 3643740350
9 | Yes
10 | Stephen Roberts
11 | Australian National University
12 | Australian National University
13 | A very simple nonconvex polygon that I made up to test read_polygon
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/anuga/utilities/tests/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | python_sources = [
4 | 'test_cg_solve.py',
5 | 'test_csv_tools.py',
6 | 'test_data_audit.py',
7 | 'test_file_utils.py',
8 | 'test_function_utils.py',
9 | 'test_log_analyser.py',
10 | 'test_mem_time_equation.py',
11 | 'test_model_tools.py',
12 | 'test_numerical_tools.py',
13 | 'test_plot_utils.py',
14 | 'test_quantity_setting_functions.py',
15 | 'test_sparse.py',
16 | 'test_spatialInputUtil.py',
17 | 'test_system_tools.py',
18 | 'test_xml_tools.py',
19 | ]
20 |
21 | py3.install_sources(
22 | python_sources,
23 | subdir: 'anuga/utilities/tests'
24 | )
25 |
26 | subdir('data')
--------------------------------------------------------------------------------
/anuga/validation_utilities/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | Validation tests
3 | """
4 |
5 |
6 | from numpy._pytesttester import PytestTester
7 | test = PytestTester(__name__)
8 | del PytestTester
9 |
10 |
11 | from .typeset_report import typeset_report
12 | from .run_validation import run_validation_script
13 | from .produce_report import produce_report
14 | from .save_parameters_tex import save_parameters_tex
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/anuga/validation_utilities/meson.build:
--------------------------------------------------------------------------------
1 |
2 |
3 | python_sources = [
4 | 'fabricate.py',
5 | '__init__.py',
6 | 'parameters.py',
7 | 'produce_report.py',
8 | 'run_validation.py',
9 | 'save_parameters_tex.py',
10 | 'typeset_report.py',
11 | ]
12 |
13 | py3.install_sources(
14 | python_sources,
15 | subdir: 'anuga/validation_utilities'
16 | )
17 |
--------------------------------------------------------------------------------
/anuga/validation_utilities/parameters.py:
--------------------------------------------------------------------------------
1 | #! /usr/bin/python
2 |
3 | # To change this template, choose Tools | Templates
4 | # and open the template in the editor.
5 |
6 | __author__="stephen"
7 | __date__ ="$20/08/2012 11:20:00 PM$"
8 |
9 | alg = 'DE1'
10 | cfl = 1.0
11 |
12 | # If a file local_parameters.py exits in current directory
13 | # use the parameters defined there to override the parameters set here.
14 | try:
15 | from local_parameters import *
16 | except:
17 | pass
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/anuga/validation_utilities/produce_report.py:
--------------------------------------------------------------------------------
1 | #! /usr/bin/python
2 |
3 |
4 | __author__="stephen"
5 | __date__ ="$20/08/2012 11:20:00 PM$"
6 |
7 |
8 | from anuga import run_anuga_script
9 | from anuga.validation_utilities import typeset_report
10 |
11 | def produce_report(script, args=None):
12 |
13 | import anuga
14 |
15 | if args is None:
16 | args = anuga.get_args()
17 |
18 |
19 | verbose = args.verbose
20 |
21 |
22 |
23 | #print args
24 |
25 | # Get the arguments from the calling script
26 |
27 | run_anuga_script(script, args=args)
28 |
29 | # We don't want to run plot_results in parallel
30 | args.np = 1
31 |
32 | run_anuga_script('plot_results.py', args=args)
33 |
34 | typeset_report(verbose=verbose)
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/anuga/validation_utilities/save_parameters_tex.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | def save_parameters_tex(domain):
4 |
5 | from anuga import myid
6 |
7 | if myid == 0:
8 | #----------------------------------------------------------------------
9 | # Produce a documentation of parameters
10 | #----------------------------------------------------------------------
11 | parameter_file=open('parameters.tex', 'w')
12 | parameter_file.write('\\begin{verbatim}\n')
13 | from pprint import pprint
14 | pprint(domain.get_algorithm_parameters(),parameter_file,indent=4)
15 | parameter_file.write('\\end{verbatim}\n')
16 | parameter_file.close()
17 |
18 |
--------------------------------------------------------------------------------
/anuga/validation_utilities/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('validation_utilities', parent_package, top_path)
14 |
15 | #config.add_data_dir('tests')
16 | #config.add_data_dir(join('tests','data'))
17 |
18 | return config
19 |
20 | if __name__ == '__main__':
21 | from numpy.distutils.core import setup
22 | setup(configuration=configuration)
23 |
--------------------------------------------------------------------------------
/anuga/visualiser/__init__.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | try:
4 | import vtk
5 |
6 | from .realtime import RealtimeVisualiser
7 | from .offline import OfflineVisualiser
8 | from .visualiser import Visualiser
9 | except:
10 | # we do this so that nosetests doesn't create an error when searching
11 | # this sub_package
12 | pass
13 |
--------------------------------------------------------------------------------
/anuga/visualiser/setup.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import os
4 | import sys
5 |
6 | from os.path import join
7 |
8 | def configuration(parent_package='',top_path=None):
9 |
10 | from numpy.distutils.misc_util import Configuration
11 | from numpy.distutils.system_info import get_info
12 |
13 | config = Configuration('visualiser', parent_package, top_path)
14 |
15 | #config.add_data_dir('tests')
16 | #config.add_data_dir(join('tests','data'))
17 |
18 | return config
19 |
20 | if __name__ == '__main__':
21 | from numpy.distutils.core import setup
22 | setup(configuration=configuration)
23 |
--------------------------------------------------------------------------------
/anuga/visualiser_new/quick_run.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | from sww_visualiser import SWWVisualiser
3 | from height_quantity import HeightQuantity
4 |
5 | vis = SWWVisualiser(source='../../anuga_viewer/tests/cylinders.sww', recording=False, recordPattern='%02d.png')
6 | vis.add_feature(HeightQuantity('elevation'))
7 | vis.add_feature(HeightQuantity('stage', dynamic=True, #colour=(lambda q:q['stage'], 0.0, 10.0), offset=-0.01))
8 | colour=(0.0, 0.0, 0.8)))
9 |
10 | import cProfile
11 | cProfile.run('vis.run()')
12 |
--------------------------------------------------------------------------------
/doc/anuga_user_manual.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/doc/anuga_user_manual.pdf
--------------------------------------------------------------------------------
/doc/validations_report.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/doc/validations_report.pdf
--------------------------------------------------------------------------------
/docs/Makefile:
--------------------------------------------------------------------------------
1 | # Minimal makefile for Sphinx documentation
2 | #
3 |
4 | # You can set these variables from the command line, and also
5 | # from the environment for the first two.
6 | SPHINXOPTS ?=
7 | SPHINXBUILD ?= sphinx-build
8 | SOURCEDIR = source
9 | BUILDDIR = build
10 |
11 | # Put it first so that "make" without argument is like "make help".
12 | help:
13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14 |
15 | .PHONY: help Makefile
16 |
17 | # Catch-all target: route all unknown targets to Sphinx using the new
18 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19 | %: Makefile
20 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21 |
--------------------------------------------------------------------------------
/docs/requirements.txt:
--------------------------------------------------------------------------------
1 | # Requirements to install anuga in read the docs
2 |
3 | numpy
4 | cython
5 | pybind11
6 | meson
7 | meson-python
8 | ninja
9 |
10 | pymetis
11 | meshpy
12 | scipy
13 | netcdf4
14 | gitpython
15 | dill
16 | future
17 | Pmw
18 |
19 |
20 | utm
21 | pyproj
22 | affine
23 |
24 | pytest
25 | matplotlib
26 |
27 | nbsphinx
28 | sphinx_rtd_theme
29 | sphinx
30 |
--------------------------------------------------------------------------------
/docs/source/examples/index.rst:
--------------------------------------------------------------------------------
1 | Examples
2 | ********
3 |
4 | .. currentmodule:: anuga
5 |
6 | .. only:: html
7 |
8 | .. toctree::
9 | :maxdepth: 1
10 |
11 | script_simple_example
12 | notebook_simple_example
13 | notebook_create_domain_from_regions
14 | notebook_create_domain_with_riverwalls
15 | notebook_flooding_example
16 | notebook_tsunami_benchmark
17 |
18 |
19 | .. only:: html
--------------------------------------------------------------------------------
/docs/source/img/CENTRAL-CHANNEL.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/CENTRAL-CHANNEL.png
--------------------------------------------------------------------------------
/docs/source/img/bedslopeduring.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/bedslopeduring.jpg
--------------------------------------------------------------------------------
/docs/source/img/bedslopeduring.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | bedslopeduring.jpg
9 | 220680645
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with ANUGA manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/bedslopeend.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/bedslopeend.jpg
--------------------------------------------------------------------------------
/docs/source/img/bedslopeend.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | bedslopeend.jpg
9 | 3053255734
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with ANUGA manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/bedslopestart.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/bedslopestart.jpg
--------------------------------------------------------------------------------
/docs/source/img/bedslopestart.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | bedslopestart.jpg
9 | 3176593432
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with ANUGA manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/cairns3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/cairns3.jpg
--------------------------------------------------------------------------------
/docs/source/img/cairns3.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | cairns3.jpg
9 | 1107371870
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/cairnsgauges.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/cairnsgauges.jpg
--------------------------------------------------------------------------------
/docs/source/img/cairnsgauges.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | cairnsgauges.jpg
9 | 2482447594
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/cairnsmodel.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/cairnsmodel.jpg
--------------------------------------------------------------------------------
/docs/source/img/cairnsmodel.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | cairnsmodel.jpg
9 | 4267107627
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/channel1.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | channel1.png
9 | 1339122967
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with ANUGA manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/channel1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/channel1.png
--------------------------------------------------------------------------------
/docs/source/img/channel3.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | channel3.png
9 | 1175721165
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with ANUGA manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/channel3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/channel3.png
--------------------------------------------------------------------------------
/docs/source/img/circular-dam-wet-stage-plot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/circular-dam-wet-stage-plot.png
--------------------------------------------------------------------------------
/docs/source/img/dambreakdrystageplot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/dambreakdrystageplot.png
--------------------------------------------------------------------------------
/docs/source/img/fixedwavedepth.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/fixedwavedepth.jpg
--------------------------------------------------------------------------------
/docs/source/img/fixedwavedepth.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | fixedwavedepth.jpg
9 | 492284862
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/gaugeCairnsAirportdepth.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | gaugeCairnsAirportdepth.png
9 | 4036336083
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/gaugeCairnsAirportdepth.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/gaugeCairnsAirportdepth.png
--------------------------------------------------------------------------------
/docs/source/img/gaugeElfordReefslide.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | gaugeElfordReefslide.png
9 | 3564803748
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/gaugeElfordReefslide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/gaugeElfordReefslide.png
--------------------------------------------------------------------------------
/docs/source/img/gaugeElfordReefstage.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | gaugeElfordReefstage.png
9 | 542326782
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/gaugeElfordReefstage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/gaugeElfordReefstage.png
--------------------------------------------------------------------------------
/docs/source/img/pioneer-bridge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/pioneer-bridge.png
--------------------------------------------------------------------------------
/docs/source/img/polyanddata.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/polyanddata.jpg
--------------------------------------------------------------------------------
/docs/source/img/polyanddata.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | polyanddata.jpg
9 | 1861882070
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/polyanddata2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/polyanddata2.jpg
--------------------------------------------------------------------------------
/docs/source/img/polyanddata2.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | polyanddata2.jpg
9 | 1319755707
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/slidedepth.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/slidedepth.jpg
--------------------------------------------------------------------------------
/docs/source/img/slidedepth.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | slidedepth.jpg
9 | 2160481527
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/step-five.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/step-five.jpg
--------------------------------------------------------------------------------
/docs/source/img/step-five.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | step-five.jpg
9 | 1385194304
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with ANUGA manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/step-reconstruct.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/step-reconstruct.jpg
--------------------------------------------------------------------------------
/docs/source/img/step-reconstruct.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | step-reconstruct.jpg
9 | 115859514
10 | Yes
11 | Ole Nielsen
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | For use with ANUGA manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/docs/source/img/triangularmesh.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/docs/source/img/triangularmesh.jpg
--------------------------------------------------------------------------------
/docs/source/installation/index.rst:
--------------------------------------------------------------------------------
1 |
2 | Installation
3 | ============
4 |
5 |
6 | ANUGA is a python package with some C/C++ extensions (and an optional fortran
7 | extension). This version of ANUGA is run and tested using python 3.9 - 3.13.
8 |
9 | To use ANUGA you first need a python environment and then use `pip` or `conda`
10 | to install ANUGA.
11 |
12 |
13 | .. currentmodule:: anuga
14 |
15 | .. only:: html
16 |
17 | .. toctree::
18 | :maxdepth: 1
19 |
20 | install_python
21 | install_anuga
22 | install_anuga_developers
23 |
24 | .. only:: html
--------------------------------------------------------------------------------
/docs/source/reference/boundaries.rst:
--------------------------------------------------------------------------------
1 | .. currentmodule:: anuga
2 |
3 |
4 | Boundary Conditions
5 | ===================
6 |
7 |
8 |
9 |
10 | .. autosummary::
11 | :toctree: generated
12 |
13 | Reflective_boundary
14 | Dirichlet_boundary
15 | Time_space_boundary
16 | Flather_external_stage_zero_velocity_boundary
17 | Transmissive_n_momentum_zero_t_momentum_set_stage_boundary
18 |
19 | Transmissive_boundary
20 | File_boundary
21 | Field_boundary
22 |
23 | Time_stage_zero_momentum_boundary
24 | Transmissive_stage_zero_momentum_boundary
25 | Transmissive_momentum_set_stage_boundary
26 |
27 | Time_boundary
28 |
--------------------------------------------------------------------------------
/docs/source/reference/domain.rst:
--------------------------------------------------------------------------------
1 |
2 | .. currentmodule:: anuga
3 |
4 |
5 | Classes Associated with the Domain
6 | ===================================
7 |
8 |
9 |
10 | .. autosummary::
11 | :toctree:
12 |
13 | Domain
14 | Quantity
15 | Region
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/docs/source/reference/index.rst:
--------------------------------------------------------------------------------
1 |
2 | Index
3 | ==========
4 |
5 |
6 |
7 | * :ref:`genindex`
8 |
9 |
10 |
--------------------------------------------------------------------------------
/docs/source/setup_anuga_script/boundaries.rst:
--------------------------------------------------------------------------------
1 | Setting up the Boundaries
2 | ==========================
3 |
4 | Boundaries are an important part of the ANUGA model. They are used to set the
5 | boundary conditions for the model.
6 |
7 | Typical boundary
8 |
9 | This being worked on. You can find the old material (though still relevant) in the pdf file
10 | `anuga_user_manual.pdf `_
11 | in the doc section of anuga_core.
--------------------------------------------------------------------------------
/docs/source/setup_anuga_script/index.rst:
--------------------------------------------------------------------------------
1 | .. currentmodule:: anuga
2 |
3 |
4 |
5 | Setting up an ANUGA Script
6 | ==========================
7 |
8 | The comon way to run an ANUGA model is to use a script. This script will setup the
9 | model. Running the script will build the model, evolve the model and concurrently
10 | save the results.
11 |
12 | Setting up an ANUGA model involves five basic steps:
13 |
14 |
15 |
16 | .. only:: html
17 |
18 | .. toctree::
19 | :maxdepth: 1
20 |
21 | domain
22 | initial_conditions
23 | boundaries
24 | operators
25 | evolve
26 |
27 | .. only:: html
--------------------------------------------------------------------------------
/environments/environment_3.10.yml:
--------------------------------------------------------------------------------
1 | name: anuga_env_3.10
2 | channels:
3 | - conda-forge
4 | dependencies:
5 | - python=3.10
6 | - pip
7 | - affine
8 | - cartopy
9 | - cython
10 | - dill
11 | - future
12 | - gdal
13 | - gitpython
14 | - matplotlib
15 | - meshpy
16 | - meson
17 | - meson-python
18 | - mpi4py
19 | - netcdf4
20 | - ninja
21 | - numpy
22 | - openpyxl
23 | - pandas
24 | - pkg-config
25 | - pybind11
26 | - pymetis
27 | - pyproj
28 | - pytest
29 | - scipy
30 | - utm
31 | - wheel
32 | - xarray
33 | - pip:
34 | - pmw
35 |
--------------------------------------------------------------------------------
/environments/environment_3.11.yml:
--------------------------------------------------------------------------------
1 | name: anuga_env_3.11
2 | channels:
3 | - conda-forge
4 | dependencies:
5 | - python=3.11
6 | - pip
7 | - affine
8 | - cartopy
9 | - cython
10 | - dill
11 | - future
12 | - gdal
13 | - gitpython
14 | - matplotlib
15 | - meshpy
16 | - meson
17 | - meson-python
18 | - mpi4py
19 | - netcdf4
20 | - ninja
21 | - numpy
22 | - openpyxl
23 | - pandas
24 | - pkg-config
25 | - pybind11
26 | - pymetis
27 | - pyproj
28 | - pytest
29 | - scipy
30 | - utm
31 | - wheel
32 | - xarray
33 | - pip:
34 | - pmw
35 |
--------------------------------------------------------------------------------
/environments/environment_3.12.yml:
--------------------------------------------------------------------------------
1 | name: anuga_env_3.12
2 | channels:
3 | - conda-forge
4 | dependencies:
5 | - python=3.12
6 | - pip
7 | - affine
8 | - cartopy
9 | - cython
10 | - dill
11 | - future
12 | - gdal
13 | - gitpython
14 | - matplotlib
15 | - meshpy
16 | - meson
17 | - meson-python
18 | - mpi4py
19 | - netcdf4
20 | - ninja
21 | - numpy
22 | - openpyxl
23 | - pandas
24 | - pkg-config
25 | - pybind11
26 | - pymetis
27 | - pyproj
28 | - pytest
29 | - scipy
30 | - utm
31 | - wheel
32 | - xarray
33 | - pip:
34 | - pmw
35 |
--------------------------------------------------------------------------------
/environments/environment_3.13.yml:
--------------------------------------------------------------------------------
1 | name: anuga_env_3.13
2 | channels:
3 | - conda-forge
4 | dependencies:
5 | - python=3.13
6 | - python_abi
7 | - pip
8 | - affine
9 | - cartopy
10 | - cython
11 | - dill
12 | - future
13 | - gdal
14 | - gitpython
15 | - matplotlib
16 | - meshpy
17 | - meson
18 | - meson-python
19 | - mpi4py
20 | - netcdf4
21 | - ninja
22 | - numpy
23 | - openpyxl
24 | - pandas
25 | - pkg-config
26 | - pybind11
27 | - pymetis
28 | - pyproj
29 | - pytest
30 | - scipy
31 | - utm
32 | - wheel
33 | - xarray
34 | - pip:
35 | - pmw
36 |
--------------------------------------------------------------------------------
/environments/environment_3.14.yml:
--------------------------------------------------------------------------------
1 | name: anuga_env_3.14
2 | channels:
3 | - conda-forge
4 | dependencies:
5 | - python=3.14
6 | - python_abi
7 | - pip
8 | - affine
9 | - cartopy
10 | - cython
11 | - dill
12 | - future
13 | - gdal
14 | - gitpython
15 | - matplotlib
16 | - meshpy
17 | - meson
18 | - meson-python
19 | - mpi4py
20 | - netcdf4
21 | - ninja
22 | - numpy
23 | - openpyxl
24 | - pandas
25 | - pkg-config
26 | - pybind11
27 | - pymetis
28 | - pyproj
29 | - pytest
30 | - scipy
31 | - utm
32 | - wheel
33 | - xarray
34 | - pip:
35 | - pmw
36 |
--------------------------------------------------------------------------------
/environments/environment_3.9.yml:
--------------------------------------------------------------------------------
1 | name: anuga_env_3.9
2 | channels:
3 | - conda-forge
4 | dependencies:
5 | - python=3.9
6 | - pip
7 | - affine
8 | - cartopy
9 | - cython
10 | - dill
11 | - future
12 | - gdal
13 | - gitpython
14 | - matplotlib
15 | - meshpy
16 | - meson
17 | - meson-python
18 | - mpi4py
19 | - netcdf4
20 | - ninja
21 | - numpy
22 | - openpyxl
23 | - pandas
24 | - pkg-config
25 | - pybind11
26 | - pymetis
27 | - pyproj
28 | - pytest
29 | - scipy
30 | - utm
31 | - wheel
32 | - xarray
33 | - pip:
34 | - pmw
35 |
--------------------------------------------------------------------------------
/examples/cairns/cairns.csv:
--------------------------------------------------------------------------------
1 | 361840.48,8146491.7
2 | 364587.69,8143955.81
3 | 368497.18,8139518.01
4 | 383303.37,8139440.53
5 | 385720.08,8136770.8
6 | 391637.14,8132861.31
7 | 394260.48,8131336.84
8 | 397912.85,8128483.42
9 | 383184.19,8115955.4
10 | 376950.13,8115321.43
11 | 370082.11,8117645.99
12 | 362474.45,8119442.24
13 | 357614,8120287.54
14 | 357297.01,8123246.07
15 | 361946.14,8123774.38
16 | 361734.82,8128423.51
17 | 359410.25,8134340.58
18 | 358247.97,8142370.88
19 |
--------------------------------------------------------------------------------
/examples/cairns/cairns.prj:
--------------------------------------------------------------------------------
1 | Projection UTM
2 | Zone 55
3 | Datum WGS84
4 | Zunits NO
5 | Units METERS
6 | Spheroid WGS84
7 | Xshift 500000
8 | Yshift 10000000
9 | Parameters
10 |
--------------------------------------------------------------------------------
/examples/cairns/cairns.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns/cairns.zip
--------------------------------------------------------------------------------
/examples/cairns/extent.csv:
--------------------------------------------------------------------------------
1 | 301278.51,8236065.96
2 | 712193.31,8272240.51
3 | 710437.26,7980034.44
4 | 368008.27,7961069.14
5 |
--------------------------------------------------------------------------------
/examples/cairns/extent.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | extent.csv
9 | 47283829
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/examples/cairns/gauges.csv:
--------------------------------------------------------------------------------
1 | easting,northing,name,elevation
2 | 367622.63,8128196.42,Cairns,0
3 | 360245.11,8142280.78,Trinity Beach,0
4 | 386133.51,8131751.05,Cairns Headland,0
5 | 430250,8128812.23,Elford Reef,0
6 | 367771.61,8133933.82,Cairns Airport,0
7 |
--------------------------------------------------------------------------------
/examples/cairns/gauges.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | gauges.csv
9 | 3741704368
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/examples/cairns/islands.csv:
--------------------------------------------------------------------------------
1 | 583192.97,8195338.58
2 | 627350.08,8190462.34
3 | 622744.74,8163913.89
4 | 581296.66,8169331.94
5 |
--------------------------------------------------------------------------------
/examples/cairns/islands.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | islands.csv
9 | 3164202623
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/examples/cairns/islands1.csv:
--------------------------------------------------------------------------------
1 | 645229.65,8087790.29
2 | 665818.24,8089686.61
3 | 683156,8045258.6
4 | 665276.43,8010853.98
5 | 636018.96,8025211.81
6 | 621119.32,8081017.73
7 |
--------------------------------------------------------------------------------
/examples/cairns/islands1.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | islands1.csv
9 | 1023723411
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/examples/cairns/islands2.csv:
--------------------------------------------------------------------------------
1 | 693620.77,8083829.3
2 | 710246.25,8085623.07
3 | 709360.46,8062534.42
4 | 693425.85,8066091.69
5 |
--------------------------------------------------------------------------------
/examples/cairns/islands2.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | islands2.csv
9 | 3558360871
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/examples/cairns/islands3.csv:
--------------------------------------------------------------------------------
1 | 571273.26,8155786.82
2 | 590778.24,8155245.01
3 | 587527.41,8138990.86
4 | 569647.85,8139803.57
5 |
--------------------------------------------------------------------------------
/examples/cairns/islands3.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | islands3.csv
9 | 3296839420
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/examples/cairns/shallow.csv:
--------------------------------------------------------------------------------
1 | 506256.66,8003810.51
2 | 380828.8,7992432.61
3 | 373785.34,8015730.22
4 | 380016.09,8096730.07
5 | 351571.33,8122736.71
6 | 356176.67,8148472.45
7 | 349675.01,8232452.23
8 | 375952.56,8235703.06
9 |
--------------------------------------------------------------------------------
/examples/cairns/shallow.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jane Sexton
5 |
6 |
7 |
8 | shallow.csv
9 | 1004032603
10 | Yes
11 | Jane Sexton
12 | Generated by ANUGA development team
13 | Geoscience Australia
14 | Derived for use in real-life demo for ANUGA user manual
15 |
16 |
17 |
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_boundarycond/msl_boundary.csv:
--------------------------------------------------------------------------------
1 | time, stage
2 | 0., 0.
3 | 999999999., 0.
4 |
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_excel.xls:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/cairns_excel.xls
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/breakline_islands.csv:
--------------------------------------------------------------------------------
1 | 583192.97,8195338.58
2 | 627350.08,8190462.34
3 | 622744.74,8163913.89
4 | 581296.66,8169331.94
5 | 583192.97,8195338.58
6 |
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/breakline_islands1.csv:
--------------------------------------------------------------------------------
1 | 645229.65,8087790.29
2 | 665818.24,8089686.61
3 | 683156,8045258.6
4 | 665276.43,8010853.98
5 | 636018.96,8025211.81
6 | 621119.32,8081017.73
7 | 645229.65,8087790.29
8 |
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/breakline_islands3.csv:
--------------------------------------------------------------------------------
1 | 571273.26,8155786.82
2 | 590778.24,8155245.01
3 | 587527.41,8138990.86
4 | 569647.85,8139803.57
5 | 571273.26,8155786.82
6 |
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/breakline_shallow.csv:
--------------------------------------------------------------------------------
1 | 506256.66,8003810.51
2 | 380828.8,7992432.61
3 | 373785.34,8015730.22
4 | 380016.09,8096730.07
5 | 351571.33,8122736.71
6 | 356176.67,8148472.45
7 | 349675.01,8232452.23
8 | 375952.56,8235703.06
9 | 506256.66,8003810.51
10 |
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/cairnsextent.dbf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/cairns_mesh/cairnsextent.dbf
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/cairnsextent.prj:
--------------------------------------------------------------------------------
1 | PROJCS["WGS_1984_UTM_Zone_55S",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",147.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/cairnsextent.shp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/cairns_mesh/cairnsextent.shp
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/cairnsextent.shx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/cairns_mesh/cairnsextent.shx
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/regionPtAreas.csv:
--------------------------------------------------------------------------------
1 | X,Y,id,
2 | 640417.655639586388133,8228291.886409558355808,2000
3 | 599504.48270975460764,8179285.997955144383013,1000
4 | 578373.50328445690684,8148713.517084501683712,1000
5 | 653006.324233380611986,8053399.312017200514674,1000
6 | 420115.955248185317032,8045306.596492618322372,700
7 |
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/regionPtAreas.dbf:
--------------------------------------------------------------------------------
1 | _ A id N
2 |
2000 1000 1000 1000 700
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/regionPtAreas.prj:
--------------------------------------------------------------------------------
1 | PROJCS["WGS_1984_UTM_Zone_55S",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]]
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/regionPtAreas.qpj:
--------------------------------------------------------------------------------
1 | PROJCS["WGS 84 / UTM zone 55S",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32755"]]
2 |
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/regionPtAreas.shp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/cairns_mesh/regionPtAreas.shp
--------------------------------------------------------------------------------
/examples/cairns_excel/cairns_mesh/regionPtAreas.shx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/cairns_mesh/regionPtAreas.shx
--------------------------------------------------------------------------------
/examples/cairns_excel/setup/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/setup/__init__.py
--------------------------------------------------------------------------------
/examples/cairns_excel/xlrd/biffh.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/xlrd/biffh.py
--------------------------------------------------------------------------------
/examples/cairns_excel/xlrd/formatting.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/xlrd/formatting.py
--------------------------------------------------------------------------------
/examples/cairns_excel/xlrd/formula.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/xlrd/formula.py
--------------------------------------------------------------------------------
/examples/cairns_excel/xlrd/info.py:
--------------------------------------------------------------------------------
1 | __VERSION__ = "0.9.3"
2 |
--------------------------------------------------------------------------------
/examples/cairns_excel/xlrd/licences.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/xlrd/licences.py
--------------------------------------------------------------------------------
/examples/cairns_excel/xlrd/sheet.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/xlrd/sheet.py
--------------------------------------------------------------------------------
/examples/cairns_excel/xlrd/xldate.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/cairns_excel/xlrd/xldate.py
--------------------------------------------------------------------------------
/examples/checkpointing/README.txt:
--------------------------------------------------------------------------------
1 | This directory contains a demo of using checkpointing which
2 | allows for a restart after an unusual interuption of a long run.
--------------------------------------------------------------------------------
/examples/parallel/data/test_hydrograph.tms:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/parallel/data/test_hydrograph.tms
--------------------------------------------------------------------------------
/examples/structures/data/test_hydrograph.tms:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/examples/structures/data/test_hydrograph.tms
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | # Requirements to install anuga in read the docs
2 |
3 | # Note: This file is used by read the docs to install the required packages
4 | # to build the documentation. It is not used to install anuga itself.
5 |
6 |
7 | numpy
8 | gdal
9 | pytest
10 | meshpy
11 | cython
12 | scipy
13 | netcdf4
14 | matplotlib
15 | dill
16 | future
17 | gitpython
18 | utm
19 | pyproj
20 | affine
21 | openpyxl
22 | pybind11
23 | pymetis
24 | Pmw
25 | meson
26 | meson-python
27 | ninja
28 | pkg-config
29 | xarray
30 | cartopy
31 |
--------------------------------------------------------------------------------
/tools/clear_for_master.sh:
--------------------------------------------------------------------------------
1 | rm ../anuga/abstract_2d_finite_volumes/mesh_factory_ext.c
2 | rm ../anuga/abstract_2d_finite_volumes/neighbour_mesh_ext.c
3 | rm ../anuga/abstract_2d_finite_volumes/neighbour_table_ext.cpp
4 | rm ../anuga/abstract_2d_finite_volumes/pmesh2domain_ext.c
5 | rm ../anuga/abstract_2d_finite_volumes/quantity_ext.c
6 | rm ../anuga/advection/advection_ext.c
7 | rm ../anuga/shallow_water/shallow_water_ext.c
8 | rm ../anuga/shallow_water/sw_domain_ext.c
9 | rm ../anuga/shallow_water/swb2_domain_ext.c
10 |
11 |
--------------------------------------------------------------------------------
/tools/count_lines.py:
--------------------------------------------------------------------------------
1 | """Count total number of lines of code in ANUGA
2 | """
3 |
4 | import os
5 |
6 | cmd_string = 'find . -type f -name "*.py" -print | xargs wc -l'
7 | print cmd_string
8 | os.system(cmd_string)
9 |
10 |
11 | cmd_string = 'find . -type f -name "*.c" -print | xargs wc -l'
12 | print cmd_string
13 | os.system(cmd_string)
14 |
15 |
16 |
--------------------------------------------------------------------------------
/tools/find_repeated_old_div.sh:
--------------------------------------------------------------------------------
1 | # Find all lines in Python code which contain multiple old_div
2 | for repeats in 1 2 3 4 5 ; do
3 | find ./ -name "*.py" -exec grep -EHn "(old_div.*){${repeats}}" {} \; >/tmp/old_div${repeats}
4 | echo $repeats "or more repeats of old_div per line: number of lines:" `wc -l /tmp/old_div${repeats}`
5 | done
6 |
7 |
--------------------------------------------------------------------------------
/tools/install_ubuntu.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # License: 3-clause BSD
4 |
5 |
6 | set -e
7 |
8 | echo "#==========================="
9 | echo "# Determine Ubuntu version"
10 | echo "#==========================="
11 |
12 | VERSION_ID=$(grep -oP 'VERSION_ID="\K[\d.]+' /etc/os-release)
13 |
14 | echo "Version $VERSION_ID"
15 | echo " "
16 |
17 | if [[ "$VERSION_ID" == "20.04" ]]
18 | then
19 | cd "$(dirname "${BASH_SOURCE[0]}")";
20 | bash install_ubuntu_20_04.sh
21 | fi
22 |
23 | if [[ "$VERSION_ID" == "22.04" ]]
24 | then
25 | cd "$(dirname "${BASH_SOURCE[0]}")";
26 | bash install_ubuntu_22_04.sh
27 | fi
28 |
29 | if [[ "$VERSION_ID" == "24.04" ]]
30 | then
31 | cd "$(dirname "${BASH_SOURCE[0]}")";
32 | bash install_ubuntu_24_04.sh
33 | fi
--------------------------------------------------------------------------------
/tools/numpy_py3.8.pc:
--------------------------------------------------------------------------------
1 | # For python 3.8 we need to copy this file to the
2 | # appriate directory so that meson can find the numpy
3 | # include files and library
4 | # Need to copy this over to the numpy/_core/lib/np directory
5 | # and set PKG_CONFIG_PATH to point to the directory
6 |
7 |
8 | prefix=${pcfiledir}/../..
9 | includedir=${prefix}/include
10 |
11 | Name: numpy
12 | Description: NumPy is the fundamental package for scientific computing with Python.
13 | Version: 1.24.0
14 | Cflags: -I${includedir}
15 |
--------------------------------------------------------------------------------
/tools/runtests38.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/sh
2 |
3 | conda activate anuga38; pip install -e .; pytest --pyargs python; conda deactivate
4 |
5 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/avalanche_dry/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('numerical_avalanche_dry.py', args=args)
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/avalanche_wet/produce_results.py:
--------------------------------------------------------------------------------
1 |
2 | import anuga
3 | from anuga.validation_utilities import produce_report
4 |
5 | args = anuga.get_args()
6 |
7 | produce_report('numerical_avalanche_wet.py', args=args)
8 |
9 |
10 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/carrier_greenspan_periodic/error.py:
--------------------------------------------------------------------------------
1 | ## module error
2 | """ err(string).
3 | Prints 'string' and terminates program.
4 |
5 | Taken from the book Numerical Methods in Engineering with Python
6 | by J. Kiusalaas
7 | """
8 | # FIXME (Ole): Use exception handling instead of this
9 | import sys
10 | def err(string):
11 | print(string)
12 | raw_input('Press return to exit')
13 | sys.exit()
14 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/carrier_greenspan_periodic/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('numerical_carrier_greenspan.py', args=args)
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/carrier_greenspan_periodic/rootsearch.py:
--------------------------------------------------------------------------------
1 | ## module rootsearch
2 | ''' x1,x2 = rootsearch(f,a,b,dx).
3 | Searches the interval (a,b) in increments dx for
4 | the bounds (x1,x2) of the smallest root of f(x).
5 | Returns x1 = x2 = None if no roots were detected.
6 |
7 | Taken from the book Numerical Methods in Engineering with Python
8 | by J. Kiusalaas
9 | '''
10 | def rootsearch(f,a,b,dx):
11 | x1 = a; f1 = f(a)
12 | x2 = a + dx; f2 = f(x2)
13 | while f1*f2 > 0.0:
14 | if x1 >= b: return None,None
15 | x1 = x2; f1 = f2
16 | x2 = x1 + dx; f2 = f(x2)
17 | else:
18 | return x1,x2
19 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/carrier_greenspan_transient/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('numerical_cg_transient.py', args=args)
10 |
11 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/dam_break_dry/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 |
5 | import anuga
6 | from anuga.validation_utilities import produce_report
7 |
8 | args = anuga.get_args()
9 |
10 | produce_report('numerical_dam_break_dry.py', args=args)
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/dam_break_wet/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 |
5 | import anuga
6 | from anuga.validation_utilities import produce_report
7 |
8 | args = anuga.get_args()
9 |
10 | produce_report('numerical_dam_break_wet.py', args=args)
11 |
12 |
13 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/deep_wave/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('run_wave.py', args=args)
10 |
11 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/lake_at_rest_immersed_bump/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('numerical_immersed_bump.py', args=args)
10 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/lake_at_rest_steep_island/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('numerical_steep_island.py', args=args)
10 |
11 |
12 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/landslide_tsunami/DATA/readme.txt:
--------------------------------------------------------------------------------
1 | The benchmark solution was downloaded from:
2 | http://isec.nacse.org/workshop/2004_cornell/bmark1.html
3 | on 19 August 2012
4 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/landslide_tsunami/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('runup.py', args=args)
10 |
11 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/mac_donald_short_channel/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('numerical_MacDonald.py', args=args)
10 |
11 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/parabolic_basin/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('numerical_parabolic_basin.py', args=args)
10 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/paraboloid_basin/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('numerical_paraboloid_basin.py', args=args)
10 |
11 |
12 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/river_at_rest_varying_topo_width/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 | import anuga
5 | from anuga.validation_utilities import produce_report
6 |
7 | args = anuga.get_args()
8 |
9 | produce_report('numerical_varying_width.py', args=args)
10 |
11 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/rundown_mild_slope/produce_results.py:
--------------------------------------------------------------------------------
1 | """
2 | Simple water flow example using ANUGA: Water flowing down a channel.
3 | It was called "steep_slope" in an old validation test.
4 | """
5 |
6 | import anuga
7 | from anuga.validation_utilities import produce_report
8 |
9 | args = anuga.get_args()
10 |
11 | produce_report('numerical_rundown_channel.py', args=args)
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/rundown_mild_slope_coarse/produce_results.py:
--------------------------------------------------------------------------------
1 | """
2 | Simple water flow example using ANUGA: Water flowing down a channel.
3 | It was called "steep_slope" in an old validation test.
4 | """
5 |
6 | import anuga
7 | from anuga.validation_utilities import produce_report
8 |
9 | args = anuga.get_args()
10 |
11 | produce_report('numerical_rundown_channel_coarse.py', args=args)
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/runup_on_beach/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('numerical_runup.py', args=args)
7 |
8 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/runup_on_sinusoid_beach/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('numerical_runup_sinusoid.py', args=args)
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/subcritical_depth_expansion/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('numerical_depth_expansion.py', args=args)
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/subcritical_flat/analytical_subcritical.py:
--------------------------------------------------------------------------------
1 | """
2 | Subcritical flow over flat surface
3 |
4 | Steve Roberts, ANU 2014
5 | """
6 | from numpy import zeros, ones
7 |
8 |
9 |
10 | qA = 4.42 # This is the imposed momentum
11 | hx = 2.0 # This is the water height downstream
12 |
13 | def analytic_sol(x):
14 |
15 | h = ones(len(x))*hx
16 | z = zeros(len(x))
17 |
18 | return h,z
19 |
20 |
21 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/subcritical_flat/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('numerical_subcritical.py', args=args)
7 |
8 |
9 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/subcritical_over_bump/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('numerical_subcritical.py', args=args)
7 |
8 |
9 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/supercritical_over_bump/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('numerical_supercritical.py', args=args)
7 |
8 |
9 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/transcritical_with_shock/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('numerical_transcritical.py', args=args)
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/transcritical_without_shock/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('numerical_transcritical.py', args=args)
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/trapezoidal_channel/produce_results.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | import anuga
4 | from anuga.validation_utilities import produce_report
5 |
6 | args = anuga.get_args()
7 |
8 | produce_report('numerical_channel_floodplain.py', args=args)
9 |
10 |
11 |
--------------------------------------------------------------------------------
/validation_tests/analytical_exact/trapezoidal_channel/project.py:
--------------------------------------------------------------------------------
1 |
2 | floodplain_length = 800.0 # Model domain length
3 | floodplain_width = 14.0 # Model domain width
4 | floodplain_slope = 1./300.
5 | chan_initial_depth = 0.65 # Initial depth of water in the channel
6 | chan_bankfull_depth = 1.0 # Bankfull depth of the channel
7 | chan_width = 10.0 # Bankfull width of the channel
8 | bankwidth = 2. # Width of the bank regions -- note that these protrude into the channel
9 | man_n=0.03 # Manning's n
10 | l0 = 1.00 # Length scale associated with triangle side length in channel (min_triangle area = 0.5*l0^2)
11 |
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/bridge_hecras/hecras_bridge_test/RASGeometry_Bridge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/validation_tests/behaviour_only/bridge_hecras/hecras_bridge_test/RASGeometry_Bridge.png
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/bridge_hecras/hecras_bridge_test/ras_bridge.prj:
--------------------------------------------------------------------------------
1 | Proj Title=ras_bridge
2 | Current Plan=p01
3 | Default Exp/Contr=0.3,0.1
4 | SI Units
5 | Geom File=g01
6 | Unsteady File=u01
7 | Plan File=p01
8 | Y Axis Title=Elevation
9 | X Axis Title(PF)=Main Channel Distance
10 | X Axis Title(XS)=Station
11 | BEGIN DESCRIPTION:
12 |
13 | END DESCRIPTION:
14 | DSS Start Date=22SEP2008
15 | DSS Start Time=00:00
16 | DSS End Date=22SEP2008
17 | DSS End Time=04:00
18 | DSS File=dss
19 | DSS Export Filename=
20 | DSS Export Rating Curves= 0
21 | DSS Export Rating Curve Sorted= 0
22 | DSS Export Volume Flow Curves= 0
23 | DXF Filename=
24 | DXF OffsetX= 0
25 | DXF OffsetY= 0
26 | DXF ScaleX= 1
27 | DXF ScaleY= 10
28 | GIS Export Profiles= 0
29 |
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/bridge_hecras/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('channel_floodplain1.py', args=args)
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/bridge_hecras2/hecras_bridge_test/RASGeometry_Bridge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/validation_tests/behaviour_only/bridge_hecras2/hecras_bridge_test/RASGeometry_Bridge.png
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/bridge_hecras2/hecras_bridge_test/gauges.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/validation_tests/behaviour_only/bridge_hecras2/hecras_bridge_test/gauges.xlsx
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/bridge_hecras2/hecras_bridge_test/hecras_bridge_table.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/validation_tests/behaviour_only/bridge_hecras2/hecras_bridge_test/hecras_bridge_table.xlsx
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/bridge_hecras2/hecras_bridge_test/ras_bridge.prj:
--------------------------------------------------------------------------------
1 | Proj Title=ras_bridge
2 | Current Plan=p01
3 | Default Exp/Contr=0.3,0.1
4 | SI Units
5 | Geom File=g01
6 | Unsteady File=u01
7 | Plan File=p01
8 | Y Axis Title=Elevation
9 | X Axis Title(PF)=Main Channel Distance
10 | X Axis Title(XS)=Station
11 | BEGIN DESCRIPTION:
12 |
13 | END DESCRIPTION:
14 | DSS Start Date=22SEP2008
15 | DSS Start Time=00:00
16 | DSS End Date=22SEP2008
17 | DSS End Time=04:00
18 | DSS File=dss
19 | DSS Export Filename=
20 | DSS Export Rating Curves= 0
21 | DSS Export Rating Curve Sorted= 0
22 | DSS Export Volume Flow Curves= 0
23 | DXF Filename=
24 | DXF OffsetX= 0
25 | DXF OffsetY= 0
26 | DXF ScaleX= 1
27 | DXF ScaleY= 10
28 | GIS Export Profiles= 0
29 |
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/bridge_hecras2/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('channel_floodplain1.py', args=args)
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/lateral_weir_hecras/hecras_riverwall_anugaTest/RASGeometry_levee.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/validation_tests/behaviour_only/lateral_weir_hecras/hecras_riverwall_anugaTest/RASGeometry_levee.png
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/lateral_weir_hecras/hecras_riverwall_anugaTest/riverwall_ANUGA.prj:
--------------------------------------------------------------------------------
1 | Proj Title=riverwall_ANUGA
2 | Current Plan=p01
3 | Default Exp/Contr=0.3,0.1
4 | SI Units
5 | Geom File=g01
6 | Unsteady File=u01
7 | Plan File=p01
8 | Y Axis Title=Elevation
9 | X Axis Title(PF)=Main Channel Distance
10 | X Axis Title(XS)=Station
11 | BEGIN DESCRIPTION:
12 |
13 | END DESCRIPTION:
14 | DSS Start Date=
15 | DSS Start Time=
16 | DSS End Date=
17 | DSS End Time=
18 | DSS File=dss
19 | DSS Export Filename=
20 | DSS Export Rating Curves= 0
21 | DSS Export Rating Curve Sorted= 0
22 | DSS Export Volume Flow Curves= 0
23 | DXF Filename=
24 | DXF OffsetX= 0
25 | DXF OffsetY= 0
26 | DXF ScaleX= 1
27 | DXF ScaleY= 10
28 | GIS Export Profiles= 0
29 |
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/lateral_weir_hecras/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('channel_floodplain1.py', args=args)
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/lid_driven_cavity/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('numerical_lid_driven_cavity.py', args=args)
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/tides_hecras/hecras_tides_case/IdealBackwater.prj:
--------------------------------------------------------------------------------
1 | Proj Title=IdealBackwater
2 | Current Plan=p01
3 | Default Exp/Contr=0.3,0.1
4 | SI Units
5 | Geom File=g01
6 | Unsteady File=u01
7 | Plan File=p01
8 | Y Axis Title=Elevation
9 | X Axis Title(PF)=Main Channel Distance
10 | X Axis Title(XS)=Station
11 | BEGIN DESCRIPTION:
12 |
13 | END DESCRIPTION:
14 | DSS Start Date=22SEP2008
15 | DSS Start Time=00:00
16 | DSS End Date=22SEP2008
17 | DSS End Time=09:00
18 | DSS File=dss
19 | DSS Export Filename=
20 | DSS Export Rating Curves= 0
21 | DSS Export Rating Curve Sorted= 0
22 | DSS Export Volume Flow Curves= 0
23 | DXF Filename=
24 | DXF OffsetX= 0
25 | DXF OffsetY= 0
26 | DXF ScaleX= 1
27 | DXF ScaleY= 10
28 | GIS Export Profiles= 0
29 |
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/tides_hecras/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('channel_floodplain1.py', args=args)
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/validation_tests/behaviour_only/weir_1/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('runup.py', args=args)
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/Observations/ObservationPoints.csv:
--------------------------------------------------------------------------------
1 | x, y, ID, stage (Draft Report), stage (ARR Report Final), TUFLOW (ARR Report Final)
2 | 382373.514531995810103, 6354387.837079666554928, 4, 23.0, 23.01, 22.77
3 | 382354.610297574603464, 6354365.208338395692408, 3, 23.1, 23.14, 23.11
4 | 382424.399931652704254, 6354478.333491845987737, 0, 20.0, 19.98, 20.08
5 | 382509.713526756153442, 6354548.220816057175398, 1, 18.4, 18.38, 18.36
6 | 382339.416016335249878, 6354297.836651652120054, 2, 23.5, 23.36, 23.56
7 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/extent.csv:
--------------------------------------------------------------------------------
1 | 382250,6354265
2 | 382571,6354265
3 | 382571,6354681
4 | 382250,6354681
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house000.csv:
--------------------------------------------------------------------------------
1 | 382426.81,6354414.71
2 | 382430.86,6354402.25
3 | 382439.96,6354404.84
4 | 382438.49,6354410.07
5 | 382437.45,6354409.8
6 | 382435.64,6354416.13
7 | 382435.23,6354417.44
8 | 382429.54,6354415.67
9 | 382428.17,6354419.43
10 | 382423.38,6354417.7
11 | 382424.65,6354414.04
12 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house001.csv:
--------------------------------------------------------------------------------
1 | 382433.37,6354428.14
2 | 382432.27,6354427.76
3 | 382431.13,6354431.47
4 | 382418.39,6354427.18
5 | 382420.93,6354419.36
6 | 382434.62,6354424.05
7 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house002.csv:
--------------------------------------------------------------------------------
1 | 382397.0,6354399.0
2 | 382410.0,6354403.0
3 | 382408.0,6354410.0
4 | 382395.0,6354406.0
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house003.csv:
--------------------------------------------------------------------------------
1 | 382430.3848,6354441.869
2 | 382420.4233,6354438.492
3 | 382421.3307,6354435.53
4 | 382411.6427,6354432.487
5 | 382412.7903,6354428.377
6 | 382433.8745,6354434.836
7 | 382432.3532,6354439.773
8 | 382431.1522,6354439.399
9 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house004.csv:
--------------------------------------------------------------------------------
1 | 382376.0666,6354407.586
2 | 382378.8422,6354396.804
3 | 382383.2992,6354397.952
4 | 382382.7921,6354400.274
5 | 382386.7688,6354401.368
6 | 382386.1282,6354404.037
7 | 382390.0782,6354404.944
8 | 382387.4627,6354413.751
9 | 382380.3368,6354411.883
10 | 382381.084,6354408.947
11 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house005.csv:
--------------------------------------------------------------------------------
1 | 382421.1,6354401.0
2 | 382422.1,6354397.7
3 | 382429.0,6354399.8
4 | 382428.0,6354403.2
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house006.csv:
--------------------------------------------------------------------------------
1 | 382389.5177,6354417.924
2 | 382392.1866,6354409.419
3 | 382397.9158,6354411.163
4 | 382395.1046,6354419.667
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house007.csv:
--------------------------------------------------------------------------------
1 | 382339.3765,6354349.79
2 | 382345.1592,6354355.542
3 | 382342.6766,6354357.722
4 | 382345.7647,6354361.264
5 | 382333.6846,6354372.073
6 | 382325.1771,6354363.05
7 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house008.csv:
--------------------------------------------------------------------------------
1 | 382343.9571,6354366.675
2 | 382349.1623,6354361.709
3 | 382357.8975,6354370.384
4 | 382352.8717,6354375.231
5 | 382350.658,6354377.205
6 | 382347.1281,6354373.555
7 | 382349.2221,6354371.581
8 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house009.csv:
--------------------------------------------------------------------------------
1 | 382358.6154,6354392.103
2 | 382349.2221,6354382.769
3 | 382358.2564,6354373.974
4 | 382363.5215,6354379.239
5 | 382360.8291,6354381.752
6 | 382362.5642,6354383.667
7 | 382360.5898,6354385.461
8 | 382362.8035,6354387.974
9 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house010.csv:
--------------------------------------------------------------------------------
1 | 382373.6327,6354401.556
2 | 382368.0087,6354398.624
3 | 382369.9233,6354394.735
4 | 382367.5899,6354393.598
5 | 382370.5216,6354387.795
6 | 382378.6585,6354392.103
7 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house011.csv:
--------------------------------------------------------------------------------
1 | 382373.422,6354335.84
2 | 382366.1494,6354328.438
3 | 382375.1753,6354319.802
4 | 382382.4479,6354326.685
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house012.csv:
--------------------------------------------------------------------------------
1 | 382391.4088,6354346.555
2 | 382385.8894,6354351.879
3 | 382373.7467,6354339.801
4 | 382379.7207,6354334.217
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house013.csv:
--------------------------------------------------------------------------------
1 | 382425.7446,6354457.251
2 | 382410.9468,6354452.958
3 | 382412.563,6354446.493
4 | 382427.5628,6354450.18
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house014.csv:
--------------------------------------------------------------------------------
1 | 382410.7448,6354448.362
2 | 382404.0277,6354446.392
3 | 382406.755,6354436.847
4 | 382413.4721,6354438.665
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house015.csv:
--------------------------------------------------------------------------------
1 | 382393.5733,6354437.352
2 | 382402.9166,6354440.483
3 | 382400.5429,6354448.16
4 | 382391.2501,6354445.029
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house016.csv:
--------------------------------------------------------------------------------
1 | 382384.331,6354434.271
2 | 382386.0482,6354428.766
3 | 382390.038,6354429.827
4 | 382388.2703,6354435.433
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house017.csv:
--------------------------------------------------------------------------------
1 | 382370.0382,6354429.574
2 | 382371.7554,6354423.615
3 | 382384.836,6354427.453
4 | 382381.4017,6354439.625
5 | 382378.422,6354438.867
6 | 382378.119,6354440.13
7 | 382373.5736,6354438.817
8 | 382374.7857,6354434.827
9 | 382372.2099,6354434.069
10 | 382373.22,6354430.635
11 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house018.csv:
--------------------------------------------------------------------------------
1 | 382425.8777,6354493.792
2 | 382429.8432,6354480.5
3 | 382437.0399,6354482.703
4 | 382433.3681,6354496.068
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house019.csv:
--------------------------------------------------------------------------------
1 | 382415.156,6354492.911
2 | 382419.3419,6354478.517
3 | 382426.7589,6354480.206
4 | 382422.6465,6354495.04
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house020.csv:
--------------------------------------------------------------------------------
1 | 382410.9106,6354506.72
2 | 382412.1788,6354502.501
3 | 382414.6375,6354503.278
4 | 382413.4211,6354507.522
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house021.csv:
--------------------------------------------------------------------------------
1 | 382408.9955,6354497.429
2 | 382410.5224,6354492.718
3 | 382413.7058,6354493.598
4 | 382412.3082,6354498.49
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house022.csv:
--------------------------------------------------------------------------------
1 | 382402.137,6354479.933
2 | 382404.518,6354472.583
3 | 382408.5814,6354473.644
4 | 382408.0379,6354475.715
5 | 382411.5318,6354476.75
6 | 382412.2306,6354474.964
7 | 382416.6562,6354476.103
8 | 382413.447,6354485.808
9 | 382407.9602,6354483.841
10 | 382408.5555,6354482.004
11 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house023.csv:
--------------------------------------------------------------------------------
1 | 382436.6543,6354525.02
2 | 382438.9022,6354520.524
3 | 382442.0589,6354522.007
4 | 382439.811,6354526.55
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house024.csv:
--------------------------------------------------------------------------------
1 | 382445.646,6354529.181
2 | 382447.9895,6354521.289
3 | 382453.968,6354522.916
4 | 382451.7201,6354530.998
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house025.csv:
--------------------------------------------------------------------------------
1 | 382435.363,6354511.15
2 | 382442.2502,6354487.81
3 | 382458.8464,6354492.21
4 | 382456.5507,6354500.149
5 | 382446.3155,6354497.375
6 | 382443.1589,6354510.098
7 | 382447.846,6354511.389
8 | 382449.3287,6354505.411
9 | 382455.0202,6354506.702
10 | 382452.581,6354516.65
11 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house026.csv:
--------------------------------------------------------------------------------
1 | 382460.9509,6354505.076
2 | 382464.6336,6354492.019
3 | 382473.5774,6354493.932
4 | 382469.4642,6354507.515
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house027.csv:
--------------------------------------------------------------------------------
1 | 382448.9036,6354466.011
2 | 382453.9202,6354449.856
3 | 382461.2325,6354452.066
4 | 382456.386,6354468.222
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house028.csv:
--------------------------------------------------------------------------------
1 | 382450.7742,6354442.799
2 | 382451.7945,6354439.738
3 | 382460.5523,6354442.373
4 | 382459.3619,6354445.604
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house029.csv:
--------------------------------------------------------------------------------
1 | 382464.6336,6354474.174
2 | 382469.5652,6354457.763
3 | 382484.2749,6354461.675
4 | 382479.6835,6354478.85
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house030.csv:
--------------------------------------------------------------------------------
1 | 382464.6336,6354474.174
2 | 382465.4976,6354471.299
3 | 382480.6013,6354475.417
4 | 382479.6835,6354478.85
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house031.csv:
--------------------------------------------------------------------------------
1 | 382487.3263,6354506.473
2 | 382498.0044,6354477.519
3 | 382505.6024,6354479.572
4 | 382494.4108,6354508.629
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house032.csv:
--------------------------------------------------------------------------------
1 | 382499.0312,6354509.758
2 | 382507.2452,6354486.349
3 | 382516.6912,6354489.223
4 | 382509.812,6354512.633
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house032_033.csv:
--------------------------------------------------------------------------------
1 | 382495.7456,6354522.079
2 | 382499.0312,6354509.758
3 | 382507.2452,6354486.349
4 | 382516.6912,6354489.223
5 | 382509.812,6354512.633
6 | 382505.9104,6354525.057
7 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house033.csv:
--------------------------------------------------------------------------------
1 | 382495.7456,6354522.079
2 | 382499.0312,6354509.758
3 | 382509.812,6354512.633
4 | 382505.9104,6354525.057
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house034.csv:
--------------------------------------------------------------------------------
1 | 382549.1364,6354520.231
2 | 382537.3288,6354516.535
3 | 382532.1951,6354532.655
4 | 382544.0026,6354536.043
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house035.csv:
--------------------------------------------------------------------------------
1 | 382513.6977,6354558.373
2 | 382515.2983,6354552.032
3 | 382520.6542,6354553.264
4 | 382518.9305,6354559.851
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house036.csv:
--------------------------------------------------------------------------------
1 | 382524.3918,6354561.506
2 | 382527.426,6354551.54
3 | 382536.4755,6354554.125
4 | 382533.7668,6354564.345
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house037.csv:
--------------------------------------------------------------------------------
1 | 382501.929,6354561.989
2 | 382505.5281,6354548.224
3 | 382510.0743,6354549.613
4 | 382508.8746,6354553.78
5 | 382513.2945,6354554.854
6 | 382510.6425,6354563.378
7 | 382506.1595,6354562.178
8 | 382505.8438,6354563.062
9 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house038.csv:
--------------------------------------------------------------------------------
1 | 382492.0158,6354555.927
2 | 382495.236,6354543.867
3 | 382502.6236,6354545.635
4 | 382499.0877,6354558.2
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house039.csv:
--------------------------------------------------------------------------------
1 | 382495.4254,6354575.248
2 | 382498.3931,6354565.209
3 | 382501.8659,6354566.093
4 | 382498.7719,6354576.385
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house040.csv:
--------------------------------------------------------------------------------
1 | 382484.2494,6354558.011
2 | 382480.2083,6354556.811
3 | 382485.4491,6354539.195
4 | 382492.8366,6354541.405
5 | 382489.8059,6354552.896
6 | 382485.9542,6354552.076
7 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house041.csv:
--------------------------------------------------------------------------------
1 | 382476.7987,6354568.366
2 | 382478.4404,6354563.062
3 | 382486.6968,6354565.568
4 | 382485.0702,6354571.144
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house042.csv:
--------------------------------------------------------------------------------
1 | 382471.4572,6354552.645
2 | 382475.7719,6354538.06
3 | 382479.899,6354539.138
4 | 382479.3831,6354541.155
5 | 382481.4467,6354541.53
6 | 382481.0246,6354543.218
7 | 382482.1502,6354543.359
8 | 382479.0079,6354554.662
9 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house043.csv:
--------------------------------------------------------------------------------
1 | 382461.8274,6354549.67
2 | 382465.4959,6354537.33
3 | 382471.7491,6354538.914
4 | 382468.9977,6354548.085
5 | 382465.8294,6354547.335
6 | 382464.9956,6354550.503
7 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house044.csv:
--------------------------------------------------------------------------------
1 | 382459.9931,6354563.927
2 | 382461.9941,6354557.257
3 | 382467.747,6354558.757
4 | 382465.746,6354565.511
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house045.csv:
--------------------------------------------------------------------------------
1 | 382456.2412,6354517.07
2 | 382457.3251,6354513.568
3 | 382463.078,6354515.235
4 | 382462.1609,6354518.821
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house046.csv:
--------------------------------------------------------------------------------
1 | 382517.0948,6354570.381
2 | 382519.5465,6354562.781
3 | 382534.1338,6354567.255
4 | 382532.908,6354571.362
5 | 382530.9467,6354570.994
6 | 382529.966,6354574.488
7 | 382528.9241,6354574.12
8 | 382528.1273,6354576.878
9 | 382516.2368,6354573.323
10 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house047.csv:
--------------------------------------------------------------------------------
1 | 382527.5684,6354587.654
2 | 382512.9223,6354583.761
3 | 382515.2397,6354575.974
4 | 382529.8858,6354579.867
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house048.csv:
--------------------------------------------------------------------------------
1 | 382526.5487,6354600.168
2 | 382511.5318,6354596.46
3 | 382513.6639,6354588.674
4 | 382526.456,6354592.011
5 | 382526.0852,6354593.401
6 | 382528.1245,6354593.772
7 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house049.csv:
--------------------------------------------------------------------------------
1 | 382513.6397,6354624.262
2 | 382517.247,6354611.192
3 | 382525.2979,6354613.283
4 | 382521.4293,6354626.458
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house050.csv:
--------------------------------------------------------------------------------
1 | 382523.5205,6354605.023
2 | 382518.9722,6354603.769
3 | 382519.8086,6354600.005
4 | 382524.566,6354601.259
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house051.csv:
--------------------------------------------------------------------------------
1 | 382503.6021,6354622.171
2 | 382507.0525,6354609.519
3 | 382515.2081,6354611.454
4 | 382511.7054,6354624.471
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house052.csv:
--------------------------------------------------------------------------------
1 | 382508.0458,6354603.246
2 | 382509.8233,6354597.495
3 | 382513.8488,6354598.436
4 | 382512.0713,6354604.239
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house053.csv:
--------------------------------------------------------------------------------
1 | 382497.4332,6354621.021
2 | 382497.7991,6354619.871
3 | 382494.035,6354618.825
4 | 382497.1195,6354607.324
5 | 382505.1182,6354609.624
6 | 382501.3018,6354622.171
7 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house054.csv:
--------------------------------------------------------------------------------
1 | 382504.0203,6354602.096
2 | 382505.7456,6354596.031
3 | 382509.2483,6354596.972
4 | 382507.4708,6354603.037
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house055.csv:
--------------------------------------------------------------------------------
1 | 382484.7816,6354614.904
2 | 382488.4412,6354600.789
3 | 382496.7013,6354602.828
4 | 382494.3487,6354611.976
5 | 382490.6892,6354611.035
6 | 382489.3299,6354616.159
7 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house056.csv:
--------------------------------------------------------------------------------
1 | 382474.9531,6354614.381
2 | 382479.1878,6354599.795
3 | 382486.716,6354601.939
4 | 382482.6382,6354616.472
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house057.csv:
--------------------------------------------------------------------------------
1 | 382482.0631,6354585.994
2 | 382483.736,6354580.138
3 | 382492.2053,6354582.7
4 | 382490.5846,6354588.555
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/houses/house058.csv:
--------------------------------------------------------------------------------
1 | 382494.5554,6354589.781
2 | 382496.2659,6354584.144
3 | 382501.9027,6354585.815
4 | 382500.3088,6354591.413
5 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/merewether.csv:
--------------------------------------------------------------------------------
1 | 382363.5311,6354496.207
2 | 382485.2916,6354647.237
3 | 382547.3427,6354631.431
4 | 382563.7335,6354497.377
5 | 382466.5593,6354406.057
6 | 382400.4103,6354293.663
7 | 382297.3821,6354372.69
8 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/produce_results.py:
--------------------------------------------------------------------------------
1 | import os
2 |
3 | os.system('python runMerewether.py -alg DE0')
4 | os.system('python plot_results.py')
5 | os.system('pdflatex results.tex')
6 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/topography1.prj:
--------------------------------------------------------------------------------
1 | Projection UTM
2 | Zone 56
3 | Datum WGS84
4 | Zunits NO
5 | Units METERS
6 | Spheroid WGS84
7 | Xshift 500000
8 | Yshift 10000000
9 | Parameters
10 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/merewether/topography1.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/validation_tests/case_studies/merewether/topography1.zip
--------------------------------------------------------------------------------
/validation_tests/case_studies/patong/data_delete.py:
--------------------------------------------------------------------------------
1 | """
2 | delete the files that were downloaded from the
3 | anuga_case_studies_data repository
4 | """
5 |
6 | import os
7 |
8 | os.system('rm -r boundaries gauges meshes outputs polygons topographies')
9 |
10 |
11 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/patong/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('run_model.py', args=args)
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/towradgi/data_delete.py:
--------------------------------------------------------------------------------
1 | """
2 | delete the files that were downloaded from the
3 | anuga_case_studies_data repository
4 | """
5 |
6 | import shutil
7 |
8 | for dir in ['DEM_bridges', 'Forcing', 'Model', 'Validation']:
9 | shutil.rmtree(dir)
10 |
11 |
12 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/towradgi/data_download.py:
--------------------------------------------------------------------------------
1 | """
2 | Download data from anuga_case_studies_data repository at the given URL
3 | location
4 | """
5 |
6 | import os
7 |
8 | URL = 'https://sourceforge.net/projects/anuga/files/validation_data/towradgi-1.0/data.tgz'
9 |
10 |
11 | CMD = 'wget %s'% URL
12 | print(CMD)
13 |
14 | try:
15 | import wget
16 | wget.download(URL)
17 | except:
18 | print('wget failed. Perhaps you need to install wget for python via "pip install wget"')
19 | import sys
20 | sys.exit()
21 |
22 | CMD = 'tar zxf data.tgz'
23 | print()
24 | print(CMD)
25 |
26 | import tarfile
27 | tar = tarfile.open('data.tgz')
28 | tar.extractall()
29 | tar.close()
30 |
31 |
32 | CMD = 'rm data.tgz'
33 | print(CMD)
34 | os.remove('data.tgz')
35 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/towradgi/project.py:
--------------------------------------------------------------------------------
1 | from os.path import join
2 |
3 |
4 | model_output_dir='MODEL_OUTPUTS'
5 | partition_dir = 'PARTITIONS'
6 | checkpoint_dir = 'CHECKPOINTS'
7 | checkpoint_time = 60 # 30*60 # 30 minutes
8 | checkpoint = True
9 |
10 | finaltime = 400.0
11 | yieldstep = 10.0
12 |
13 | basename = join('DEM_bridges', 'towradgi')
14 | outname = join('Towradgi_historic_flood')
15 | meshname = join('DEM_bridges','towradgi.tsh')
16 |
17 | channel_manning=0.03
18 | maximum_triangle_area = 1000
19 | base_friction = 0.04
20 | alpha = 0.99
21 |
22 | W=303517
23 | N=6195670
24 | E=308570
25 | S=6193140
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/towradgi_simulation/data_download.py:
--------------------------------------------------------------------------------
1 | """
2 | Download data from anuga_case_studies_data repository at the given URL
3 | location
4 | """
5 |
6 | import os
7 |
8 | URL = 'https://sourceforge.net/projects/anuga/files/validation_data/towradgi-1.0/data.tgz'
9 |
10 |
11 | CMD = 'wget %s'% URL
12 | print(CMD)
13 |
14 | try:
15 | import wget
16 | wget.download(URL)
17 | except:
18 | print('wget failed. Perhaps you need to install wget for python via "pip install wget"')
19 | import sys
20 | sys.exit()
21 |
22 | CMD = 'tar zxf data.tgz'
23 | print()
24 | print(CMD)
25 |
26 | import tarfile
27 | tar = tarfile.open('data.tgz')
28 | tar.extractall()
29 | tar.close()
30 |
31 |
32 | CMD = 'rm data.tgz'
33 | print(CMD)
34 | os.remove('data.tgz')
35 |
--------------------------------------------------------------------------------
/validation_tests/case_studies/towradgi_simulation/project.py:
--------------------------------------------------------------------------------
1 | from os.path import join
2 |
3 |
4 | model_output_dir='MODEL_OUTPUTS'
5 | partition_dir = 'PARTITIONS'
6 | checkpoint_dir = 'CHECKPOINTS'
7 | checkpoint_time = 30 # 30*60 # 30 minutes
8 | checkpointing = True
9 | verbose = True
10 |
11 | finaltime = 30.0
12 | yieldstep = 10.0
13 |
14 | basename = join('DEM_bridges', 'towradgi')
15 | outname = join('Towradgi_historic_flood')
16 | meshname = join('DEM_bridges','towradgi.tsh')
17 |
18 | channel_manning=0.03
19 | maximum_triangle_area = 1000
20 | base_friction = 0.04
21 | alpha = 0.99
22 |
23 | W=303517
24 | N=6195670
25 | E=308570
26 | S=6193140
27 |
--------------------------------------------------------------------------------
/validation_tests/experimental_data/dam_break_yeh_petroff/Yeh_Petroff.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/validation_tests/experimental_data/dam_break_yeh_petroff/Yeh_Petroff.png
--------------------------------------------------------------------------------
/validation_tests/experimental_data/dam_break_yeh_petroff/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('numerical_Yeh_Petroff.py', args=args)
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/validation_tests/experimental_data/okushiri/Benchmark_2_Bathymetry.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeoscienceAustralia/anuga_core/c11406f3e38f2236e9907fc4d5a7b8b38c66d0bd/validation_tests/experimental_data/okushiri/Benchmark_2_Bathymetry.zip
--------------------------------------------------------------------------------
/validation_tests/experimental_data/okushiri/output_ch5-7-9.lic:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Ole Nielsen
5 |
6 |
7 |
8 | output_ch5-7-9.txt
9 | 3250363193
10 | Yes
11 | Ole Nielsen
12 | http://www.cee.cornell.edu/longwave
13 | Central Research Institute for Electric Power Industry (CRIEPI) in Abiko, Japan
14 | This dataset was derived from the Excel file output_ch5-7-9.xls available on the longwave web site and stored as TAB separated ascii text.
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/validation_tests/experimental_data/okushiri/produce_results.py:
--------------------------------------------------------------------------------
1 | import anuga
2 | from anuga.validation_utilities import produce_report
3 |
4 | args = anuga.get_args()
5 |
6 | produce_report('run_okushiri.py', args=args)
7 |
8 |
--------------------------------------------------------------------------------
/validation_tests/experimental_data/okushiri/project.py:
--------------------------------------------------------------------------------
1 | """Common filenames for Okushiri Island validation
2 | Formats are given as ANUGA native netCDF where applicable.
3 |
4 | """
5 |
6 | # Given boundary wave
7 | boundary_filename = 'Benchmark_2_input.tms'
8 |
9 | # Observed timeseries
10 | validation_filename = 'output_ch5-7-9.txt'
11 |
12 | # Digital Elevation Model
13 | bathymetry_filename_stem = 'Benchmark_2_Bathymetry'
14 | bathymetry_filename = bathymetry_filename_stem + '.pts'
15 |
16 | # Triangular mesh
17 | mesh_filename = 'Benchmark_2.msh'
18 |
19 | # Model output
20 | output_filename = 'okushiri_auto_validation.sww'
21 |
22 | # Evolve variables
23 | finalTime = 25.0
24 | yieldStep = 0.05
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/validation_tests/other_references/radial_dam_break_dry/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 |
5 | import anuga
6 | from anuga.validation_utilities import produce_report
7 |
8 | args = anuga.get_args()
9 |
10 | produce_report('radial_dam_break.py', args=args)
11 |
12 |
13 |
--------------------------------------------------------------------------------
/validation_tests/other_references/radial_dam_break_wet/produce_results.py:
--------------------------------------------------------------------------------
1 | #--------------------------------
2 | # import modules
3 | #--------------------------------
4 |
5 | import anuga
6 | from anuga.validation_utilities import produce_report
7 |
8 | args = anuga.get_args()
9 |
10 | produce_report('radial_dam_break.py', args=args)
11 |
12 |
13 |
--------------------------------------------------------------------------------
/validation_tests/reports/local-defs.tex:
--------------------------------------------------------------------------------
1 |
2 | \newcommand{\anuga}{\textsc{ANUGA}}
3 |
4 |
5 | \newcommand{\inputresults}[1]{\graphicspath{{../}{#1/}}\input{#1/results}}
6 | %\newcommand{\inputresults}[1]{\graphicspath{{../}}\input{#1/results}}
7 |
--------------------------------------------------------------------------------
/validation_tests/reports/validations_typeset_report.py:
--------------------------------------------------------------------------------
1 | #! /usr/bin/python
2 |
3 | # To change this template, choose Tools | Templates
4 | # and open the template in the editor.
5 |
6 | __author__="steve"
7 | __date__ ="$13/03/2013 4:24:51 PM$"
8 |
9 |
10 |
11 | import os
12 |
13 | os.system('pdflatex -shell-escape -interaction=batchmode validations_report.tex')
14 | os.system('bibtex validations_report')
15 | os.system('pdflatex -shell-escape -interaction=batchmode validations_report.tex')
16 | os.system('pdflatex -shell-escape -interaction=batchmode validations_report.tex')
17 |
18 |
--------------------------------------------------------------------------------