view +grid/funcToPlotMatrix.m @ 883:76efb6a7b466 feature/poroelastic

Add Jonatans bugfix to bcSetup.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 02 Nov 2018 10:44:59 -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