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
Need to be able to display times on console in DTIME #24813
Labels
Comments
YaqiWang
added a commit
to YaqiWang/moose
that referenced
this issue
Jun 24, 2023
YaqiWang
added a commit
to YaqiWang/moose
that referenced
this issue
Jun 24, 2023
YaqiWang
added a commit
to YaqiWang/moose
that referenced
this issue
Jun 24, 2023
YaqiWang
added a commit
to YaqiWang/moose
that referenced
this issue
Jun 24, 2023
YaqiWang
added a commit
to YaqiWang/moose
that referenced
this issue
Jun 24, 2023
YaqiWang
added a commit
to YaqiWang/moose
that referenced
this issue
Jun 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reason
For depletion calculations in reactor analysis, the time step sizes are sometimes in days and the end time can reach few years. Printing time in seconds makes the screen output non-intuitive. It is desired to print times in DTIME format (https://www.gnu.org/software/pspp/manual/html_node/Time-and-Date-Formats.html) if users want.
Design
I propose to add a parameter in
Console
liketime_format
that users can change how times and time step sizes look. The default can be in second without the unit. It is noted thatConsole
already had two parameterstime_precision
andscientific_time
to control how times are outputted. Adding a new parameter makes sense to me. It is also desired thatConsole
provides a setter so that applications can change the format programmatically.Impact
It is not going to have any impact to calculations but rather a new feature that improves the screen outputs.
The text was updated successfully, but these errors were encountered: