fixed: set fe.iel in ASMsxDLag::evalSolution
This commit is contained in:
parent
5a671fa594
commit
6a2959d9ca
@ -738,6 +738,8 @@ bool ASMs2DLag::evalSolution (Matrix& sField, const IntegrandBase& integrand,
|
|||||||
if (!Lagrange::computeBasis(fe.N,dNdu,p1,fe.xi,p2,fe.eta))
|
if (!Lagrange::computeBasis(fe.N,dNdu,p1,fe.xi,p2,fe.eta))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
fe.iel = MLGE[iel-1];
|
||||||
|
|
||||||
// Compute the Jacobian inverse
|
// Compute the Jacobian inverse
|
||||||
fe.detJxW = utl::Jacobian(Jac,fe.dNdX,Xnod,dNdu);
|
fe.detJxW = utl::Jacobian(Jac,fe.dNdX,Xnod,dNdu);
|
||||||
|
|
||||||
|
@ -981,6 +981,8 @@ bool ASMs3DLag::evalSolution (Matrix& sField, const IntegrandBase& integrand,
|
|||||||
if (!Lagrange::computeBasis(fe.N,dNdu,p1,fe.xi,p2,fe.eta,p3,fe.zeta))
|
if (!Lagrange::computeBasis(fe.N,dNdu,p1,fe.xi,p2,fe.eta,p3,fe.zeta))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
fe.iel = MLGE[iel-1];
|
||||||
|
|
||||||
// Compute the Jacobian inverse
|
// Compute the Jacobian inverse
|
||||||
fe.detJxW = utl::Jacobian(Jac,fe.dNdX,Xnod,dNdu);
|
fe.detJxW = utl::Jacobian(Jac,fe.dNdX,Xnod,dNdu);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user