Skip to content

Commit

Permalink
remove guess of first value in explicit multistage scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
tommbendall committed Apr 29, 2024
1 parent c7afcae commit 0cb374c
Showing 1 changed file with 0 additions and 3 deletions.
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

0 comments on commit 0cb374c

Please sign in to comment.