Changeset 21548
- Timestamp:
- 02/10/17 11:32:39 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r21547 r21548 40 40 } 41 41 } 42 IoModelToConstraintsx(constraints,iomodel,spcvector,M,N,EnthalpyAnalysisEnum,finiteelement,0); 42 43 /*Specific case for PDD, we want the constaints to be updated by the PDD scheme itself*/ 44 bool isdynamic = false; 45 if (iomodel->solution_enum==TransientSolutionEnum){ 46 int smb_model; 47 iomodel->FindConstant(&smb_model,"md.smb.model"); 48 if(smb_model==SMBpddEnum) isdynamic=true; 49 if(smb_model==SMBd18opddEnum) isdynamic=true; 50 } 51 52 if(isdynamic){ 53 IoModelToDynamicConstraintsx(constraints,iomodel,"md.thermal.spctemperature",ThermalAnalysisEnum,finiteelement); 54 } 55 else{ 56 IoModelToConstraintsx(constraints,iomodel,spcvector,M,N,EnthalpyAnalysisEnum,finiteelement); 57 } 43 58 44 59 /*Free ressources:*/
Note:
See TracChangeset
for help on using the changeset viewer.