Changeset 17029
- Timestamp:
- 12/19/13 05:44:46 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r17027 r17029 184 184 185 185 /*Finite Element Analysis*/ 186 void 186 void EnthalpyAnalysis::Core(FemModel* femmodel){/*{{{*/ 187 187 _error_("not implemented"); 188 188 }/*}}}*/ … … 821 821 822 822 /*Modules*/ 823 void EnthalpyAnalysis::PostProcessing(FemModel* femmodel){/*{{{*/ 823 /*{{{*/ 824 void EnthalpyAnalysis::PostProcessing(FemModel* femmodel){ 825 /*Intermediaries*/ 826 int solution_type; 824 827 825 828 /*Compute basal melting rates: */ … … 829 832 } 830 833 831 /*Update basal dirichlet BCs for enthalpy: */ 832 for(int i=0;i<femmodel->elements->Size();i++){ 833 Element* element=dynamic_cast<Element*>(femmodel->elements->GetObjectByOffset(i)); 834 UpdateBasalConstraints(element); 834 /*Update basal dirichlet BCs for enthalpy in transient runs: */ 835 femmodel->parameters->FindParam(&solution_type,SolutionTypeEnum); 836 if(solution_type==TransientSolutionEnum){ 837 for(int i=0;i<femmodel->elements->Size();i++){ 838 Element* element=dynamic_cast<Element*>(femmodel->elements->GetObjectByOffset(i)); 839 UpdateBasalConstraints(element); 840 } 835 841 } 836 842 }/*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.