# Extract solution points

**URL:** <https://pyfr.discourse.group/t/extract-solution-points/1148>\
**Category:** Uncategorised\
**Created:** [9 August 2024 07:50 UTC](https://pyfr.discourse.group/t/extract-solution-points/1148 "2024-08-09T07:50:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frankx9](https://avatars.discourse-cdn.com/v4/letter/f/3e96dc/32.png) [@Frankx9](https://pyfr.discourse.group/u/Frankx9)\
**Post date:** [9 August 2024 07:50 UTC](https://pyfr.discourse.group/t/extract-solution-points/1148/1 "2024-08-09T07:50:06Z")

</div>

Hello,

is there a way to extract the location of the solution points on the first layer off a given boundary? If not, how one can do that?

Best regards

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [9 August 2024 12:55 UTC](https://pyfr.discourse.group/t/extract-solution-points/1148/2 "2024-08-09T12:55:33Z")

</div>

Your mesh generation package should be able to tell you the height of your first element on the boundary. Then it is just multiplying by a suitable factor for where the first solution point is. For example, at p = 4 with Gauss-Legendre points the first point is at ~1/20th the height of the element. (This follows from the first point being at 0.90618 in reference space which goes from [-1,1].)

Regards, Freddie.
