Changeset 23484


Ignore:
Timestamp:
11/29/18 13:46:13 (6 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed problem with BC now that the right loads have to be loaded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/cores/stressbalance_core.cpp

    r23337 r23484  
    5656
    5757                /*Take the last velocity into account so that the velocity on the SSA domain is not zero*/
    58                 if(isSSA || isL1L2 || isHO ) ResetBoundaryConditions(femmodel,StressbalanceSIAAnalysisEnum);
     58                if(isSSA || isL1L2 || isHO ){
     59                        femmodel->SetCurrentConfiguration(StressbalanceSIAAnalysisEnum);
     60                        ResetBoundaryConditions(femmodel,StressbalanceSIAAnalysisEnum);
     61                }
    5962
    6063                analysis = new StressbalanceSIAAnalysis();
     
    6366
    6467                /*Reset velocities for other ice flow models*/
    65                 if(isSSA || isL1L2 || isHO) ResetBoundaryConditions(femmodel,StressbalanceAnalysisEnum);
     68                if(isSSA || isL1L2 || isHO){
     69                        femmodel->SetCurrentConfiguration(StressbalanceAnalysisEnum);
     70                        ResetBoundaryConditions(femmodel,StressbalanceAnalysisEnum);
     71                }
    6672        }
    6773
Note: See TracChangeset for help on using the changeset viewer.