- Timestamp:
- 06/22/12 10:28:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/InterpFromMeshToGridx/InterpFromMeshToGridx.cpp
r12493 r12507 85 85 86 86 /*Loop over the elements*/ 87 if (debug) printf(" interpolation progress: %5.2lf %%",0.0);88 87 for (n=0;n<nels;n++){ 89 88 90 89 /*display current iteration*/ 91 if (debug && fmod((double)n,(double)100)==0) printf("\b\b\b\b\b\b\b%5.2lf %%",(double)n/nels*100); 90 if (debug && fmod((double)n,(double)100)==0) 91 _printString_("\r interpolation progress: "<<setw(6)<<setprecision(2)<<double(n)/double(nels)*100<<"%"); 92 92 93 93 /*Get extrema coordinates of current elements*/ … … 168 168 } 169 169 } 170 if (debug) printf("\b\b\b\b\b\b\b%5.2lf %%\n",100.0); 170 if (debug) 171 _printLine_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%"); 171 172 172 173 /*Assign output pointers:*/
Note:
See TracChangeset
for help on using the changeset viewer.