Mercurial > repos > public > sbplib
view +grid/funcToMatrix.m @ 975:47b48a97c675 feature/getBoundaryOperator
Stupid merge makes this branch dangerous. Merging with other branches will result in unexpected changes. Never merge this branch with anything. Closing branch.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Thu, 03 Jan 2019 13:24:39 +0100 |
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