Skip to content

Commit

Permalink
Fixed issue with gap tolerance in sliding-node-on-facet.
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMaas1978 committed Oct 3, 2024
1 parent 1745a3a commit b27cc08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FEBioMech/FESlidingInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,8 @@ bool FESlidingInterface::Augment(int naug, const FETimeInfo& tp)
// calculate and print convergence norms
double lnorm = 0, gnorm = 0;
if (normL1 != 0) lnorm = fabs(normL1 - normL0)/normL1; else lnorm = fabs(normL1 - normL0);
if (normg1 != 0) gnorm = fabs(normg1 - m_normg0)/normg1; else gnorm = fabs(normg1 - m_normg0);
// if (normg1 != 0) gnorm = fabs(normg1 - m_normg0)/normg1; else gnorm = fabs(normg1 - m_normg0);
gnorm = fabs(normg1 - m_normg0);

feLog(" sliding interface # %d\n", GetID());
feLog(" CURRENT REQUIRED\n");
Expand Down

0 comments on commit b27cc08

Please sign in to comment.