> On 14 Jun 2024, at 9:15 PM, Mcintyre, Sean Michael <[email protected]> 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 <[email protected] <mailto:[email protected]>> > Sent: Friday, June 14, 2024 3:05 PM > To: Mcintyre, Sean Michael <[email protected] <mailto:[email protected]>> > Cc: [email protected] <mailto:[email protected]> > <[email protected] <mailto:[email protected]>> > Subject: Re: [petsc-users] Specify BoomerAMG aggressive coarsening > interpolation type via options database > > You don't often get email from [email protected] <mailto:[email protected]>. > Learn why this is important > <https://urldefense.us/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!G_uCfscf7eWS!ZMkIqDj9wjnbJJJRwjpSKWP_9bMqsx4I-iuBNeSAp6_8RFDzh-EIAoNvZjpO5ZJPD9eYvIA-O5IK6XUkDjkRPA$ > > > > >> On 14 Jun 2024, at 8:42 PM, Mcintyre, Sean Michael <[email protected] >> <mailto:[email protected]>> 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
