Closed zjibben closed 4 years ago
Could you try the latest development?
This seems to be the case in the current master. I'm looking here for a set_fixed_iter
method:
There doesn't seem to be a Fortran interface to the C++ method MLMG::setFixedIter
:
Perhaps I'm looking in the wrong place?
It's in the development
branch, but not in master
yet. We merge from development
to master
at the beginning of each month.
Oh perfect, thanks! I built and it's doing exactly what I need. If I run into any issues I'll let you know.
I would like to use AMReX's MLMG as a preconditioner, or use it as an interface to Hypre's BoomerAMG as a preconditioner, if possible. It looks like I should be able to do the latter by setting
max_coarsening_level=0
on my linear operator (abeclaplacian
), which the documentation indicates would disable geometric multigrid.However, the Fortran interface has no
set_fixed_iter
method inamrex_multigrid
, which would interface toMLMG::setFixedIter
. I thought I might be able to workaround by choosingset_max_iter
and setting my tolerances to 0.0 to force a fixed number of iterations, but this results in a call toamrex::Abort
. Would you addset_fixed_iter
to the Fortran interface so I can set up a preconditioner? Thanks!