Mercurial > repos > public > sbplib
view +util/get_grid.m @ 1274:8aa0909125a4 feature/poroelastic
Add support for plotting and evaluating on curvilinear multiblock staggered grids
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 02 Jun 2020 11:44:38 -0700 |
parents | 7067bf8adbfa |
children |
line wrap: on
line source
% [x,h] = get_grid(a,b,m) function [x,h] = get_grid(a,b,m) % TODO: allow the interval to be a vector x = linspace(a,b,m)'; h = (b-a)/(m-1); end