Changeset 17528


Ignore:
Timestamp:
03/24/14 14:08:14 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed coupling FS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp

    r17526 r17528  
    838838        femmodel->parameters->FindParam(&newton,StressbalanceIsnewtonEnum);
    839839
    840         if(isFS){
     840        if(isFS && !(isSSA || isHO || isL1L2)){
    841841                if(VerboseSolution()) _printf0_("   computing velocities\n");
    842842
     
    849849                 solutionsequence_nonlinear(femmodel,conserve_loads);
    850850        }
    851         else if(isSSA || isHO || isL1L2){
     851        else if(!isFS && (isSSA || isHO || isL1L2)){
    852852                if(VerboseSolution()) _printf0_("   computing velocities\n");
    853853
     
    865865                }
    866866        }
     867        else if ((isSSA || isL1L2 || isHO) && isFS){
     868                if(VerboseSolution()) _printf0_("   computing coupling between lower order models and FS\n");
     869                solutionsequence_FScoupling_nonlinear(femmodel,conserve_loads);
     870        }
    867871        else{
    868872                _error_("not supported");
    869         }
    870 
    871         if ((isSSA || isL1L2 || isHO) && isFS){
    872                 if(VerboseSolution()) _printf0_("   computing coupling between lower order models and FS\n");
    873                 solutionsequence_FScoupling_nonlinear(femmodel,conserve_loads);
    874873        }
    875874
Note: See TracChangeset for help on using the changeset viewer.