Mercurial > repos > public > sbplib
view +grid/funcToMatrix.m @ 1294:fe712a1fca3f feature/poroelastic
Add frictional fault interface in Elastic2dAnisotropicCurve
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Thu, 02 Jul 2020 15:00:21 -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