Changeset 18781
- Timestamp:
- 11/13/14 14:55:38 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Loads/Friction.cpp
r18778 r18781 218 218 219 219 //compute alpha and Chi coefficients: */ 220 alpha=(pow(q_exp-1,q_exp-1))/pow(q_exp,q_exp); 220 if (q_exp==1){ 221 alpha=1; 222 } 223 else{ 224 alpha=(pow(q_exp-1,q_exp-1))/pow(q_exp,q_exp); 225 } 226 221 227 Chi=vmag/(pow(C_param,n)*pow(Neff,n)*As); 222 228
Note:
See TracChangeset
for help on using the changeset viewer.