Changes between Version 13 and Version 14 of addfield
- Timestamp:
- 11/20/14 11:01:17 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
addfield
v13 v14 34 34 #!c 35 35 Input* meltingrate_input = NULL; 36 meltingrate_input = basalelement->GetInput(CalvinglevermannMeltingrateEnum); _assert_(meltingrate_input); 36 37 }}} 37 38 39 Then, start looping on the number of gaussian points and fetch the input value at these points: 40 41 {{{ 42 #!c 43 meltingrate_input->GetInputValue(&meltingrate,gauss); 44 }}} 45 46 Ater that, you can do your computations using `meltingrate` for this gaussian point.