Changeset 14685 for issm/trunk-jpl/src/c/classes/objects/Bucket.h
- Timestamp:
- 04/21/13 11:05:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/objects/Bucket.h
r14678 r14685 56 56 int i,j; 57 57 58 printf("Bucket echo (cpu #: %i): \n",IssmComm::GetRank());59 printf("# rows: %i, #cols: %i\n",this->m,this->n);58 _printLine_("Bucket echo (cpu #: "<<IssmComm::GetRank()<<")"); 59 _printLine_("num rows: "<<this->m<<" num cols: "<<this->n); 60 60 for (i=0;i<this->m;i++){ 61 printf("row %i, column indices: ",this->idxm[i]);61 _printLine_("row "<<this->idxm[i]<<", column indices: "); 62 62 for (j=0;j<this->n;j++){ 63 printf(" %i",this->idxn[j]);63 _printLine_(" "<<this->idxn[j]); 64 64 } 65 printf("\n"); 66 printf("values: "); 65 _printLine_("values: "); 67 66 for (j=0;j<this->n;j++){ 68 printf(" %i",this->values[m*i+j]);67 _printLine_(" "<<this->values[m*i+j]); 69 68 } 70 printf("\n");71 69 } 72 70 }
Note:
See TracChangeset
for help on using the changeset viewer.