Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove theta() function from ImplicitSolver base class. #5441

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

JustinRayAngus
Copy link
Contributor

This PR provides some minor cleanup to the implicit solvers.

  1. Added the simulation time step (potentially adaptive) as a member to the ImplicitSolver base class. This removes the need to circularly pass a_dt from the implicit solver to the nonlinear solver and back to functions in the implicit solver class (e.g., ComputeRHS()).

  2. The time step passed to m_nlsolver->Solve() inside OneStep() from the Implicit solvers is now the appropriate fractional time step. This removes the need for the theta() function called by the preconditioner. The theta() function is removed from the ImplicitSolver base class.

@JustinRayAngus JustinRayAngus added cleaning Clean code, improve readability component: implicit solvers Anything related to implicit solvers labels Nov 4, 2024
@JustinRayAngus JustinRayAngus force-pushed the implicit_mod branch 3 times, most recently from d48ff80 to d1439af Compare November 11, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleaning Clean code, improve readability component: implicit solvers Anything related to implicit solvers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants