Ignore:
Timestamp:
07/15/19 04:40:13 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: working on P0DG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Loads/Neumannflux.cpp

    r23970 r24089  
    364364
    365365        /*Check wether it is an inflow or outflow BC (0 is the middle of the segment)*/
    366         int index1=tria->GetNodeIndex(nodes[0]);
    367         int index2=tria->GetNodeIndex(nodes[1]);
     366        int index1=tria->GetVertexIndex(vertices[0]);
     367        int index2=tria->GetVertexIndex(vertices[1]);
    368368
    369369        /* Start  looping on the number of gaussian points: */
     
    408408
    409409        /*Check wether it is an inflow or outflow BC (0 is the middle of the segment)*/
    410         int index1=tria->GetNodeIndex(nodes[0]);
    411         int index2=tria->GetNodeIndex(nodes[1]);
     410        int index1=tria->GetVertexIndex(vertices[0]);
     411        int index2=tria->GetVertexIndex(vertices[1]);
    412412
    413413        /* Start  looping on the number of gaussian points: */
Note: See TracChangeset for help on using the changeset viewer.