view +grid/funcToPlotMatrix.m @ 695:ba0d31ce4121 feature/quantumTriangles

Changed jacobian at right side of the penalty term in 2D, seems like it is working
author Ylva Rydin <ylva.rydin@telia.com>
date Tue, 19 Sep 2017 09:51:08 +0200
parents 5f75d7094983
children bc2be302df90
line wrap: on
line source

% Converts a gridfunction to a plot matrix
% Takes a grid function and and a structured grid.
function F = funcToPlotMatrix(g, gf)
    F = reshapeToPlotMatrix(gf, g.size());
end