Dear Lisa, A quick google search returned GridTools::find_cells_adjacent_to_vertex <https://www.dealii.org/developer/doxygen/deal.II/namespaceGridTools.html#addb822f0e3068e48640ecc981ee6c1e6> . Is this what you're looking for?
Regards, J-P On Monday, October 17, 2016 at 1:01:57 PM UTC+2, Lisa Collins wrote: > > Hello, > > Thanks for the reply. > I did it with iteration over all cells and vertexes of each cell. > Is there any effective way to do it without iteration over cells? > For example something like inverse of cell->vertex_dof_index > <https://groups.google.com/forum/#%21searchin/dealii/vertex_dof_index%7Csort:relevance> > > which gets the global index and points to the first cell which which the > corresponding index belongs to. > > Thanks. > Lisa > > On Friday, October 14, 2016 at 1:36:19 PM UTC+2, Jean-Paul Pelteret wrote: >> >> Dear Lisa, >> >> You should have a look at some of the previous discussions on the use of >> the cell->vertex_dof_index >> <https://groups.google.com/forum/#!searchin/dealii/vertex_dof_index%7Csort:relevance> >> function >> (as well as its documentation >> <https://www.dealii.org/developer/doxygen/deal.II/classDoFAccessor.html#a5560151b5407e4851d5c1009c7753764>); >> >> this provides an easy link between vertices and degrees of freedom. >> >> Regards, >> J-P >> >> On Friday, October 14, 2016 at 1:20:29 PM UTC+2, Lisa Collins wrote: >>> >>> Hallo, >>> Thanks for both replies. >>> In general, from a solution vector, how can I extract u_x, u_y, and T >>> nodal values corresponding to a specific node? >>> Best regards. >>> Lisa >>> >>> On Thursday, October 13, 2016 at 1:05:08 PM UTC+2, Lisa Collins wrote: >>>> >>>> Hello, >>>> >>>> Dealing with vector valued problems in deal ii is a bit confusing for >>>> me. >>>> I have a question regarding the solution vector (S). >>>> If we have a problem with 20 nodes and 3 dofs per node (u_x , u_y , and >>>> T temperature) can we always say that: >>>> >>>> S = u_x of node A >>>> S = u_y of node A >>>> S = T of node A >>>> >>>> S = u_x of node B >>>> S = u_y of node B >>>> S = T of node B >>>> >>>> and so on. >>>> >>>> Thanks. >>>> Lisa >>>> >>> -- 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. For more options, visit https://groups.google.com/d/optout.