Changeset 16658
- Timestamp:
- 11/07/13 09:54:03 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/matrix/ElementMatrix.cpp
r16657 r16658 268 268 for(i=0;i<this->row_fsize;i++){ 269 269 for(j=0;j<this->row_fsize;j++){ 270 *(localvalues+this->row_fsize*i+j)=*(this->values+this->ncols*this->row_flocaldoflist[i]+this->row_flocaldoflist[j]); 271 //if(this->row_fglobaldoflist[i]==0 && this->row_fglobaldoflist[j]==304) printf("rank = %i\n",IssmComm::GetRank()); 272 if(this->row_fglobaldoflist[i]==0 && *(this->values+this->ncols*this->row_flocaldoflist[i]+this->row_flocaldoflist[j])!=0.){ 273 //printf("[%i] dof = %i\n",IssmComm::GetRank(),this->row_fglobaldoflist[j]); 274 } 270 localvalues[this->row_fsize*i+j]=this->values[this->ncols*this->row_flocaldoflist[i]+this->row_flocaldoflist[j]]; 275 271 } 276 272 } … … 288 284 for(i=0;i<this->row_fsize;i++){ 289 285 for(j=0;j<this->row_ssize;j++){ 290 *(localvalues+this->row_ssize*i+j)=*(this->values+this->ncols*this->row_flocaldoflist[i]+this->row_slocaldoflist[j]);286 localvalues[this->row_ssize*i+j]=this->values[this->ncols*this->row_flocaldoflist[i]+this->row_slocaldoflist[j]]; 291 287 } 292 288 }
Note:
See TracChangeset
for help on using the changeset viewer.