view +grid/funcToPlotMatrix.m @ 1278:ce422ba8964e feature/poroelastic

Add extra input pars to multiblock/Grid.getBoundary(), to be able to use the Staggered getBoundary method
author Martin Almquist <malmquist@stanford.edu>
date Sun, 07 Jun 2020 11:28:22 -0700
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