Skip to content

bugs on nSubsteps #313

@weiyuan-jiang

Description

@weiyuan-jiang

It was reported and confirmed by me that nSubSteps becomes zero here ( both main and develop branch)

nSubSteps = ceiling(cdt / dt_cfl)
dt = cdt/nSubSteps

It turns out dt_cfl is a big negative value when it crashes. We can add a protection to set nSubSteps to zero. But I am wondering if the bug is from the other place that makes dt_cfl negative

@amdasilva

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