view +grid/funcToPlotMatrix.m @ 1335:8d9fc7981796 feature/D2_boundary_opt

Calculate width for all orders
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Sat, 07 May 2022 10:41:22 +0200
parents bc2be302df90
children
line wrap: on
line source

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