Skip to content

Commit

Permalink
Partially revert change to newmark-beta helper method (idaholab#18178)
Browse files Browse the repository at this point in the history
  • Loading branch information
cticenhour authored and jbadger95 committed Aug 9, 2021
1 parent a0623b2 commit d4dfbd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/src/timeintegrators/NewmarkBeta.C
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ NewmarkBeta::computeADTimeDerivatives(DualReal & ad_u_dot,
const auto & u_dot_old = (*_sys.solutionUDotOld())(dof);
const auto & u_dotdot_old = (*_sys.solutionUDotDotOld())(dof);

ad_u_dotdot = (*_solution)(dof);
// Seeds ad_u_dotdot with _ad_dof_values and associated derivatives provided via ad_u_dot from MooseVariableData
ad_u_dotdot = ad_u_dot;

computeTimeDerivativeHelper(ad_u_dot, u_old, u_dot_old, ad_u_dotdot, u_dotdot_old);
}
Expand Down

0 comments on commit d4dfbd7

Please sign in to comment.