Changeset 14685


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

Location:
issm/trunk-jpl/src/c
Files:
3 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                }
  • issm/trunk-jpl/src/c/toolkits/issm/IssmVec.h

    r14684 r14685  
    2121#include "./IssmToolkitUtils.h"
    2222#include <math.h>
    23 
    2423/*}}}*/
    2524
     
    3130*/
    3231int IssmVecTypeFromToolkitOptions(void);
     32template <class doubletype> class IssmSeqVec;
     33template <class doubletype> class IssmMpiVec;
    3334
    3435template <class doubletype>
  • issm/trunk-jpl/src/c/toolkits/issm/issmtoolkit.h

    r14684 r14685  
    2424#endif
    2525
    26 
    2726#endif
Note: See TracChangeset for help on using the changeset viewer.