Hello all, This is a follow-up question to this form post:
https://groups.google.com/forum/#!topic/dealii/i8P4JTwm7kQ I have a quick question regarding the use of the function get_function_gradient. I have been looking at the tutorials for how to use this function and it would appear that in most of the tutorials, the function is used to calculate the gradients and then the gradients are used in the calculation of the solution. I am interested in calculating the gradients and displaying the gradients in my .vtk file with the solution. I am currently thinking about implementing the program logic as such 1) Solve for the scalar voltage field 2) Run the get_function_gradient function on the solution field for all quadrature points 3) Attach the solution to the data out object 4) Attach the solution of the get_function_gradient function to the data out object 5) Create .VTK file Would this be the correct logic for implementing the get_function_gradient function? Or do I need to run the get_function_gradient function as I am solving for the scalar voltage field? -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
