mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 21:00:34 +05:00
use PointIndex::INVALID
This commit is contained in:
parent
1698a71754
commit
bcc15fbc30
@ -1326,7 +1326,7 @@ namespace netgen
|
||||
|
||||
// generate initial point
|
||||
p = edgepoints.Get(1);
|
||||
lastpi = -1;
|
||||
lastpi = PointIndex::INVALID;
|
||||
|
||||
/*
|
||||
for (pi = PointIndex::BASE;
|
||||
@ -1368,7 +1368,7 @@ namespace netgen
|
||||
np(1) = (1-lam) * edgepoints.Get(j-1)(1) + lam * edgepoints.Get(j)(1);
|
||||
np(2) = (1-lam) * edgepoints.Get(j-1)(2) + lam * edgepoints.Get(j)(2);
|
||||
|
||||
thispi = -1;
|
||||
thispi = PointIndex::INVALID;
|
||||
if (i == ne)
|
||||
{
|
||||
/*
|
||||
|
@ -590,7 +590,7 @@ int AdFront3 :: GetLocals (int fstind,
|
||||
for (j = 1; j <= locfaces.Get(i).GetNP(); j++)
|
||||
{
|
||||
PointIndex pi = locfaces.Get(i).PNum(j);
|
||||
invpindex[pi] = -1;
|
||||
invpindex[pi] = PointIndex::INVALID;
|
||||
}
|
||||
|
||||
for (i = 1; i <= locfaces.Size(); i++)
|
||||
|
@ -418,7 +418,7 @@ namespace netgen
|
||||
list.DeleteElement (celind);
|
||||
|
||||
for (int k = 0; k < 4; k++)
|
||||
tempels.Elem(celind)[k] = -1;
|
||||
tempels.Elem(celind)[k] = PointIndex::INVALID;
|
||||
|
||||
tettree.DeleteElement (celind);
|
||||
freelist.Append (celind);
|
||||
|
@ -53,8 +53,8 @@ namespace netgen
|
||||
Segment :: Segment()
|
||||
: is_curved(false)
|
||||
{
|
||||
pnums[0] = -1;
|
||||
pnums[1] = -1;
|
||||
pnums[0] = PointIndex::INVALID;
|
||||
pnums[1] = PointIndex::INVALID;
|
||||
edgenr = -1;
|
||||
|
||||
singedge_left = 0.;
|
||||
@ -69,7 +69,7 @@ namespace netgen
|
||||
|
||||
surfnr1 = -1;
|
||||
surfnr2 = -1;
|
||||
pnums[2] = -1;
|
||||
pnums[2] = PointIndex::INVALID;
|
||||
meshdocval = 0;
|
||||
/*
|
||||
geominfo[0].trignum=-1;
|
||||
|
@ -81,7 +81,7 @@ namespace netgen
|
||||
transp = 0.3;
|
||||
locviewer = 0;
|
||||
showstltrias = 0;
|
||||
centerpoint = 0;
|
||||
centerpoint = PointIndex::INVALID;
|
||||
usedispllists = 1;
|
||||
strcpy (selectvisual, "cross");
|
||||
|
||||
|
@ -55,8 +55,8 @@ namespace netgen
|
||||
selface = -1;
|
||||
selelement = -1;
|
||||
locpi = 1;
|
||||
selpoint = -1;
|
||||
selpoint2 = -1;
|
||||
selpoint = PointIndex::INVALID;
|
||||
selpoint2 = PointIndex::INVALID;
|
||||
seledge = -1;
|
||||
|
||||
minh = 0.0;
|
||||
|
Loading…
Reference in New Issue
Block a user