Skip to content
Discussion options

You must be logged in to vote

So, we do not scale up ϵ_r in the plot but in code, so the plots you are showing make perfect sense.

See for example these lines, where this is applied in-code:

if depletion_handling
for iz in axes(ϵ, 3)
for iy in axes(ϵ, 2)
for ix in axes(ϵ, 1)
pt::CartesianPoint{T} = CartesianPoint{T}(mpx[ix], mpy[iy], mpz[iz])
ig = find_closest_gridpoint(pt, point_types.grid)
if is_undepleted_point_type(point_types.data[ig...])
ϵ[ix, iy, iz] *= scaling_factor_for_permittivity_in_undepleted_region(det.semiconductor) * (1

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by fhagemann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #514 on July 25, 2025 18:00.