Changeset 4934
- Timestamp:
- Jan 14, 2008, 6:27:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/util.py
r4918 r4934 948 948 """ Calculate velocity bearing from North 949 949 """ 950 # from math import atan, degrees 950 #FIXME (Ole): I reckon we should refactor this one to use 951 # the function angle() in utilities/numerical_tools 952 # 953 # It will be a simple matter of 954 # * converting from radians to degrees 955 # * moving the reference direction from [1,0] to North 956 # * changing from counter clockwise to clocwise. 957 951 958 952 959 angle = degrees(atan(vh/(uh+1.e-15)))
Note: See TracChangeset
for help on using the changeset viewer.