view +grid/funcToPlotMatrix.m @ 1274:8aa0909125a4 feature/poroelastic

Add support for plotting and evaluating on curvilinear multiblock staggered grids
author Martin Almquist <malmquist@stanford.edu>
date Tue, 02 Jun 2020 11:44:38 -0700
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