Ignore:
Timestamp:
04/21/13 11:05:44 (12 years ago)
Author:
Mathieu Morlighem
Message:

BUG: IssmMpiVec needs forward declaration, + removed all printf in Bucket

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/objects/Bucket.h

    r14678 r14685  
    5656                        int i,j;
    5757
    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);
    6060                        for (i=0;i<this->m;i++){
    61                                 printf("row %i, column indices: ",this->idxm[i]);
     61                                _printLine_("row "<<this->idxm[i]<<", column indices: ");
    6262                                for (j=0;j<this->n;j++){
    63                                         printf(" %i",this->idxn[j]);
     63                                        _printLine_(" "<<this->idxn[j]);
    6464                                }
    65                                 printf("\n");
    66                                 printf("values: ");
     65                                _printLine_("values: ");
    6766                                for (j=0;j<this->n;j++){
    68                                         printf(" %i",this->values[m*i+j]);
     67                                        _printLine_(" "<<this->values[m*i+j]);
    6968                                }
    70                                 printf("\n");
    7169                        }
    7270                }
Note: See TracChangeset for help on using the changeset viewer.