Skip to content

Commit

Permalink
fixed: set fe.iel in ASMsxDLag::evalSolution
Browse files Browse the repository at this point in the history
  • Loading branch information
akva2 committed Nov 10, 2020
1 parent 5a671fa commit 6a2959d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ASM/ASMs2DLag.C
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,8 @@ bool ASMs2DLag::evalSolution (Matrix& sField, const IntegrandBase& integrand,
if (!Lagrange::computeBasis(fe.N,dNdu,p1,fe.xi,p2,fe.eta))
return false;

fe.iel = MLGE[iel-1];

// Compute the Jacobian inverse
fe.detJxW = utl::Jacobian(Jac,fe.dNdX,Xnod,dNdu);

Expand Down
2 changes: 2 additions & 0 deletions src/ASM/ASMs3DLag.C
Original file line number Diff line number Diff line change
Expand Up @@ -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))
return false;

fe.iel = MLGE[iel-1];

// Compute the Jacobian inverse
fe.detJxW = utl::Jacobian(Jac,fe.dNdX,Xnod,dNdu);

Expand Down

0 comments on commit 6a2959d

Please sign in to comment.