Changeset 8729
- Timestamp:
- 06/28/11 00:41:47 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Tria.cpp
r8708 r8729 4748 4748 if(!this->IsOnShelf() && elementonshelf==true)swap=1; 4749 4749 this->inputs->AddInput(new BoolInput(ElementOnIceShelfEnum,elementonshelf)); 4750 4750 4751 4751 /*If this element just became ungrounded, set its basal melting rate at 50 m/yr:*/ 4752 4752 if(swap){ … … 4816 4816 } 4817 4817 4818 /*Surface and bed are updated. Update inputs:*/ /*FIXME should be done by prognostic_core!*/4819 //surface_input->GetValuesPtr(&values,NULL); for(i=0;i<3;i++)values[i]=s[i];4820 //bed_input->GetValuesPtr(&values,NULL); for(i=0;i<3;i++)values[i]=b[i];4818 /*Surface and bed are updated. Update inputs:*/ 4819 surface_input->GetValuesPtr(&values,NULL); for(i=0;i<3;i++)values[i]=s[i]; 4820 bed_input->GetValuesPtr(&values,NULL); for(i=0;i<3;i++)values[i]=b[i]; 4821 4821 4822 4822 }
Note:
See TracChangeset
for help on using the changeset viewer.