Mercurial > repos > public > sbplib
changeset 1334:df8c71b80c33 feature/D2_boundary_opt
Use the logic grid associated with a CurvilinearGrid instead of creating a new one
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Sat, 07 May 2022 10:40:47 +0200 |
parents | 0aefcb30cab4 |
children | 8d9fc7981796 |
files | +scheme/Elastic2dCurvilinearAnisotropic.m |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/+scheme/Elastic2dCurvilinearAnisotropic.m Sat May 07 10:30:59 2022 +0200 +++ b/+scheme/Elastic2dCurvilinearAnisotropic.m Sat May 07 10:40:47 2022 +0200 @@ -190,8 +190,7 @@ end end - gRef = grid.equidistant([m_u, m_v], {0,1}, {0,1}); - refObj = scheme.Elastic2dVariableAnisotropic(gRef, order, rho_tilde, PHI, opSet, [], hollow); + refObj = scheme.Elastic2dVariableAnisotropic(g.logic, order, rho_tilde, PHI, opSet, [], hollow); %---- Set object properties ------ obj.RHO = spdiag(rho);