Algebraic multigrid with filtering contact (AMGFContact) preconditioner for contact linear systems#1542
Open
Algebraic multigrid with filtering contact (AMGFContact) preconditioner for contact linear systems#1542
Conversation
…es with exact contact Jacobians
…n error in the gcc Release build due to a potential null pointer deference warning (error) in the body of the iterative solver GetComm method. Replacing the iterative solver GetComm call with a HypreParMatrix GetComm call, should serve the same purpose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the capability of using AMGF (algebraic multigrid with filtering arXiv preprint)-preconditioned Krylov-subspace linear solvers for the Newton linear solves that arise in outer loop solves of contact problems.
ContactData::addContactInteractioncalls.mfem::HypreParMatrix) call. Much of this infastructure is in the utilities of continuationsolvers but a version most suitable for usage insmithwould be best for less complex code.print_levelandpreconditioner_print_levelfrom linear solver options in thebuildPreconditionermethod.For future investigation/potential PR(s)
(1) Make
AMGFContactrobust to indefiniteness issues stemming from using exact Hessians in Newton solves.(2) More careful consideration for setting outer/inner tolerances (as well as norms used) for Newton-Krylov.
Note --
AMGFContactpreconditioned Krylov-subspace methods will fails unless the problem is a contact problem. The failure is indicated by mfem generated error messages indicating that the subspace transfer operator has not been set.