Ignore:
Timestamp:
08/18/10 08:36:30 (15 years ago)
Author:
Mathieu Morlighem
Message:

renamed field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Bamg/Geometry.cpp

    r5339 r5340  
    151151                                edges[i].tg[0]=zerovector;
    152152                                edges[i].tg[1]=zerovector;
    153                                 edges[i].DirAdj[0] = edges[i].DirAdj[1] = -1;
     153                                edges[i].AdjVertexNumber[0] = edges[i].AdjVertexNumber[1] = -1;
    154154                                edges[i].Adj[0] = edges[i].Adj[1] = NULL;
    155155                                edges[i].type = 0;
     
    602602
    603603                                edges[i1].Adj[j1] = edges + i;
    604                                 edges[i1].DirAdj[j1] = j;
     604                                edges[i1].AdjVertexNumber[j1] = j;
    605605                        }
    606606                }
     
    624624                                                 * previous and next vertices connected to current vertex
    625625                                                 * normed by the edge length*/
    626                                                 tg = edges[i].v[1-j]->r - edges[i].Adj[j]->v[1-edges[i].DirAdj[j]]->r;
     626                                                tg = edges[i].v[1-j]->r - edges[i].Adj[j]->v[1-edges[i].AdjVertexNumber[j]]->r;
    627627                                                ltg= Norme2(tg);
    628628                                                tg = tg *(lAB/ltg);
     
    680680                                                                GeometricalVertex *b=(*e)(k1);
    681681                                                                if (a == b ||  b->Required() ) break;
    682                                                                 k0 = e->DirAdj[k1];//  vertex in next edge
     682                                                                k0 = e->AdjVertexNumber[k1];//  vertex in next edge
    683683                                                                e = e->Adj[k1]; // next edge
    684684                                                        }
     
    865865                        ge[--bge] =eg0 = eg0->Adj[direction0];
    866866                        ISSMASSERT(bge>=0 && bge<=mxe);
    867                         direction0 = 1-( directionge[bge] = tmpge->DirAdj[direction0]);
     867                        direction0 = 1-( directionge[bge] = tmpge->AdjVertexNumber[direction0]);
    868868                }
    869869                while (eg1 != (GeometricalEdge*) vg1  &&  (*eg1)(direction1) != (GeometricalVertex*) vg1) {
     
    881881                        GeometricalEdge* tmpge = eg1;
    882882                        ge[++tge] =eg1 = eg1->Adj[direction1];
    883                         directionge[tge]= direction1 = 1-tmpge->DirAdj[direction1];
     883                        directionge[tge]= direction1 = 1-tmpge->AdjVertexNumber[direction1];
    884884                        ISSMASSERT(tge>=0 && tge<=mxe);
    885885                }
Note: See TracChangeset for help on using the changeset viewer.