Closed gridley closed 2 years ago
@gridley You can't use step_source
with SharpClaw. SharpClaw is a method-of-lines discretization and step_source
is for operator splitting. You should use dq_src
instead, and the function you provide should return the rate of change of q
due to the source term. There is an example showing this usage in clawpack/pyclaw/examples/euler_2d/shock_bubble_interaction.py
.
Hi all,
I get this error when attempting to use step_source in with a sharpclaw solver. Is this functionality supported with sharpclaw?
Should be able to reproduce by simpling setting the step_source attribute on any SharpClaw solver instance. Here's my chunk of code: