5.4. sesame.solvers – Equilibrium and nonequilibrium solvers

Sesame offers several solvers to address quickly specific problems (equilibrium potential, IV curve) without having to manage a cumbersome machinery to get to the solution.

5.4.1. sesame.solvers.default – Default solver

The functions below belong to the default solver sesame.solvers.default which is created upon loading sesame. We made these functions available once sesame is loaded making the solver completely transparent for the user. The solver stores the equilibrium potential of the system as soon as it has been computed.

solve(system[, compute, guess, tol, …]) Solve the drift diffusion Poisson equation on a given discretized system out of equilibrium.
IVcurve(system, voltages, file_name[, …]) Solve the Drift Diffusion Poisson equations for the voltages provided.

5.4.2. Creating another solver

Making another solver is done by creating an instance of the sesame.solvers.Solver class. This can be used to turn off the use of the MUMPS library even when the library is available.