view +grid/funcToPlotMatrix.m @ 573:efe2dbf9796e feature/utux2D

Remove data input from boundary condition function
author Martin Almquist <martin.almquist@it.uu.se>
date Sun, 03 Sep 2017 21:27:09 +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