>
> However, I have two more related questions. BTW, I am a newbie in C++
> programming. So my questions may seem absurd.
>
>    1. Now that we have a vector holding all nodal point coordinates, and
>    another vector holding all nodal point values of the solution. How do we
>    access every nodal point coordinates, and at the same time, the associated
>    nodal point value within the same loop?
>
> Can you clarify in a short pseudocode example what you are trying to
achieve?

>
>    1. In addition to nodal point values of a solution, are the partial
>    derivatives (or gradient) of the solution at each nodal point available in
>    deal.ii?
>
> That's basically what DataPostprocessor is doing. In general, you can loop
over all cells and calculate the derivatives locally. Have a look at
FEValuesBase::get_function_gradients (
https://www.dealii.org/current/doxygen/deal.II/classFEValuesBase.html#ad1f4e0deb5d982e8172d82141c634a67
).

Best,
Daniel

-- 
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/CAOYDWbJmMnq-3Vz%2BKEtsdnoMhOxihuJvhhFrN9Ke8QjKiam1sA%40mail.gmail.com.

Reply via email to