Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electromagnetic solver settings #266

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Electromagnetic solver settings #266

merged 2 commits into from
Oct 17, 2024

Conversation

bendudson
Copy link
Owner

Adding output diagnostics for aparSolver. Changing defaults to allow more iterations, which seem to sometimes be necessary.

Saves mean number of iterations and under-relaxation count.
Useful to diagnose performance issues.
Set default type to "naulin".

Increase maxits default to 1000. Transiently it can require very large
numbers of iterations to converge to required tolerance.  Stopping
early resulted in the error gradually increasing with each call to
aparSolver. Tried several ways to improve convergence without
success. Seems to be transient and once density (?) evolves the
iterations go back to <20.
@bendudson bendudson merged commit a7b552d into master Oct 17, 2024
3 checks passed
@bendudson bendudson deleted the electromagnetic-restart branch October 17, 2024 21:13
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