Mercurial > repos > public > sbplib
comparison +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 |
comparison
equal
deleted
inserted
replaced
1333:0aefcb30cab4 | 1334:df8c71b80c33 |
---|---|
188 end | 188 end |
189 end | 189 end |
190 end | 190 end |
191 end | 191 end |
192 | 192 |
193 gRef = grid.equidistant([m_u, m_v], {0,1}, {0,1}); | 193 refObj = scheme.Elastic2dVariableAnisotropic(g.logic, order, rho_tilde, PHI, opSet, [], hollow); |
194 refObj = scheme.Elastic2dVariableAnisotropic(gRef, order, rho_tilde, PHI, opSet, [], hollow); | |
195 | 194 |
196 %---- Set object properties ------ | 195 %---- Set object properties ------ |
197 obj.RHO = spdiag(rho); | 196 obj.RHO = spdiag(rho); |
198 | 197 |
199 % Volume quadrature | 198 % Volume quadrature |