Changeset 23014


Ignore:
Timestamp:
07/26/18 14:09:08 (7 years ago)
Author:
Mathieu Morlighem
Message:

CHG: improved error message in order to show the problem

Location:
issm/trunk-jpl/src/c/analyses
Files:
2 edited

Legend:

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

    r22993 r23014  
    569569                        else mb=fmb;
    570570                }
    571                 else{ _error_("melt interpolation not supported yet"); }
     571                else  _error_("melt interpolation "<<EnumToStringx(melt_style)<<" not implemented yet");
    572572
    573573                for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*(thickness+dt*(ms-mb))*basis[i];
  • issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp

    r22993 r23014  
    13481348                        if (phi<0.99999999) alpha2=0.;
    13491349                }
    1350                 else  _error_("friction interpolation not implemented yet");
     1350                else  _error_("friction interpolation "<<EnumToStringx(friction_style)<<" not implemented yet");
    13511351
    13521352                element->NodalFunctions(basis,gauss);
     
    23862386                        if (phi<0.99999999) alpha2=0.;
    23872387                }
    2388                 else  _error_("friction interpolation not implemented yet");
     2388                else  _error_("friction interpolation "<<EnumToStringx(friction_style)<<" not implemented yet");
    23892389
    23902390                element->JacobianDeterminantBase(&Jdet,xyz_list_base,gauss);
     
    37653765                        if (phi<0.99999999) alpha2=0.;
    37663766                }
    3767                 else  _error_("friction interpolation not implemented yet");
     3767                else  _error_("friction interpolation "<<EnumToStringx(friction_style)<<" not implemented yet");
    37683768
    37693769                element->JacobianDeterminantBase(&Jdet,xyz_list_base,gauss);
Note: See TracChangeset for help on using the changeset viewer.