Mercurial > repos > public > sbplib
view +grid/funcToMatrix.m @ 1310:eb015fe9605b feature/poroelastic
Add viscoelastic displacement BC for normal-tangential. Bugfix traction BC for normal-tangential
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 20 Jul 2020 22:06:33 -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