1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | |
---|
4 | from utilities.utility import get_sourceModule, get_page_locked_array, \ |
---|
5 | get_kernel_function_info, get_device_array, asy_cpy, cpy_back, \ |
---|
6 | number_domain_method, cpy_back_and_cmp |
---|
7 | |
---|
8 | from utilities.check_result import approx_equal, check_result, check_all, \ |
---|
9 | test_distribute_to_vertexs_and_edges, test_evolve_one_euler_step,\ |
---|
10 | test_update_ghosts, test_update_extrema, test_update_timestep, \ |
---|
11 | test_update_conserved_quantities, test_manning_friction_implicit, \ |
---|
12 | test_update_boundary, test_update_other_quantities, \ |
---|
13 | test_update_centroids_of_velocities_and_height, \ |
---|
14 | test_compute_fluxes, test_compute_forcing_terms, \ |
---|
15 | test_protect_against_infinitesimal_and_negative_heights,\ |
---|
16 | test_extrapolate_second_order_sw, test_balance_deep_and_shallow,\ |
---|
17 | test_interpolate_from_vertices_to_edges, \ |
---|
18 | test_extrapolate_second_order_and_limit_by_vertex |
---|
19 | |
---|
20 | |
---|
21 | from utilities.sort_domain import swap_domain, sort_domain, \ |
---|
22 | sort_domain_check, rearrange_domain, check_rearranged_array, \ |
---|
23 | rearrange_domain_check |
---|