bisection{ }#
Calling sequence
poisson{ bisection{ } }
Properties
usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)
items: maximum 1
Functionality
Parameters for bisection search. Used for the initial solution of the Poisson equation when charge_neutral = yes is set. Bisection is performed in order to achieve local charge neutrality at each grid point:
Thus, a true classical charge neutrality is computed for classical carrier and doping situations.
Additionally, bisection is also used to determine the electrostatic potential at which contacts become charge neutral, which is also needed for ohmic contacts and charge-neutral contacts.
The bisection for these contacts is performed in any case, i.e. independently to the bisection used when charge_neutral = yes is set.
The bisection method is a well known algorithm for finding the root of a function.
The delta is the so-called convergence tolerance parameter.
Specifically in nextnano++ we use this method to find the initial solution of the Poisson equation that generally converges very fast using the default parameters and no extra tuning is required.
Warning
Bisection is used in all algorithm looking for charge neutrality, and the case of fully ionized dopants especially at very low temperatures, it is very difficult to achieve numerically. If bisection fails in such cases, the most likely good solution is to increase bisection{ delta } much.
If bisection failure is not related to neither ohmic contacts nor charge-neutral contacts, then setting bisection{ robust } to no is an acceptable solution, yet NOT RECOMMENDED.
It may result in an initial electric potential to be a nonsense, which may or may not impact the convergence adversely.
Example
poisson{
between_fermi_levels{}
bisection{}
}
Nested keywords
bisection{ delta }#
Calling sequence
poisson{ bisection{ delta } }
Properties
usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)
type: real number
values:
[0.0, ...)default: \(r=1e3\)
unit: \(\mathrm{V}\)
Functionality
Defines the range of bisection search.
Example
poisson{
between_fermi_levels{}
bisection{
delta = 7.0
}
}
bisection{ residual }#
Added in version 2.4.27.
Calling sequence
poisson{ bisection{ residual } }
Properties
usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)
type: real number
values:
[0.0, ...)default: \(r=1e3\)
unit: \(\mathrm{cm^{-3}}\)
Functionality
Residual of the bisection algorithm.
Not used if bisection{ robust } is set to yes.
Example
poisson{
between_fermi_levels{}
bisection{
residual = 1e1
}
}
bisection{ iterations }#
Added in version 2.4.27.
Calling sequence
poisson{ bisection{ iterations } }
Properties
usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)
type: integer
values: \(z \in \{1, 2, \dots, 100\}\)
default: \(z=40\)
unit: \(\mathrm{-}\)
Functionality
Maximum number of iterations allowed in this solver.
Not used if bisection{ robust } is set to yes.
Example
poisson{
between_fermi_levels{}
bisection{
iterations = 60
}
}
bisection{ robust }#
Changed in version 4.0.0.
Calling sequence
poisson{ bisection{ robust } }
Properties
usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)
type: choice
values:
yesornodefault:
yes
Functionality
When robust = yes then a slower charge neutrality algorithm designed to be stable for large band gaps or low temperatures.
Note
The bisection algorithm is also used for initializing quasi-Fermi levels in Ohmic and charge-neutral contacts.
In this case, the values specified in the input file may become internally modified.
- iterations is always increased to be at least 40
- residual is reduced to be at most 1e3 cm-3
- robust is always equal yes
Therefore, the contact setup ignores bisection definitions which provide lower accuracy than these default settings.
The intrinsic density in GaN at T=300 K is of the order 1e-10 cm^-3, even smaller in AlN. Extremely low carrier densities may be also expected at low temperatures. In such cases the residual needs to be adjusted to obtain reasonable initialization of the contacts.
Attention
Reducing the default value of residual may result in significantly longer initialization times, especially in 3D simulations.
Warning
Setting bisection{ robust } to no may result in an initial electric potential to be a nonsense, which may or may not impact the convergence adversely.
Example
poisson{
between_fermi_levels{}
bisection{
robust = yes
}
}