Changeset 8375
- Timestamp:
- 05/20/11 11:07:04 (14 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Tria.cpp
r8365 r8375 2448 2448 Input* accumulation_input=inputs->GetInput(AccumulationRateEnum); _assert_(accumulation_input); 2449 2449 Input* melting_input=inputs->GetInput(MeltingRateEnum); _assert_(melting_input); 2450 Input* melting_correction_input=inputs->GetInput(MeltingRateCorrectionEnum); 2450 Input* melting_correction_input=inputs->GetInput(MeltingRateCorrectionEnum); 2451 2451 Input* thickness_input=inputs->GetInput(ThicknessEnum); _assert_(thickness_input); 2452 2452 -
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.