Changeset 27304
- Timestamp:
- 10/10/22 07:54:47 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/DebrisAnalysis.cpp
r27302 r27304 170 170 }else{ 171 171 for(int i=0;i<numvertices;i++){ 172 //if(onsurface[i] ){172 //if(onsurface[i]>.5){ 173 173 slope=fabs(slopex[i]); 174 174 if((atan(slope)*rad2deg)>25.){ … … 736 736 int kk=0; 737 737 for(k=0; k<numnodes;k++){ 738 if(onsurface[k] ){738 if(onsurface[k]>0.5){ 739 739 slope=fabs(slopex[k]); 740 740 if(dim==2) slope=pow(pow(slopex[k],2)+pow(slopey[k],2),0.5); … … 837 837 test=0; 838 838 for(k=0; k<numnodes;k++){ 839 if(onsurface[k] ){839 if(onsurface[k]>.5){ 840 840 slope=pow(slopex[k]*slopex[k],0.5); 841 841 if(dim==2) slope=pow(pow(slopex[k],2)+pow(slopey[k],2),0.5); … … 859 859 IssmDouble min=1e14; 860 860 for(k=0; k<numnodes;k++){ 861 if(onsurface[k] ){861 if(onsurface[k]>.5){ 862 862 if(surface[k]<min){ 863 863 index=k; … … 867 867 } 868 868 for(k=0; k<numnodes;k++){ 869 if(onsurface[k] ){869 if(onsurface[k]>.5){ 870 870 if(k==index){ 871 871 debristhickness[k]=debristhickness[k]+debrissum;
Note:
See TracChangeset
for help on using the changeset viewer.