Access BaseMatrix information obtained from static condensation

More
4 years 1 month ago #3201 by nickyang2020
Hi,

I have a simple question regarding ngsolve.la.BaseMatrix.

I am following the tutorial 1.4 Static Condensation and I'd like to use the following matrices in Scipy
Code:
a.harmonic_extension a.harmonic_extension_trans a.inner_solve a.mat.Inverse(freedofs=fes.FreeDofs(coupling=True))
but I am not sure how to access the matrix information.
.
I know for a BilinearForm, we can use
Code:
a.mat.COO()
to access the sparse matrix information as shown in Interfacing to numpy/scipy . But the matrices I mentioned above do not have a COO method. Would you please tell me what I should do? Thank you.

Nick
Time to create page: 0.091 seconds