Changeset 2939


Ignore:
Timestamp:
02/01/10 08:28:38 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

Location:
issm/trunk/src/c/Bamgx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Bamgx/Mesh2.h

    r2937 r2939  
    254254                        int flag ;
    255255                public:
    256                         GeometricalEdge * link; // if   Cracked() or Equi()
     256                        GeometricalEdge* link; // if   Cracked() or Equi()
    257257
    258258                        // end of data
     
    718718                        }
    719719
     720                        //Genetare mesh from geometry
    720721                        Triangles(Int4 nbvx,Geometry & G) :Gh(G),BTh(*this){
    721722                                try { GeomToTriangles0(nbvx);}
  • issm/trunk/src/c/Bamgx/objects/Triangles.cpp

    r2938 r2939  
    31313131                PreInit(inbvx);
    31323132
     3133                //build background mesh flag (1 if background, else 0)
    31333134                int  background = &BTh != this;
    31343135                nbv=0;
     
    31363137                NbVerticesOnGeomEdge=0;
    31373138
    3138                 //Compute bumber of vertices on geometrical vertex
     3139                //Compute number of vertices on geometrical vertex
    31393140                for (i=0;i<Gh.nbv;i++){
    31403141                        if (Gh[i].Required() && Gh[i].IsThe() ) NbVerticesOnGeomVertex++;
     
    31503151                nbv=0;
    31513152                for (i=0;i<Gh.nbv;i++){
     3153                        /*Add vertex only if required and not duplicate
     3154                         * (IsThe is a method of GeometricalVertex that checks
     3155                         * that we are taking into acount only one vertex is
     3156                         * 2 vertices are superimposed) */
    31523157                        if (Gh[i].Required() && Gh[i].IsThe()) {//Gh  vertices Required
    31533158                                if (nbv<nbvx) vertices[nbv]=Gh[i];
Note: See TracChangeset for help on using the changeset viewer.