On Sun, Jul 19, 2020 at 7:36 PM Wolfgang Bangerth <bange...@colostate.edu> wrote:
> On 7/19/20 6:28 PM, Daniel Arndt wrote: > > > > The tutorial examples show only how to access values of the solution > at > > the quadrature points within each cell. > > > > > https://github.com/dealii/dealii/wiki/Frequently-Asked-Questions#how-to-get-the-mapped-position-of-support-points-of-my-element > > < > https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdealii%2Fdealii%2Fwiki%2FFrequently-Asked-Questions%23how-to-get-the-mapped-position-of-support-points-of-my-element&data=02%7C01%7CWolfgang.Bangerth%40colostate.edu%7Cc61491e1703e46c5be0f08d82c43defe%7Cafb58802ff7a4bb1ab21367ff2ecfc8b%7C0%7C0%7C637308017305040965&sdata=TM3AYA4IqcrckUMqRTWfCJWUz3MGrUx%2FRFGvRrsg40Y%3D&reserved=0> > > > might also be helpful. > > You might also be interested in looking at the do_half_phase_step() > function > of step-58: > > > https://dealii.org/developer/doxygen/deal.II/step_58.html#ImplementingtheStrangsplittingsteps > > Best > W. > > > Thank both of you for your replies. The Step-58 function is very helpful in showing how to access nodal point values of a solution vector object. I assume I can access the nodal point coordinates in the similar way, where a vector of nodal points is created using the DoFTools::map_dofs_to_support_points() function. 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? 2. 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? Thanks again for any assistance! -- Stay put, practice social distancing, and be safe! Best, --Xuefeng Li, (504)865-3340(phone) Like floating clouds, the heart rests easy Like flowing water, the spirit stays free Loyola University New Orleans New Orleans, Louisiana (504)865-2051(fax) -- 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/CAO2HPGUH18nde3KSrBkVFmeiuyChR_MKevmVMNDh%2B7xc5BO6%3DA%40mail.gmail.com.