Navigation

Operators and Keywords

Function List:

C++ API

Function File: [A] = bim3a_advection_diffusion (mesh, alpha, v)

Build the Scharfetter-Gummel stabilized stiffness matrix for a diffusion-advection problem.

The equation taken into account is:

- div (alpha ( grad (u) - grad (v) u)) = f

where v is a piecewise linear continuous scalar functions and alpha is a piecewise constant scalar function.

See also: bim3a_rhs, bim3a_reaction, bim3a_laplacian, bim3c_mesh_properties.

Package: bim