Changeset 12505
- Timestamp:
- 06/22/12 08:28:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/objects/Numerics/ElementVector.cpp
r12493 r12505 220 220 221 221 int i,j; 222 printf("Element Vector echo: \n"); 223 printf(" nrows: %i\n",nrows); 224 225 printf(" values: \n"); 222 _printLine_("Element Vector echo:"); 223 _printLine_(" nrows: " << nrows); 224 225 _printLine_(" test:"); 226 for(i=0;i<nrows;i++) _printString_(" " << i); 227 _printLine_("HERE"); 228 229 _printLine_(" values:"); 226 230 for(i=0;i<nrows;i++){ 227 printf(" %i: %10g\n",i,values[i]); 228 } 229 230 printf(" gglobaldoflist (%p): ",gglobaldoflist); 231 if(gglobaldoflist) for(i=0;i<nrows;i++)printf("%i ",gglobaldoflist[i]); printf("\n"); 232 233 printf(" fsize: %i\n",fsize); 231 _printLine_(setw(4) << right << i << ": " << setw(10) << values[i]); 232 } 233 234 _printString_(" gglobaldoflist (" << gglobaldoflist << "): "); 235 if(gglobaldoflist) for(i=0;i<nrows;i++) _printString_(" " << gglobaldoflist[i] ); 236 _printLine_(" "); 237 238 _printLine_(" fsize: " << fsize); 234 239 printf(" flocaldoflist (%p): ",flocaldoflist); 235 240 if(flocaldoflist) for(i=0;i<fsize;i++)printf("%i ",flocaldoflist[i]); printf("\n");
Note:
See TracChangeset
for help on using the changeset viewer.