This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Elements of matrix of linear system and DOFs

+1 vote

Hi,

I want to find all elements in the matrix of linear system corresponding to the specific DOF, i.e. I have

V = FunctionSpace(mesh, 'BDM', 1)

a = 'some form'
A = assemble(a)

so by using "dofmap()" I can get the global indices of the DOFs, and, say, I would like to know where the values corresponding to DOF #1 are in the matrix A, is there a way to do it in Fenics?

Thank you

asked Apr 2, 2015 by SDF FEniCS Novice (130 points)

I have the same issue. could you solve it?

...