Skip to content

Add verbosity specifier types #973

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

Closed
wants to merge 5 commits into from
Closed

Conversation

jClugstor
Copy link
Member

Checklist

  • Appropriate tests were added
  • [ x] Any code changes were done in a way that does not break public API
  • [ x] All documentation related to code changes were updated
  • [ x] The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • [ x] Any new documentation only uses public API

Additional context

Provides the types and constructors needed for #962.

Each type has a kwarg constructor, one that takes a single Bool and sets every field to that Bool, one that takes nothing and sets default values for every field, and the default constructor is available, so that @set etc. works.

These will be useful when the types have more fields and more toggles for what can be printed during the solves.

```
"""
struct BVPVerbosity <: AbstractVerbositySpecifier
verbose::Any
Copy link
Member

@ErikQQY ErikQQY Mar 28, 2025

Choose a reason for hiding this comment

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

verbose can be Bool, Nothing, or NTuple right, why use Any here?

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