Changeset 11720


Ignore:
Timestamp:
03/16/12 08:36:17 (13 years ago)
Author:
Mathieu Morlighem
Message:

Better error message if input does not have the right length

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

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/Elements/Tria.cpp

    r11695 r11720  
    18731873                        this->inputs->AddInput(transientinput);
    18741874                }
    1875                 else _error_("nodal vector is either numberofnodes (%i), or numberofnodes+1 long. Field provided is %i long",numberofvertices,M);
     1875                else _error_("nodal vector is either numberofnodes or numberofnodes+1 long. Field provided (%s) is %i long",EnumToStringx(vector_enum),M);
    18761876        }
    18771877        else if(vector_type==2){ //element vector
     
    36683668        //      vx_input->GetInputValue(&vx,gauss);
    36693669        //      vy_input->GetInputValue(&vy,gauss);
    3670         //      grade_g[iv] = -2*drag*alpha_complement*(lambda*vx+mu*vy)/((double)connectivity[iv]);
     3670        //      grade_g[iv] = -2*1.e+7*drag*alpha_complement*(lambda*vx+mu*vy)/((double)connectivity[iv]);
    36713671        //}
    36723672        /*End Analytical gradient*/
  • issm/trunk-jpl/src/c/objects/objects.h

    r11695 r11720  
    3030
    3131/*Loads: */
     32#include "./Loads/Load.h"
    3233#include "./Loads/Friction.h"
    3334#include "./Loads/Icefront.h"
Note: See TracChangeset for help on using the changeset viewer.