Changeset 12876


Ignore:
Timestamp:
08/02/12 13:07:26 (13 years ago)
Author:
Mathieu Morlighem
Message:

BUG: changed Icoor2 from double to long

Location:
issm/trunk-jpl/src/c/classes/bamg
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/bamg/Mesh.cpp

    r12821 r12876  
    47644764                        NbSwap += vi.Optim(1);         
    47654765                        iv++;
    4766                         //      }
    4767         }
    4768         if (verbose>3) {
    4769                 _printLine_("   number of points: " << iv);
    4770                 _printLine_("   number of swap to  split internal edges with border vertices: " << NbSwap);
    4771                 nbv = iv;
    4772         }
    4773 }
    4774 if (NbSplitEdge>nbv-nbvold) _printLine_("WARNING: not enough vertices  to split all internal edges, we lost " << NbSplitEdge - ( nbv-nbvold) << " edges...");
    4775 if (verbose>2) _printLine_("SplitInternalEdgeWithBorderVertices: Number of splited edge " << NbSplitEdge);
    4776 
    4777 return  NbSplitEdge;
     4766                }
     4767                if (verbose>3) {
     4768                        _printLine_("   number of points: " << iv);
     4769                        _printLine_("   number of swap to  split internal edges with border vertices: " << NbSwap);
     4770                        nbv = iv;
     4771                }
     4772        }
     4773        if (NbSplitEdge>nbv-nbvold) _printLine_("WARNING: not enough vertices  to split all internal edges, we lost " << NbSplitEdge - ( nbv-nbvold) << " edges...");
     4774        if (verbose>2) _printLine_("SplitInternalEdgeWithBorderVertices: Number of splited edge " << NbSplitEdge);
     4775
     4776        return  NbSplitEdge;
    47784777}
    47794778/*}}}*/
  • issm/trunk-jpl/src/c/classes/bamg/typedefs.h

    r12875 r12876  
    88        /*Integer coordinates types*/
    99        typedef int  Icoor1;
    10         typedef double Icoor2;
     10        typedef long Icoor2;
    1111
    1212        /*I2 and R2*/
Note: See TracChangeset for help on using the changeset viewer.