Code covered by the BSD License  

Highlights from
Double porosity model

image thumbnail
from Double porosity model by Jan Valdman
Finite element solution of the double porosity model and its a posteriori error estimate

show_piecewise_linear(linear_vector,elements3,coordinates)
function show_piecewise_linear(linear_vector,elements3,coordinates)
coordinatesx=coordinates(:,1);
coordinatesy=coordinates(:,2);
fill3(coordinatesx(elements3)',coordinatesy(elements3)',linear_vector',linear_vector')
%view(0,90);
%colorbar
shading flat %to see finite elemens or not


Contact us at files@mathworks.com