# [deal.II] Re: Solution Components of a Vector valued problem

```Dear Lisa,

. 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,
>
> 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
>
> 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
>>  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[0] = u_x of node A
>>>> S[1] = u_y of node A
>>>> S[2] = T of node A
>>>>
>>>> S[3] = u_x of node B
>>>> S[4] = u_y of node B
>>>> S[5] = 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
---
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