view +grid/funcToPlotMatrix.m @ 813:b374a8aa9246 feature/grids

Correct interface penalty strength in Elastic2dVariable
author Martin Almquist <malmquist@stanford.edu>
date Wed, 08 Aug 2018 14:42:24 -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