Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

assembly vector of solution

More
1 year 3 weeks 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 3 weeks 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.132 seconds