Hi Bruno, Probably my above message got lost somewhere in the conversations of this group. Thought to remind you regarding my query in this thread. Let me know if you need more information regarding my queries.
Thanks a lot! Animesh On Tuesday, December 29, 2020 at 6:44:35 PM UTC+5:30 Animesh Rastogi IIT Gandhinagar wrote: > Hi Bruno, > > > It's not in deal.II. Anasazi is part of Trilinos. If you are using > >> Trilinos vector, it's pretty straightforward. You just copy the code >> from >> https://github.com/ORNL-CEES/mfmg/blob/master/include/mfmg/dealii/anasazi.templates.hpp >> >> The solver is used here: >> >> https://github.com/ORNL-CEES/mfmg/blob/4026049f0d5e3904562e394954f76cd86aac2ef3/include/mfmg/dealii/amge_host.templates.hpp#L209-L275 > > > Response - I am not using Trilinos vectors. I am using normal BlockVectors > and BlockSparseMatrix from dealii Linear Algebra class. Is it possible for > me to convert my BlockVectors and BlockSparseMatrix to the one from > Trilinos::BlockSparseMatrix and Trilinos::BlockVectors? > >> >> If you want to use a different kind of vectors, drop these files in >> your code >> https://github.com/ORNL-CEES/mfmg/blob/master/include/mfmg/dealii/multivector.hpp, >> >> >> >> https://github.com/ORNL-CEES/mfmg/blob/master/include/mfmg/dealii/anasazi_traits.hpp, >> >> >> and >> https://github.com/ORNL-CEES/mfmg/blob/master/include/mfmg/dealii/belos_traits.hpp. >> >> >> > > Response - I could not understand when you suggest to drop these files in > my code. Do I need to download these files in my project folder and then > include these files as header files? > > You will need to remove the ASSERT, if you don't want to pull more >> files. > > > Response - Could you please let me know which "ASSERT" do you suggest to > remove? Also, what exactly is meant by "don't want to pull more". I did not > understand this part as well. Apologies for too many questions! > > Thanks a lot! > > Animesh > -- 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 dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/a3be0029-16c6-436d-bc66-44648a716c8bn%40googlegroups.com.