Changeset 17750
- Timestamp:
- 04/16/14 10:31:31 (11 years ago)
- Location:
- issm/trunk-jpl/src/c/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Tetra.cpp
r17729 r17750 107 107 108 108 IssmDouble values[NUMVERTICES]; 109 //int indices[4][3] = {{0,1,2},{0,1,3},{1,2,3},{2,0,3}}; 110 int indices[4][3] = {{0,1,2},{3,1,0},{3,2,1},{3,0,2}}; 109 int indices[4][3] = {{0,1,2},{0,3,1},{1,3,2},{0,2,3}}; 111 110 112 111 /*Retrieve all inputs and parameters*/ -
issm/trunk-jpl/src/c/classes/gauss/GaussTetra.cpp
r17490 r17750 53 53 for(int i=0;i<numgauss;i++) coords4[i]=0.; 54 54 } 55 else if(index1==0 && index2== 1 && index3==3){55 else if(index1==0 && index2==3 && index3==1){ 56 56 GaussLegendreTria(&numgauss,&coords1,&coords2,&coords4,&weights,order); 57 57 coords3=xNew<IssmDouble>(numgauss); 58 58 for(int i=0;i<numgauss;i++) coords3[i]=0.; 59 59 } 60 else if(index1==1 && index2== 2 && index3==3){60 else if(index1==1 && index2==3 && index3==2){ 61 61 GaussLegendreTria(&numgauss,&coords2,&coords3,&coords4,&weights,order); 62 62 coords1=xNew<IssmDouble>(numgauss); 63 63 for(int i=0;i<numgauss;i++) coords1[i]=0.; 64 64 } 65 else if(index1== 2 && index2==0&& index3==3){65 else if(index1==0 && index2==2 && index3==3){ 66 66 GaussLegendreTria(&numgauss,&coords1,&coords3,&coords4,&weights,order); 67 67 coords2=xNew<IssmDouble>(numgauss);
Note:
See TracChangeset
for help on using the changeset viewer.