Changeset 5456


Ignore:
Timestamp:
08/20/10 15:01:31 (15 years ago)
Author:
Mathieu Morlighem
Message:

Fixed control method diverging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Loads/Numericalflux.cpp

    r5455 r5456  
    723723                vyaverage_input=tria->inputs->GetInput(VyEnum);
    724724        }
    725         thickness_input=tria->inputs->GetInput(ThicknessEnum);
     725        /*Here, as it is a forcing, we have H=Hobs by default (for control methods)*/
     726        thickness_input=tria->inputs->GetInput(ThicknessObsEnum);
     727        if (!thickness_input) thickness_input=tria->inputs->GetInput(ThicknessEnum);
    726728
    727729        /* Get node coordinates and normal vector: */
Note: See TracChangeset for help on using the changeset viewer.