On 10/23/19 3:05 AM, Prateek Sharma wrote: > > The problem that I am facing is that even if i extract the component of the > solution that I want to modify, I can't extract the information about the > gradient of the other component at the same node. We can extract the value of > the solution as well as the gradient at the same quadrature point, but how > can > we do it for a given node?
You can put the quadrature points on the node (=support) points. For this, you can query the finite element for its support points. But you'll have to figure out the right indexing scheme to make this work since there are going to be support points for all components of your solution vector. Best W. -- ------------------------------------------------------------------------ Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/b7daf62a-6d11-0ed2-6490-fc75353aad69%40colostate.edu.