Skip to content

Commit

Permalink
crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Tomin authored and Pavel Tomin committed Dec 20, 2024
1 parent f4686d8 commit 1a45f32
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ void SolidMechanicsLagrangeContact::initializePreSubGroups()
if( m_useLocalYieldAcceleration )
{
GEOS_LOG_LEVEL_RANK_0( 1, GEOS_FMT( "{}: local yield acceleration enabled", getName() ) );
initializeAccelerationVariables( domain );
}

}
Expand All @@ -220,6 +219,11 @@ void SolidMechanicsLagrangeContact::setupSystem( DomainPartition & domain,
{
createPreconditioner( domain );
}

if( m_useLocalYieldAcceleration )
{
initializeAccelerationVariables( domain );
}
}

void SolidMechanicsLagrangeContact::implicitStepSetup( real64 const & time_n,
Expand Down

0 comments on commit 1a45f32

Please sign in to comment.