Changeset 22461
- Timestamp:
- 02/23/18 14:45:20 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/ExtrapolationAnalysis.cpp
r21420 r22461 332 332 /* Intermediaries */ 333 333 int extvar_enum; 334 IssmDouble phi,value;334 IssmDouble active,value; 335 335 Node* node = NULL; 336 336 … … 338 338 element->FindParam(&extvar_enum, ExtrapolationVariableEnum); 339 339 340 Input* levelset_input=element->GetInput(MaskIceLevelsetEnum); _assert_(levelset_input);340 Input* active_input=element->GetInput(IceMaskNodeActivationEnum); _assert_(active_input); 341 341 Input* extvar_input=element->GetInput(extvar_enum); _assert_(extvar_input); 342 342 … … 345 345 gauss->GaussNode(element->GetElementType(),in); 346 346 node=element->GetNode(in); 347 levelset_input->GetInputValue(&phi,gauss);347 active_input->GetInputValue(&active,gauss); 348 348 if(node->IsActive()){ 349 if( phi<=0.){349 if(active>0.5){ 350 350 /* if ice, set dirichlet BC */ 351 351 extvar_input->GetInputValue(&value,gauss);
Note:
See TracChangeset
for help on using the changeset viewer.