Mercurial > repos > public > sbplib
view +grid/funcToMatrix.m @ 1283:70939ea9a71f feature/poroelastic
Bugfix in Elastic2dVariable
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 23 Jun 2020 13:31:01 -0700 |
parents | bc2be302df90 |
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