Changeset 9380
- Timestamp:
- Dec 12, 2014, 12:55:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/shallow_water/shallow_water_domain.py
r9306 r9380 1893 1893 if self.flow_algorithm == 'tsunami': 1894 1894 1895 from swb2_domain_ext import protect 1895 from swb2_domain_ext import protect as protect_swb2 1896 1896 1897 1897 # shortcuts … … 1904 1904 areas = self.areas 1905 1905 1906 mass_error = protect (self.minimum_allowed_height, self.maximum_allowed_speed,1906 mass_error = protect_swb2(self.minimum_allowed_height, self.maximum_allowed_speed, 1907 1907 self.epsilon, wc, wv, zc,zv, xmomc, ymomc, areas) 1908 1908 … … 1912 1912 elif self.flow_algorithm.startswith('DE'): 1913 1913 1914 from swDE1_domain_ext import protect 1914 from swDE1_domain_ext import protect as protect_de 1915 1915 1916 1916 # shortcuts … … 1925 1925 yc = self.centroid_coordinates[:,1] 1926 1926 1927 mass_error = protect (self.minimum_allowed_height, self.maximum_allowed_speed,1927 mass_error = protect_de(self.minimum_allowed_height, self.maximum_allowed_speed, 1928 1928 self.epsilon, wc, wv, zc,zv, xmomc, ymomc, areas, xc, yc) 1929 1929
Note: See TracChangeset
for help on using the changeset viewer.