Changeset 14900
- Timestamp:
- 05/04/13 23:04:19 (12 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/objects
- Files:
-
- 3 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: */ -
issm/trunk-jpl/src/c/classes/objects/Materials/Matpar.cpp
r14838 r14900 81 81 iomodel->Constant(&this->lithosphere_density,MaterialsLithosphereDensityEnum); 82 82 iomodel->Constant(&this->mantle_shear_modulus,MaterialsMantleShearModulusEnum); 83 iomodel->Constant(&this->mantle_viscosity,MaterialsMantleViscosityEnum);84 83 iomodel->Constant(&this->mantle_density,MaterialsMantleDensityEnum); 85 84 … … 458 457 } 459 458 /*}}}*/ 460 /*FUNCTION Matpar::GetMantleViscosity {{{*/461 IssmDouble Matpar::GetMantleViscosity(){462 return mantle_viscosity;463 }464 /*}}}*/465 459 /*FUNCTION Matpar::UnitConversion {{{*/ 466 460 void Matpar::UnitConversion(void){ -
issm/trunk-jpl/src/c/classes/objects/Materials/Matpar.h
r14822 r14900 55 55 IssmDouble lithosphere_density; 56 56 IssmDouble mantle_shear_modulus; 57 IssmDouble mantle_viscosity;58 57 IssmDouble mantle_density; 59 58 … … 131 130 IssmDouble GetLithosphereDensity(); 132 131 IssmDouble GetMantleShearModulus(); 133 IssmDouble GetMantleViscosity();134 132 IssmDouble GetMantleDensity(); 135 133 void EnthalpyToThermal(IssmDouble* ptemperature,IssmDouble* pwaterfraction,IssmDouble enthalpy,IssmDouble pressure);
Note:
See TracChangeset
for help on using the changeset viewer.