Skip to content

Symbolic tracing in staggered grid can return Nans #352

@cmhyett

Description

@cmhyett
Contributor

The way tracing was implemented in staggered_discretize.jl zeros were padded to dynamic variables to ensure we didn't get two copies of the update when performing the split step integration. Unfortunately this is not at all the right way to do this. It is not correct if we have inhomogeneous terms and can return Inf if we divide by the variable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @cmhyett

      Issue actions

        Symbolic tracing in staggered grid can return Nans · Issue #352 · SciML/MethodOfLines.jl