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

call_before_step_each_stage=False passes uninitialized aux to riemann solver #536

Open
GustafssonJonathan opened this issue Feb 3, 2016 · 2 comments

Comments

@GustafssonJonathan
Copy link

For sharpclaw passing to following options:
solver.aux_time_de = True
solver.call_before_step_each_stage = False

Seems to pass a uninitialized aux array to the Fortran Riemann solver. solver.call_before_step_each_stage = True works as expected.

@ketch
Copy link
Member

ketch commented Feb 25, 2016

Could you link to a full example that reproduces this behavior? Thanks.

@GustafssonJonathan
Copy link
Author

No problem. Here is a modified version of acoustics_2d_variable
The solver gives nan when
solver.before_step_each_stage = False
and works correctly when
solver.before_step_each_stage = True

On Thu, Feb 25, 2016 at 2:46 AM, David Ketcheson notifications@github.com
wrote:

Could you link to a full example that reproduces this behavior? Thanks.


Reply to this email directly or view it on GitHub
#536 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants