mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
points on 2D boundary
This commit is contained in:
parent
b5126a479b
commit
7862ac9a12
@ -39,6 +39,7 @@ namespace netgen
|
||||
|
||||
geometry.PartitionBoundary (h, *mesh);
|
||||
|
||||
|
||||
// marks mesh points for hp-refinement
|
||||
for (int i = 0; i < geometry.GetNP(); i++)
|
||||
if (geometry.GetPoint(i).hpref)
|
||||
|
@ -345,8 +345,12 @@ void SplineSeg<D> :: Partition (double h, double elto0,
|
||||
while (j < curvepoints.Size() && (l >= curvepoints[j] || i == n))
|
||||
{
|
||||
frac = (curvepoints[j]-lold) / (l-lold);
|
||||
mark = pold + frac * (p-pold);
|
||||
edgelength = i*dt + (frac-1)*dt;
|
||||
// mark = pold + frac * (p-pold);
|
||||
mark = GetPoint (edgelength);
|
||||
|
||||
// cout << "mark = " << mark << " =?= " << GetPoint (edgelength) << endl;
|
||||
|
||||
{
|
||||
PointIndex pi1 = -1, pi2 = -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user