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

Improve time step too small error. #6035

Merged

Conversation

nilsdeppe
Copy link
Member

Proposed changes

@deborahferguson got the error message with a CCE run and admittedly it wasn't super clear. I think this is somewhat of an improvement, but could still probably use some work. The tricky bit is that there are a lot of reasons why the code could go unstable and result in a tiny time step size :(

Upgrade instructions

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

Further comments

@nilsdeppe nilsdeppe requested a review from wthrowe May 29, 2024 01:37
<< desired_step << " which, when divided by the slab size ("
<< current_step.slab().duration().value() << ") is below the tolerance "
<< smallest_relative_step_size << ". The current time is "
<< (current_step.slab().start() + current_step).value() << ".");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current time is time_step_id.substep_time() (a double).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! Thanks for the review :)

@nilsdeppe nilsdeppe merged commit c9e1af7 into sxs-collaboration:develop May 31, 2024
22 checks passed
@nilsdeppe nilsdeppe deleted the better_stepper_size_error branch May 31, 2024 12:59
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

Successfully merging this pull request may close these issues.

2 participants