view +grid/funcToMatrix.m @ 921:19c05eefc8c6 feature/utux2D

Add warning that interfaceNonConforming in LaplaceCurve only works for Cartesian grids.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 02 Dec 2018 16:27:49 -0800
parents 5f75d7094983
children bc2be302df90
line wrap: on
line source

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