Changeset 15974
- Timestamp:
- 08/27/13 13:46:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r15973 r15974 4664 4664 /*Retrieve all inputs and parameters*/ 4665 4665 GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES); 4666 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j< 2;j++) xyz_list_tria[i][j]=xyz_list[i][j];4666 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j<3;j++) xyz_list_tria[i][j]=xyz_list[i][j]; 4667 4667 parameters->FindParam(&analysis_type,AnalysisTypeEnum); 4668 4668 rho_ice=matpar->GetRhoIce(); … … 4916 4916 /*Retrieve all inputs and parameters*/ 4917 4917 GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES); 4918 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j< 2;j++) xyz_list_tria[i][j]=xyz_list[i][j];4918 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j<3;j++) xyz_list_tria[i][j]=xyz_list[i][j]; 4919 4919 parameters->FindParam(&analysis_type,AnalysisTypeEnum); 4920 4920 rho_ice=matpar->GetRhoIce(); … … 6211 6211 GradientIndexing(&vertexpidlist[0],control_index); 6212 6212 GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES); 6213 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j< 2;j++) xyz_list_tria[i][j]=xyz_list[i][j];6213 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j<3;j++) xyz_list_tria[i][j]=xyz_list[i][j]; 6214 6214 Input* adjointx_input=inputs->GetInput(AdjointxEnum); _assert_(adjointx_input); 6215 6215 Input* adjointy_input=inputs->GetInput(AdjointyEnum); _assert_(adjointy_input); … … 6283 6283 parameters->FindParam(&analysis_type,AnalysisTypeEnum); 6284 6284 GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES); 6285 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j< 2;j++) xyz_list_tria[i][j]=xyz_list[i][j];6285 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j<3;j++) xyz_list_tria[i][j]=xyz_list[i][j]; 6286 6286 GradientIndexing(&vertexpidlist[0],control_index); 6287 6287 Input* drag_input =inputs->GetInput(FrictionCoefficientEnum); _assert_(drag_input); … … 7193 7193 /*retrieve inputs :*/ 7194 7194 GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES); 7195 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j< 2;j++) xyz_list_tria[i][j]=xyz_list[i][j];7195 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j<3;j++) xyz_list_tria[i][j]=xyz_list[i][j]; 7196 7196 parameters->FindParam(&analysis_type,AnalysisTypeEnum); 7197 7197 Input* vx_input=inputs->GetInput(VxEnum); _assert_(vx_input); … … 8048 8048 /*Retrieve all inputs and parameters*/ 8049 8049 GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES); 8050 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j< 2;j++) xyz_list_tria[i][j]=xyz_list[i][j];8050 for(i=0;i<NUMVERTICES2D;i++) for(j=0;j<3;j++) xyz_list_tria[i][j]=xyz_list[i][j]; 8051 8051 parameters->FindParam(&migration_style,GroundinglineMigrationEnum); 8052 8052 parameters->FindParam(&analysis_type,AnalysisTypeEnum);
Note:
See TracChangeset
for help on using the changeset viewer.