Changeset 19161
- Timestamp:
- 02/26/15 09:36:07 (10 years ago)
- Location:
- issm/trunk-jpl/src/c/analyses
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/AdjointHorizAnalysis.cpp
r19002 r19161 2077 2077 /*Intermediaries*/ 2078 2078 int domaintype,dim; 2079 2079 2080 Element* basalelement; 2080 2081 … … 2141 2142 Input* cinput = basalelement->GetInput(FrictionCEnum); 2142 2143 Input* Asinput = basalelement->GetInput(FrictionAsEnum); 2143 Input* Ninput = basalelement->GetInput(FrictionEffectivePressureEnum);2144 2144 Input* nInput =basalelement->GetInput(MaterialsRheologyNEnum); 2145 2145 Input* Ninput = basalelement->GetInput(FrictionEffectivePressureEnum); 2146 2146 /* Start looping on the number of gaussian points: */ 2147 2147 Gauss* gauss=basalelement->NewGauss(4); -
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r18930 r19161 109 109 bool dakota_analysis,islevelset,isenthalpy; 110 110 int frictionlaw; 111 111 int FrictionCoupling; 112 112 113 /*Now, is the model 3d? otherwise, do nothing: */ 113 114 if(iomodel->domaintype==Domain2DhorizontalEnum)return; … … 175 176 break; 176 177 case 3: 178 iomodel->Constant(&FrictionCoupling,FrictionCouplingEnum); 177 179 iomodel->FetchDataToInput(elements,FrictionCEnum); 178 180 iomodel->FetchDataToInput(elements,FrictionAsEnum); 179 181 iomodel->FetchDataToInput(elements,FrictionQEnum); 180 iomodel->FetchDataToInput(elements,FrictionEffectivePressureEnum); 182 if (FrictionCoupling==0){ 183 iomodel->FetchDataToInput(elements,FrictionEffectivePressureEnum); 184 } 181 185 break; 182 186 case 4: -
issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp
r19033 r19161 673 673 int materials_type,finiteelement,fe_FS; 674 674 int approximation,frictionlaw; 675 int FrictionCoupling; 675 676 int* finiteelement_list=NULL; 676 677 bool isSSA,isL1L2,isHO,isFS,iscoupling; … … 800 801 break; 801 802 case 3: 803 iomodel->Constant(&FrictionCoupling,FrictionCouplingEnum); 802 804 iomodel->FetchDataToInput(elements,FrictionCEnum); 803 805 iomodel->FetchDataToInput(elements,FrictionAsEnum); 804 806 iomodel->FetchDataToInput(elements,FrictionQEnum); 805 iomodel->FetchDataToInput(elements,FrictionEffectivePressureEnum); 807 if (FrictionCoupling==0){ 808 iomodel->FetchDataToInput(elements,FrictionEffectivePressureEnum); 809 } 806 810 break; 807 811 case 4: -
issm/trunk-jpl/src/c/analyses/ThermalAnalysis.cpp
r19143 r19161 62 62 63 63 int finiteelement = P1Enum; 64 64 65 if(iomodel->domaintype==Domain3DEnum) iomodel->FetchData(2,MeshVertexonbaseEnum,MeshVertexonsurfaceEnum); 65 66 ::CreateNodes(nodes,iomodel,ThermalAnalysisEnum,finiteelement); … … 72 73 73 74 int frictionlaw; 74 75 int FrictionCoupling; 75 76 /*Now, is the model 3d? otherwise, do nothing: */ 76 77 if(iomodel->domaintype==Domain2DhorizontalEnum)return; … … 130 131 break; 131 132 case 3: 133 iomodel->Constant(&FrictionCoupling,FrictionCouplingEnum); 132 134 iomodel->FetchDataToInput(elements,FrictionCEnum); 133 135 iomodel->FetchDataToInput(elements,FrictionAsEnum); 134 136 iomodel->FetchDataToInput(elements,FrictionQEnum); 135 iomodel->FetchDataToInput(elements,FrictionEffectivePressureEnum); 137 if (FrictionCoupling==0){ 138 iomodel->FetchDataToInput(elements,FrictionEffectivePressureEnum); 139 } 136 140 break; 137 141 case 4:
Note:
See TracChangeset
for help on using the changeset viewer.