Skip to content

add option to enable species clipping on retry #1964

@zingale

Description

@zingale

We recently turn off species clipping globally, which helps for a lot of problems, but sometimes causes issues. We could have an option like integrator.retry_swap_clipping that works like integrator.retry_swap_jacobian and turns on clipping for the burn retry. This should be easy to implement.

One reason why clipping might be needed in some cases is if the SDC advection term is trying to do too much over a timestep and driving the species negative faster than the reactions want to create them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions