Changeset 14900 for issm/trunk-jpl/src/c/classes/objects/Elements/Tria.cpp
- Timestamp:
- 05/04/13 23:04:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/objects/Elements/Tria.cpp
r14822 r14900 3097 3097 IssmDouble lithosphere_density; 3098 3098 IssmDouble mantle_shear_modulus; 3099 IssmDouble mantle_density; 3100 Input* mantle_viscosity_input=NULL; 3099 3101 IssmDouble mantle_viscosity; 3100 IssmDouble mantle_density;3101 3102 Input* lithosphere_thickness_input=NULL; 3102 3103 IssmDouble lithosphere_thickness; … … 3130 3131 lithosphere_density=matpar->GetLithosphereDensity(); 3131 3132 mantle_shear_modulus=matpar->GetMantleShearModulus(); 3132 mantle_viscosity=matpar->GetMantleViscosity();3133 3133 mantle_density=matpar->GetMantleDensity(); 3134 3134 rho_ice=matpar->GetRhoIce(); … … 3138 3138 if (!thickness_input)_error_("thickness input needed to compute gia deflection!"); 3139 3139 thickness_input->GetInputUpToCurrentTimeAverages(&hes,×,&numtimes,currenttime); 3140 3141 /*recover mantle viscosity: */ 3142 mantle_viscosity_input=inputs->GetInput(GiaMantleViscosityEnum); 3143 if (!mantle_viscosity_input)_error_("mantle viscosity input needed to compute gia deflection!"); 3144 mantle_viscosity_input->GetInputAverage(&mantle_viscosity); 3140 3145 3141 3146 /*recover lithosphere thickness: */
Note:
See TracChangeset
for help on using the changeset viewer.