<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Thanks.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">So, is it like if I run the same code using -pc_type gamg then it will use algebraic multigrid to solveĀ the problem?</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">I have hypre configured with --download-hypre.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Agin, if I want to use geometric multigrid, should I go with domain management (DM)?</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Now I am planning to go through examples with DM. Will it be a right approach to start?</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Thanks again.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Sincerely,</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Huq</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 18, 2018 at 4:23 PM Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The manual is pretty clear on this, but your code is purely algebraic, that is you do not use a DM, and so you will need to use algebraic multigrid (AMG). So you want to look at AMG preconditioners (-pc_type gamg [or hypre if you configured with --download-hypre]).<div><br></div><div>Mark</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 18, 2018 at 1:28 PM Fazlul Huq via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Hello PETSc developers,</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">I have solved a problem using ksp. Please find the problem in attachment 1 and PETSc code for solution in attachment 2.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Now I need to solve the sameĀ problem using multigrid.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">I never solved problem using multigrid. Can you please guide me about steps that I should follow</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">to solve this problem using multigrid.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Thanks.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Sincerely,</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Huq</div>-- <br><div dir="ltr" class="m_-1289338293844840740m_-2463867973769507244gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><div><font face="comic sans ms, sans-serif">Fazlul Huq</font></div><div><font face="comic sans ms, sans-serif">Graduate Research Assistant</font></div><div><font face="comic sans ms, sans-serif">Department of Nuclear, Plasma & Radiological Engineering (NPRE)</font></div><div><font face="comic sans ms, sans-serif">University of Illinois at Urbana-Champaign (UIUC)</font></div><div><font face="comic sans ms, sans-serif">E-mail: <a href="mailto:huq2090@gmail.com" target="_blank">huq2090@gmail.com</a></font></div></div></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><div><font face="comic sans ms, sans-serif">Fazlul Huq</font></div><div><font face="comic sans ms, sans-serif">Graduate Research Assistant</font></div><div><font face="comic sans ms, sans-serif">Department of Nuclear, Plasma & Radiological Engineering (NPRE)</font></div><div><font face="comic sans ms, sans-serif">University of Illinois at Urbana-Champaign (UIUC)</font></div><div><font face="comic sans ms, sans-serif">E-mail: <a href="mailto:huq2090@gmail.com" target="_blank">huq2090@gmail.com</a></font></div></div></div></div></div></div></div>