source:
issm/oecreview/Archive/14312-15392/ISSM-14684-14685.diff@
15393
Last change on this file since 15393 was 15393, checked in by , 12 years ago | |
---|---|
File size: 2.0 KB |
-
../trunk-jpl/src/c/toolkits/issm/IssmVec.h
20 20 #include "../../include/macros.h" 21 21 #include "./IssmToolkitUtils.h" 22 22 #include <math.h> 23 24 23 /*}}}*/ 25 24 26 25 /*We need to template this class, in case we want to create Vectors that hold … … 30 29 IssmPDouble types) 31 30 */ 32 31 int IssmVecTypeFromToolkitOptions(void); 32 template <class doubletype> class IssmSeqVec; 33 template <class doubletype> class IssmMpiVec; 33 34 34 35 template <class doubletype> 35 36 class IssmVec{ -
../trunk-jpl/src/c/toolkits/issm/issmtoolkit.h
23 23 #include "./IssmMpiVec.h" 24 24 #endif 25 25 26 27 26 #endif -
../trunk-jpl/src/c/classes/objects/Bucket.h
55 55 void DeepEcho(){ /*{{{*/ 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 } 73 71 /*}}}*/
Note:
See TracBrowser
for help on using the repository browser.