-
Notifications
You must be signed in to change notification settings - Fork 192
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
Convert initialization action for time to mutator #4513
Convert initialization action for time to mutator #4513
Conversation
/// and `Tags::Next<Tags::TimeStepId>` is the initial time. | ||
template <typename Metavariables, bool UsingLts> | ||
struct TimeStepping { | ||
using time_stepper_t = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[optional] This is a "traditional" type alias, not a metavariable, so should be camel case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will do this change now
/// Since the evolution has not started yet, initialize the state | ||
/// _before_ the initial time. So `Tags::TimeStepId` is undefined at this point, | ||
/// and `Tags::Next<Tags::TimeStepId>` is the initial time. | ||
template <typename Metavariables, bool UsingLts> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also pass in the step_chooser_simple_tags
directly instead of the Metavariables, but I'm totally fine doing that later in order to get this merge :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will do something later when I deal with step_chooser_compute_tags (which are now handled by calling AddComputeItems, but should be able to just add them to one of the initialization mutators)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See also #4484.
4f28b96
to
a71e3df
Compare
a71e3df
to
95def92
Compare
Proposed changes
Upgrade instructions
Code review checklist
make doc
to generate the documentation locally intoBUILD_DIR/docs/html
.Then open
index.html
.code review guide.
bugfix
ornew feature
if appropriate.Further comments