Hello. this is a question regarding the legacy dolfin.
I want to adopt some of my code to DOLFINX, in order to monitor the change I want to see the elements of the matrix, so I just want to ask what is the easist way to print a matrix in Legacy dolfin, say I have a bilinear form:
a = (inner(grad(u), grad(v)) + c*v + u*d)*dx
how can I print the resulting matrix, it seems like there so many types of matrix, but I don’t care what type to use and just want to see the component of the matrix.
Thanks!