I must have copied the wrong line out of the BoomerAMG website. Oops! I'll probably do that, then.
Thanks, Sean ________________________________ From: Pierre Jolivet <pie...@joliv.et> Sent: Friday, June 14, 2024 3:20 PM To: Mcintyre, Sean Michael <smm5...@psu.edu> Cc: petsc-users <petsc-users@mcs.anl.gov> Subject: Re: [petsc-users] Specify BoomerAMG aggressive coarsening interpolation type via options database You don't often get email from pie...@joliv.et. Learn why this is important<https://urldefense.us/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!G_uCfscf7eWS!fqMtyXmpXhyLmbuySkJstdPyqSidHeTEULH0vxZtYvcQeJP0UBlE8NspnoWucoy3_YWObGB5kVZg3yyPIcaJIA$ > On 14 Jun 2024, at 9:15 PM, Mcintyre, Sean Michael <smm5...@psu.edu> wrote: Pierre, That only specifies it for AMG levels that are not coarsened aggressively. Aggressively coarsened levels end up with the default multipass long-range interpolation. My bad, in your initial message, you mentioned the HYPRE_BoomerAMGSetInterpType() API, but I guess you meant to write HYPRE_BoomerAMGSetAggInterpType()? This is indeed not interfaced right now, but you could copy what’s currently done for -pc_hypre_boomeramg_interp_type and submit an MR. Thanks, Pierre Thanks, Sean ________________________________ From: Pierre Jolivet <pie...@joliv.et<mailto:pie...@joliv.et>> Sent: Friday, June 14, 2024 3:05 PM To: Mcintyre, Sean Michael <smm5...@psu.edu<mailto:smm5...@psu.edu>> Cc: petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> <petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>> Subject: Re: [petsc-users] Specify BoomerAMG aggressive coarsening interpolation type via options database You don't often get email from pie...@joliv.et<mailto:pie...@joliv.et>. Learn why this is important<https://urldefense.us/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!G_uCfscf7eWS!fqMtyXmpXhyLmbuySkJstdPyqSidHeTEULH0vxZtYvcQeJP0UBlE8NspnoWucoy3_YWObGB5kVZg3yyPIcaJIA$ > On 14 Jun 2024, at 8:42 PM, Mcintyre, Sean Michael <smm5...@psu.edu<mailto:smm5...@psu.edu>> wrote: This Message Is From an External Sender This message came from outside your organization. Hi there, I'd like to try a different long-range interpolation scheme with BoomerAMG's aggressive coarsening (defaults to multipass). Is there a way to specify this via the PETSc options database? I see in the BoomerAMG documentation that the appropriate function call would be HYPRE_BoomerAMGSetInterpType. I'd prefer to do it via the options database than put it directly into my code. Adding the -help option, I don't see anything like pc_hypre_boomeramg_agg_interp_type. Could this perhaps be added if there isn't currently a way to do it? It’s there already. $ ./ex1 -pc_type hypre -help|grep multipass -pc_hypre_boomeramg_interp_type: <now classical : formerly classical> Interpolation type (choose one of) classical direct multipass multipass-wts ext+i ext+i-cc standard standard-wts block block-wtd FF FF1 ext ad-wts ext-mm ext+i-mm ext+e-mm (None) Thanks, Pierre Thanks, Sean McIntyre