Mercurial > repos > public > sbplib
diff +scheme/Elastic2dCurvilinearAnisotropic.m @ 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 | 412b8ceafbc6 |
children | da61892884a4 |
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);