-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gauss-Legendre points in a Lagrangian element #114
Comments
Hi, sorry for the late reply. I'm personally not very experienced with high-order Lagrange cells. If it is of any help, this thread in the ParaView forums seems to be relevant. If I understand correctly, the |
@jipolanco is correct: You need to provide equidistant nodes to You can find the code we use to specify the (equidistant) points in our package Trixi2Vtk.jl, specifically for 2D here: All credit for implementing goes to @efaulhaber, @bennibolm, and @NichtLucas. |
Okay, thanks both for the input. I will carefully look at Trixi's VTK package then. Closing this for the moment :) |
My flux reconstruction high-order solver uses Lagrangian-basis elements which store the solution at the Gauss-Legendre quadrature points of the element. For example:
where the blue circles are the location of the solution points, and the red circles are the vertices defining the quad.
Would the
VTKCellTypes.VTK_LAGRANGE_QUADRILATERAL
suit this arrangement?I have the connectivity of inner solution points per element and vertices of each element (which are only useful to define the quad, but do not store the solution data).
I am unsure on how to define such cells and the connectivity that needs to be passed for to the cell creation (as in the documentation):
Any tips on this would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: