Skip to content

Expose AMS iterations in config and update some AMS options#625

Open
simlapointe wants to merge 6 commits intomainfrom
simlapointe/ams-defaults
Open

Expose AMS iterations in config and update some AMS options#625
simlapointe wants to merge 6 commits intomainfrom
simlapointe/ams-defaults

Conversation

@simlapointe
Copy link
Contributor

Tests have shown that increasing the number of internal AMS iterations and the number of multigrid cycles, as well as changing AMS's coarse relaxation type leads to a significant reduction in the number of GMRES iterations and a noticeable reduction in overall runtime. Specifically, this PR:

  • Exposes the number of AMS iterations in the config file (config["Solver"]["Linear"]["AMSMaxIts"]).
  • Changes the default number of AMS iterations from 1 to the solution order (config["Solver"]["Order"]).
  • Changes the default number of multigrid cycles (config["Solver"]["Linear"]["MGCycleIts"]) from 1 to 2 when AMS is used as the coarse solver.
  • Changes the AMS coarse relaxation type to direct Gaussian elimination.

@simlapointe simlapointe requested a review from hughcars February 6, 2026 19:16
@simlapointe simlapointe force-pushed the simlapointe/ams-defaults branch from 6ef3bdc to 28acd08 Compare February 11, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant