ppc_porous_medium, a C code which solves the porous medium equation, dudt=Del^2(u^m), from Rouben Rostamian's "Programming Projects in C";
The information on this web page is distributed under the MIT license.
ppc_porous_medium is available in a C version.
porous_medium_exact, a C code which returns an exact solution of the porous medium equation (PME), dudt=Del^2(u^m), a partial differential equation (PDE) related to the diffusion equation, based on the Barenblatt solution.
ppc_xmalloc, a C code which manages the allocation of memory, from Rouben Rostamian's "Programming Projects in C";