Changeset 26866
- Timestamp:
- 02/09/22 05:54:46 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Materials/Matice.cpp
r26478 r26866 394 394 } 395 395 else{ 396 397 /*if no strain rate, return maximum viscosity*/ 398 if(eps_eff==0.){ 399 viscosity = 1.e+14/2.; 400 //viscosity=2.5*pow(10.,17); 401 } 402 396 /*if strain rate is 0., it is probably our initial guess, use an average 397 * viscosity instead of a large one*/ 398 if(eps_eff==0.) viscosity = 1.e+14/2.; 403 399 else{ 400 /*if no strain rate, return maximum viscosity*/ 401 //if(eps_eff<1.e-6) eps_eff = 1e-6; 404 402 viscosity=(1.-D)*B/(2.*pow(E,1./n)*pow(eps_eff,(n-1.)/n)); 405 403 }
Note:
See TracChangeset
for help on using the changeset viewer.