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 guess of first value in explicit multistage scheme #506

Merged
merged 2 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions gusto/time_discretisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,9 +959,6 @@ def solve_stage(self, x0, stage):
if self.increment_form:
self.x1.assign(x0)

# Use x0 as a first guess (otherwise may not converge)
self.x_out.assign(x0)

for i in range(stage):
self.x1.assign(self.x1 + self.dt*self.butcher_matrix[stage-1, i]*self.k[i])
for evaluate in self.evaluate_source:
Expand Down
Binary file modified integration-tests/data/linear_sw_wave_chkpt.h5
Binary file not shown.
Loading