newton_solver{ }#
Calling sequence
poisson{ newton_solver{ } }
Properties
usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)
items: maximum 1
Functionality
The Newton solver is used for solving the nonlinear Poisson equation.
It is solved with a Newton iteration using inexact line search.The Poisson equation is nonlinear because the charge carrier density \(\rho\) depends on the electrostatic potential \(\phi\), i.e. \(\rho(\phi)\).
For each Newton step a system of linear equations, \(A \cdot x = b\), is solved with a linear solver, in order to obtain a gradient.
This gradient is used for the inexact line search.
Generally, low temperature simulations make the Poisson equation extremely nonlinear at the beginning of the iteration and thus require more line search steps than usual.
Using debuglevel = 2 displays information on the line searchs steps (search_steps): In the .log file of your simulation, you can find more information on the convergence of the Newton solver
Parameters for solver of nonlinear poisson equation are as follows:
Nested keywords
newton_solver{ iterations }#
Calling sequence
poisson{ newton_solver{ iterations } }
Properties
usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)
type: integer
values: \(z \in \{1, 2, \dots\}\)
default: \(z=30\)
unit: \(\mathrm{-}\)
Functionality
Maximum number of iterations allowed in this solver.
Example
poisson{
between_fermi_levels{}
newton_solver{}
}
newton_solver{ search_steps }#
Calling sequence
poisson{ newton_solver{ search_steps } }
Properties
usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)
type: integer
values: \(z \in \{1, 2, \dots, 50\}\)
default: \(z=30\)
unit: \(\mathrm{-}\)
Functionality
—
Example
poisson{
between_fermi_levels{}
newton_solver{
search_steps = 40
}
}
newton_solver{ residual }#
Calling sequence
poisson{ newton_solver{ residual } }
Properties
usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)
type: real number
values:
[0.0, ...)default: \(r=10^{3}\) for 1D; \(r=10^{1}\) for 2D; \(r=10^{-4}\) for 3D
unit: \(\mathrm{cm^{-2}\,}\) for 1D; \(\mathrm{cm^{-1}\,}\) for 2D; \(\mathrm{none\,}\) for 3D
Functionality
—
Example
poisson{
between_fermi_levels{}
newton_solver{
residual = 1e2
}
}
newton_solver{ gradient_shift }#
Calling sequence
poisson{ newton_solver{ gradient_shift } }
Properties
usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)
type: real number
values: \(-10^{-6} \leq r \leq 10^{-6}\)
default: \(r=1e-11\)
unit: \(\mathrm{-}\)
Functionality
Slightly nudges the gradient in case it is effectively zero
Example
poisson{
between_fermi_levels{}
newton_solver{
residual = -1e-8
}
}