Skip to content

Commit 9f2df9b

Browse files
committed
Update AdvectionEquation_ND_FD.py
1 parent 3fb0b64 commit 9f2df9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pySDC/implementations/problem_classes/AdvectionEquation_ND_FD.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,13 @@ def solve_system(self, rhs, factor, u0, t):
169169
)[0].reshape(self.params.nvars)
170170
return me
171171

172-
def u_exact(self, t):
172+
def u_exact(self, t, u_init=None, t_init=None):
173173
"""
174174
Routine to compute the exact solution at time t
175175
176176
Args:
177177
t (float): current time
178+
u_init, t_init: unused parameters for common interface reasons
178179
179180
Returns:
180181
dtype_u: exact solution

0 commit comments

Comments
 (0)