[petsc-users] Questions about PetscTabulation for finite element basis, and PetscViewerVTK for saving cell data

Gong Yujie yc17470 at connect.um.edu.mo
Mon May 26 03:45:40 CDT 2025


Dear PETSc developers,

I have a code that uses PETSc to solve the elasticity problem with the finite element discretization written by myself.  I found there is a part called "PetscTabulation" that stores the basis functions. I would like to inquire about this part that can I use this part for achieving high order element? In detail, how does the basis functions be evaluated and in which file can I find the basis functions? I'm thinking about using PetscTabulation and PetscQuadrature to achieve a high order element. Is this doable?

The next question is can I output a vector that the unknown is defined on each element (not point) using VecView? I think this question relates to the PetscViewer for VTK.

Thanks in advance for your help!

Best Regards,
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250526/b999e25b/attachment.html>


More information about the petsc-users mailing list