Mercurial > repos > public > sbplib
changeset 1127:0aed89043ad6 feature/laplace_curvilinear_test
In LaplaceCurvilinear, use grid spacings from 1d opSets instead of using grid.scaling()
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 15 May 2019 16:55:02 -0700 |
parents | 0e5dc5dfa559 |
children | 3a9262c045d0 |
files | +scheme/LaplaceCurvilinear.m |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/+scheme/LaplaceCurvilinear.m Mon Apr 29 12:55:51 2019 -0700 +++ b/+scheme/LaplaceCurvilinear.m Wed May 15 16:55:02 2019 -0700 @@ -80,15 +80,13 @@ m_v = m(2); m_tot = g.N(); - h = g.scaling(); - h_u = h(1); - h_v = h(2); - - % 1D operators ops_u = opSet(m_u, {0, 1}, order); ops_v = opSet(m_v, {0, 1}, order); + h_u = ops_u.h; + h_v = ops_v.h; + I_u = speye(m_u); I_v = speye(m_v);