Changes between Version 13 and Version 14 of addfield


Ignore:
Timestamp:
11/20/14 11:01:17 (10 years ago)
Author:
srebuffi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • addfield

    v13 v14  
    3434#!c
    3535Input* meltingrate_input  = NULL;
     36meltingrate_input = basalelement->GetInput(CalvinglevermannMeltingrateEnum);     _assert_(meltingrate_input);
    3637}}}
    3738
     39Then, start  looping on the number of gaussian points and fetch the input value at these points:
     40         
     41{{{
     42#!c
     43meltingrate_input->GetInputValue(&meltingrate,gauss);
     44}}}
     45         
     46Ater that, you can do your computations using `meltingrate` for this gaussian point.