Changeset 3636


Ignore:
Timestamp:
04/28/10 09:36:23 (15 years ago)
Author:
Mathieu Morlighem
Message:

fixed Stokes with ice front

Location:
issm/trunk/src/c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Bamgx/objects/Triangles.cpp

    r3570 r3636  
    23622362                                if (nbswp) nbfe++;
    23632363                                if ( nbswp < 0 && k < 5){
    2364                                         for (int j = 0; j < nbe; j++){
    2365                                                 printf("Edge %i: %i %i\n",j,Number(edges[j][0]),Number(edges[j][1]));
    2366                                         }
    23672364                                        ISSMERROR("Missing Edge %i, v0=%i,v1=%i",i,Number(edges[i][0]),Number(edges[i][1]));
    23682365                                }
  • issm/trunk/src/c/ModelProcessorx/DiagnosticStokes/CreateLoadsDiagnosticStokes.cpp

    r3633 r3636  
    4848       
    4949                /*Do not create ice front if it is not a Stokes element*/
    50                 if (!(int)*(iomodel->elements_type+2*element+1)==StokesFormulationEnum){
     50                if ((int)*(iomodel->elements_type+2*element+1)!=StokesFormulationEnum){
    5151                        continue;
    5252                }
  • issm/trunk/src/c/objects/Tria.cpp

    r3632 r3636  
    46864686                inputs->GetParameterValue(&vz, &gauss_l1l2l3[0],VzEnum);
    46874687
    4688                 /*Get normal vecyor to the bed */
     4688                /*Get normal vector to the bed */
    46894689                SurfaceNormal(&surface_normal[0],xyz_list);
    46904690
Note: See TracChangeset for help on using the changeset viewer.