Commit a5c389ba authored by Michael Turner's avatar Michael Turner

minor fix to octree sampling

parent 140c69c2
......@@ -876,7 +876,7 @@ void Octree::CompileSourcePointList()
Array<OneD, NekDouble> bds = curve->Bounds();
int samples = 100;
NekDouble dt = (bds[1] - bds[0]) / (samples + 1);
for (int j = 0; j < samples; j++)
for (int j = 1; j < samples -1; j++) //dont want first and last point
{
NekDouble t = bds[0] + dt * j;
NekDouble C = curve->Curvature(t);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment