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

Overcorrection strategy for faster solving of Laplace #12

Open
brettviren opened this issue Jul 8, 2021 · 0 comments
Open

Overcorrection strategy for faster solving of Laplace #12

brettviren opened this issue Jul 8, 2021 · 0 comments

Comments

@brettviren
Copy link
Owner

There is a trick of over correcting to speed up FDM solving.

Selecting the correction factor is itself a (meta) optimization problem. An "under-over-correction" or an "over-over-correction" can be slower than the nominal unity factor and the best factor is somewhere in between. The linked blog finds an optimum over-correction factor or 1.94 but cautions that this optimum is a function of the boundary conditions, grid spacing (and presumably also the dimension of the domain).

The speed up can be substantial so even a guess which is not too far from optimal would be worth taking.

pochoir should allow a configurable correction factor, with a default of 1.0. A stretch-solution will provide support for performing the meta-optimization.

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

No branches or pull requests

1 participant