-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mat + mat_e of bilinear form #55
Comments
Hi Mikhail, Can you provide more details about your use case? Of the two options you are proposing, I think the second one is better, because it will also enable the use of Cheers, |
Hi Tzanio, My goal is to compute a dense matrix What I do right now is - I compute Thanks, |
Hi Mikhail, If I understand correctly, If you want to restore the full matrix, you probably want to call SparseMatrix * Add(const SparseMatrix & A, const SparseMatrix & B); though depending on the sizes, this may not be more efficient than reassembly. Hope this helps, |
Hi Tzanio, Thank you for the reply. I do need the dense matrix Thank you, |
Dear All,
After eliminating bc there is a mat_e sparse matrix such as
mat+mat_e=full_matrix
of the bilinear form. There are functions like FullMult and FullAddMult that use both mat and mat_e in the matrix-vector multiplication. I am wondering if I can get a full sparse matrix. I didn't find anything existing in the library, so I'm thinking about the following options:const SparseMatrix &S = billiear_form.FullSpMat();
where
Or maybe, something like this:
Thanks,
Mikhail
The text was updated successfully, but these errors were encountered: