Skip to content
Discussion options

You must be logged in to vote

A quick check revealed the following:
in the initial state of the weighting potential, all grid points except for the contact grid points are set to 0.
Then, we calculate the weighting potential using the SOR algorithm "into the bulk".
For the undepleted region, this apparently needs WAY more iteration steps if the max_tick_distance is set very small and therefore there are many grid points in the undepleted region.

When using calculate_electric_potential! or calculate_weighting_potential!, the maximum number of iterations is 50_000, and every 500 steps it checks whether it converges to 1e-7 (there was a typo in the docstring, that should be fixed by #531).

For max_tick_distance = 0.1u"mm":

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@JunwenDiao
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@JunwenDiao
Comment options

Answer selected by fhagemann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants