Assembly vector of solution

Hi guys,
I have a question.
How is assembly the vector of solution about the elements and the degree of freedom (DOF)?
Ex:
gfu.vec.data = a.mat.Inverse(freedofs=fes.FreeDofs()) * f.vec

gfu.vec= element 1 - dof 1
element 2 - dof 1

element n - dof 1

element 1 - dof m
element 2 - dof m

element n - dof m
whit n and m the number of element and the number dof, respectively.
​​​​​​​Regards,

Hi andressa,

checkout the dofs section of the documentation “Exploring the mesh topology” here to see how you can get the dofs of each element.

Best wishes,
Henry