Changeset 14878


Ignore:
Timestamp:
05/03/13 17:14:45 (12 years ago)
Author:
Eric.Larour
Message:

CHG: replaced all printf with _printLine_ statements.

Location:
issm/trunk-jpl/src/c/toolkits/issm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/toolkits/issm/IssmMpiDenseMat.h

    r14876 r14878  
    148148                        for(i=0;i<IssmComm::GetSize();i++){
    149149                                if (my_rank==i){
    150                                         printf("cpu %i #rows: %i\n",i,this->m);
     150                                        _printLine_("cpu " << i << " #rows: " << this->m);
    151151                                        for (j=0;j<this->m;j++){
    152                                                 printf("row %i ",j);
     152                                                _printLine_("row " << j);
    153153                                                for (k=0;k<this->N;k++){
    154                                                         printf("%g ",this->matrix[j*this->N+k]);
     154                                                        _printLine_(this->matrix[j*this->N+k] << " ");
    155155                                                }
    156                                                 printf("\n");
     156                                                _printLine_("");
    157157                                        }
    158158                                }
  • issm/trunk-jpl/src/c/toolkits/issm/IssmMpiVec.h

    r14875 r14878  
    134134                        for(i=0;i<IssmComm::GetSize();i++){
    135135                                if (IssmComm::GetRank()==i){
    136                                         printf("cpu %i #rows: %i\n",i,this->m);
     136                                        _printLine_("cpu " << i << " #rows: " << this->m);
    137137                                        for (j=0;j<this->m;j++){
    138                                                 printf("row %i %g\n",j,this->vector[j]);
     138                                                _printLine_("row " << j << " " << this->vector[j]);
    139139                                        }
    140                                         printf("\n");
     140                                        _printLine_("");
    141141                                }
    142142                                MPI_Barrier(IssmComm::GetComm());
Note: See TracChangeset for help on using the changeset viewer.