Changeset 17529


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

CHG: fixed indexing on top segments (see Hongju's email)

Location:
issm/trunk-jpl
Files:
2 edited

Legend:

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

    r17527 r17529  
    12611261
    12621262        IssmDouble values[NUMVERTICES];
    1263         int        indices[3][2] = {{2,1},{0,2},{1,0}}; //WARNING: reversed compared to bed!!
     1263        int        indices[3][2] = {{1,2},{2,0},{0,1}};
    12641264
    12651265        /*Retrieve all inputs and parameters*/
     
    17561756                        _assert_(HasEdgeOnSurface());
    17571757                        this->EdgeOnSurfaceIndices(&index1,&index2);
    1758                         return SpawnSeg(index1,index2);
     1758                        return SpawnSeg(index2,index1); //reverse order
    17591759                default:
    17601760                        _error_("not implemented yet");
Note: See TracChangeset for help on using the changeset viewer.