Function Reference: bim3a_osc_advection_diffusion

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

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

For details on the Orthogonal Subdomain Collocation (OSC) method see: M.Putti and C.Cordes, SIAM J.SCI.COMPUT. Vol.19(4), pp.1154-1168, 1998.

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_osc_laplacian, bim3a_reaction, bim3a_laplacian, bim3c_mesh_properties

Source Code: bim3a_osc_advection_diffusion