assembly vector of solution

More
1 year 6 months ago #4729 by andressa
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,
More
1 year 6 months ago #4730 by hvwahl
Replied by hvwahl on topic assembly vector of solution
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
Time to create page: 0.114 seconds