Changeset 4549
- Timestamp:
- 07/13/10 09:56:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Materials/Matice.cpp
r4546 r4549 185 185 /*FUNCTION Matice::GetViscosity2d {{{1*/ 186 186 void Matice::GetViscosity2d(double* pviscosity, double* epsilon){ 187 188 189 187 /*From a string tensor and a material object, return viscosity, using Glen's flow law. 190 188 2*B 191 189 viscosity= ------------------------------------------------------------------- 192 193 194 195 196 190 2[ exx^2+eyy^2+exx*eyy+exy^2+exz^2+eyz^2 ]^[(n-1)/2n] 191 192 where viscosity is the viscotiy, B the flow law parameter , (u,v) the velocity 193 vector, and n the flow law exponent. 194 197 195 If epsilon is NULL, it means this is the first time SystemMatrices is being run, and we 198 196 return 10^14, initial viscosity. 199 */ 200 201 197 */ 202 198 203 199 /*output: */
Note:
See TracChangeset
for help on using the changeset viewer.