view +grid/funcToMatrix.m @ 1276:bc2be302df90 feature/poroelastic

Fix typos in comments
author Martin Almquist <malmquist@stanford.edu>
date Sun, 07 Jun 2020 11:22:29 -0700
parents 5f75d7094983
children
line wrap: on
line source

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