Rev | Line | |
---|
[17802] | 1 | Index: ../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.