Changeset 17773


Ignore:
Timestamp:
04/18/14 13:21:55 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixing indices in Tetra faces

File:
1 edited

Legend:

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

    r17750 r17773  
    128128
    129129        IssmDouble values[NUMVERTICES];
    130         int        indices[4][3] = {{0,1,2},{0,1,3},{1,2,3},{2,0,3}};
     130        int        indices[4][3] = {{0,1,2},{0,3,1},{1,3,2},{0,2,3}};
    131131
    132132        /*Retrieve all inputs and parameters*/
     
    145145}
    146146/*}}}*/
    147 /*FUNCTION Tetra::FaceOnFranceIndices{{{*/
     147/*FUNCTION Tetra::FaceOnFrontIndices{{{*/
    148148void Tetra::FaceOnFrontIndices(int* pindex1,int* pindex2,int* pindex3){
    149149
    150150        IssmDouble values[NUMVERTICES];
    151         int        indices[4][3] = {{0,1,2},{0,1,3},{1,2,3},{2,0,3}};
     151        int        indices[4][3] = {{0,1,2},{0,3,1},{1,3,2},{0,2,3}};
    152152
    153153        /*Retrieve all inputs and parameters*/
Note: See TracChangeset for help on using the changeset viewer.