# Gauss points in cells

**URL:** <https://discourse.vtk.org/t/gauss-points-in-cells/6665>\
**Category:** Development\
**Created:** [September 21, 2021, 10:39am UTC](https://discourse.vtk.org/t/gauss-points-in-cells/6665 "2021-09-21T10:39:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sagues](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/a88e4f/32.png) [@Sagues](https://discourse.vtk.org/u/Sagues)\
**Post date:** [September 21, 2021, 10:39am UTC](https://discourse.vtk.org/t/gauss-points-in-cells/6665/1 "2021-09-21T10:39:13Z")

</div>

How can I add gauss points in cells (triangles, quadrilaterals, lines) in unstructured grid?  
Adding interpolate points, for example?  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/9/9e2c74dd9ef5489d2d2d39b4f24a747d693d6ff3.png)

---

<div class="post-metadata">

**Author:** ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)\
**Post date:** [September 21, 2021, 11:03am UTC](https://discourse.vtk.org/t/gauss-points-in-cells/6665/2 "2021-09-21T11:03:59Z")

</div>

There’s been discussion on and off about this, so I’m sure others will add some thoughts.

Conceptually, a simple approach is basically to package up the information you need in cell data. This information can then be transferred into the methods that need it (filters, cell operations) through a variety of means. The particulars of how you package the information, and how it is transferred, is where a lot of discussion needs to take place.

---

<div class="post-metadata">

**Author:** ![Sagues](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/a88e4f/32.png) [@Sagues](https://discourse.vtk.org/u/Sagues)\
**Post date:** [October 8, 2021, 1:36pm UTC](https://discourse.vtk.org/t/gauss-points-in-cells/6665/3 "2021-10-08T13:36:46Z")

</div>

Thank you for your attention.

Therefore if I have triangles with 3 gauss points and my results have 3 components, I can write tuples of 9 values for each triangle. Then I will find how to integrate it to show correctly, for example filters.

---

<div class="post-metadata">

**Author:** ![Sagues](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/a88e4f/32.png) [@Sagues](https://discourse.vtk.org/u/Sagues)\
**Post date:** [February 7, 2022, 3:22pm UTC](https://discourse.vtk.org/t/gauss-points-in-cells/6665/4 "2022-02-07T15:22:14Z")

</div>

Hi Mr Schroeder,

After looking for a lot of information, I found a vtk class named vtkQuadratureSchemeDefinition and a document where there is an example of vtk file structure with this class. But I do not understand how can I link vtkQuadratureSchemeDefinition with DataArray. Therefore, I have a vtk file with this class and I can open this file with PARAVIEW but I can not draw my data array using gauss points.

I do not know if you know how can I link vtkQuadratureSchemeDefinition with my DataArray.

Thank you for your attention.
