Changeset 9318
- Timestamp:
- Sep 2, 2014, 5:16:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/shallow_water/swDE1_domain_ext.c
r9306 r9318 30 30 const double pi = 3.14159265358979; 31 31 32 // Trick to compute n modulo 2when d is a power of 232 // Trick to compute n modulo d (n%d in python) when d is a power of 2 33 33 unsigned int Mod_of_power_2(unsigned int n, unsigned int d) 34 34 {
Note: See TracChangeset
for help on using the changeset viewer.