5.6.3. sesame.observables.get_jn

sesame.observables.get_jn(sys, efn, v, sites_i, sites_ip1, dl)[source]

Compute the electron current between sites site_i and sites_ip1.

Parameters:

sys: Builder :

The discretized system.

efn: numpy array of floats :

Values of the electron quasi-Fermi level for the entire system (as given by the drift diffusion Poisson solver).

v: numpy array of floats :

Values of the electrostatic potential for the entire system (as given by the drift diffusion Poisson solver).

sites_i: list of integers :

Indices of the sites the current is coming from.

sites_ip1: list of integers :

Indices of the sites the current is going to.

dl: numpy arrays of floats :

Lattice distances between sites sites_i and sites sites_ip1.

Returns:

jn: numpy array of floats :