source: issm/oecreview/Archive/16554-17801/ISSM-16734-16735.diff@ 17802

Last change on this file since 17802 was 17802, checked in by Mathieu Morlighem, 11 years ago

Added archives

File size: 876 bytes
RevLine 
[17802]1Index: ../trunk-jpl/src/c/analyses/StressbalanceSIAAnalysis.cpp
2===================================================================
3--- ../trunk-jpl/src/c/analyses/StressbalanceSIAAnalysis.cpp (revision 16734)
4+++ ../trunk-jpl/src/c/analyses/StressbalanceSIAAnalysis.cpp (revision 16735)
5@@ -210,8 +210,9 @@
6
7 /*For pressure: we have not computed pressure in this analysis, for this element. We are in 2D,
8 *so the pressure is just the pressure at the bedrock: */
9- rho_ice = element->GetMaterialParameter(MaterialsRhoIceEnum);
10- g = element->GetMaterialParameter(ConstantsGEnum);
11+ rho_ice = element->GetMaterialParameter(MaterialsRhoIceEnum);
12+ g = element->GetMaterialParameter(ConstantsGEnum);
13+ element->FindParam(&meshtype,MeshTypeEnum);
14 switch(meshtype){
15 case Mesh2DhorizontalEnum:
16 element->GetInputListOnNodes(&thickness[0],ThicknessEnum);
Note: See TracBrowser for help on using the repository browser.