Changeset 20457
- Timestamp:
- 04/07/16 12:49:45 (9 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp
r20453 r20457 1901 1901 ElementMatrix* StressbalanceAnalysis::CreateKMatrixL1L2(Element* element){/*{{{*/ 1902 1902 1903 /* Check if ice in element */ 1904 if(!element->IsIceInElement()) return NULL; 1905 1903 1906 /*compute all stiffness matrices for this element*/ 1904 1907 ElementMatrix* Ke1=CreateKMatrixL1L2Viscous(element); … … 1982 1985 }/*}}}*/ 1983 1986 ElementVector* StressbalanceAnalysis::CreatePVectorL1L2(Element* element){/*{{{*/ 1987 1988 /* Check if ice in element */ 1989 if(!element->IsIceInElement()) return NULL; 1984 1990 1985 1991 /*Intermediaries*/ … … 2969 2975 ElementMatrix* StressbalanceAnalysis::CreateKMatrixFS(Element* element){/*{{{*/ 2970 2976 2977 /* Check if ice in element */ 2978 if(!element->IsIceInElement()) return NULL; 2979 2971 2980 /*Get type of algorithm*/ 2972 2981 int fe_FS; … … 3401 3410 ElementVector* StressbalanceAnalysis::CreatePVectorFS(Element* element){/*{{{*/ 3402 3411 3412 /* Check if ice in element */ 3413 if(!element->IsIceInElement()) return NULL; 3414 3403 3415 ElementVector* pe = NULL; 3404 3416 … … 3686 3698 ElementVector* StressbalanceAnalysis::CreatePVectorFS(Element* element){/*{{{*/ 3687 3699 3700 /* Check if ice in element */ 3701 if(!element->IsIceInElement()) return NULL; 3702 3688 3703 ElementVector* pe = NULL; 3689 3690 3704 int fe_FS; 3691 3705 element->FindParam(&fe_FS,FlowequationFeFSEnum); -
issm/trunk-jpl/src/c/modules/SetActiveNodesLSMx/SetActiveNodesLSMx.cpp
r20456 r20457 66 66 67 67 if(analysis_type==StressbalanceAnalysisEnum){ 68 bool isSIA,isSSA ;68 bool isSIA,isSSA,isL1L2; 69 69 femmodel->parameters->FindParam(&isSIA,FlowequationIsSIAEnum); 70 70 femmodel->parameters->FindParam(&isSSA,FlowequationIsSSAEnum); 71 if(isSIA || isSSA) 71 femmodel->parameters->FindParam(&isL1L2,FlowequationIsL1L2Enum); 72 if(isSIA || isSSA || isL1L2) 72 73 solvein2d=true; 73 74 }
Note:
See TracChangeset
for help on using the changeset viewer.