| Dear Felipe, Gmres (and all other iterative methods) in deal.Ii is already matrix free. It never accesses the matrix , only its matrix vector method. FMM has already been implemented in deal.II and it is available in the repository pi-BEM. Take a look there for inspiration. If you know how to compute the action of your fmm method, just assign it to a LinearOperator object ‘vmult’ function, and then call gmres with that: auto FMM = linear_operator(exemplar_matrix); FMM.vmult = [&](auto &dst, const auto &src) { // call here what you need to set dst equal to the action of FMM on src } Now you can use FMM with gmres. Best, Luca.
-- Il giorno 18 mag 2024, alle ore 07:38, Felipe Ponce <[email protected]> ha scritto:
The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/4584228D-CE21-4936-9B88-3435CB2C3092%40gmail.com. |
- [deal.II] Matrix Free alternatives in dealii Felipe Ponce
- Re: [deal.II] Matrix Free alternatives in dealii Luca Heltai
- Re: [deal.II] Matrix Free alternatives in dealii Felipe Ponce
