Changeset 8375 for issm/trunk/src/c/objects/Inputs/TriaVertexForcing.cpp
- Timestamp:
- 05/20/11 11:07:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Inputs/TriaVertexForcing.cpp
r8371 r8375 237 237 } 238 238 /*}}}*/ 239 240 239 241 240 /*Object functions*/ … … 465 464 else if(intime>this->timesteps[this->numtimesteps-1]){ 466 465 /*get values for the last time: */ 467 468 outvalues[0]=this->values[3*this->numtimesteps-1+0]; 469 outvalues[1]=this->values[3*this->numtimesteps-1+1]; 470 outvalues[2]=this->values[3*this->numtimesteps-1+2]; 466 outvalues[0]=this->values[3*(this->numtimesteps-1)+0]; 467 outvalues[1]=this->values[3*(this->numtimesteps-1)+1]; 468 outvalues[2]=this->values[3*(this->numtimesteps-1)+2]; 471 469 found=true; 472 470 }
Note:
See TracChangeset
for help on using the changeset viewer.