Changeset 21779
- Timestamp:
- 07/04/17 14:03:22 (8 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r21778 r21779 1074 1074 xDelete<IssmDouble>(watercolumn); 1075 1075 xDelete<IssmDouble>(drainage_int); 1076 }1077 xDelete<int>(basalnodeindices);1076 xDelete<int>(basalnodeindices); 1077 } 1078 1078 }/*}}}*/ 1079 1079 void EnthalpyAnalysis::DrainageUpdateEnthalpy(FemModel* femmodel){/*{{{*/ -
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r21762 r21779 3179 3179 /*Intermediaries*/ 3180 3180 IssmDouble phi; 3181 IssmDouble viscosity;3182 IssmDouble epsilon[6];3183 3181 IssmDouble thickness; 3184 3182 IssmDouble *xyz_list = NULL; … … 3189 3187 3190 3188 /*Retrieve all inputs and parameters*/ 3191 this->GetVerticesCoordinates Base(&xyz_list);3189 this->GetVerticesCoordinates(&xyz_list); 3192 3190 Input* vx_input = this->GetInput(VxEnum); _assert_(vx_input); 3193 3191 Input* vy_input = this->GetInput(VyEnum); _assert_(vy_input); 3194 3192 Input* vz_input = this->GetInput(VzEnum); _assert_(vz_input); 3195 Input* thickness_input = this->GetInput(ThicknessEnum); _assert_(thickness_input);3196 3193 3197 3194 /*loop over vertices: */ … … 3200 3197 gauss->GaussVertex(iv); 3201 3198 3202 thickness_input->GetInputValue(&thickness,gauss); 3203 3204 this->StrainRateFS(&epsilon[0],xyz_list,gauss,vx_input,vy_input,vz_input); 3205 this->material->ViscosityFS(&viscosity,3,xyz_list,gauss,vx_input,vy_input,vz_input); 3206 this->GetPhi(&phi,&epsilon[0],viscosity); 3207 3208 viscousheating[iv]=phi*thickness; 3199 this->ViscousHeating(&phi,xyz_list,gauss,vx_input,vy_input,vz_input); 3200 3201 viscousheating[iv]=phi; 3209 3202 } 3210 3203
Note:
See TracChangeset
for help on using the changeset viewer.