Skip to content

Add option to start with non zero output iteration#1333

Closed
AlexanderSinn wants to merge 1 commit into
Hi-PACE:developmentfrom
AlexanderSinn:Add_option_to_start_with_non_zero_output_iteration
Closed

Add option to start with non zero output iteration#1333
AlexanderSinn wants to merge 1 commit into
Hi-PACE:developmentfrom
AlexanderSinn:Add_option_to_start_with_non_zero_output_iteration

Conversation

@AlexanderSinn
Copy link
Copy Markdown
Member

@AlexanderSinn AlexanderSinn commented Jan 5, 2026

This PR adds the ability to have the diagnostics start with a nonzero iteration through the input parameter:

hipace.output_iteration_offset = 7

This can be useful when combining outputs from restarted simulations. Note that one still has to be careful, as one time step will be present in both outputs.

image
  • Small enough (< few 100s of lines), otherwise it should probably be split into smaller PRs
  • Tested (describe the tests in the PR description)
  • Runs on GPU (basic: the code compiles and run well with the new module)
  • Contains an automated test (checksum and/or comparison with theory)
  • Documented: all elements (classes and their members, functions, namespaces, etc.) are documented
  • Constified (All that can be const is const)
  • Code is clean (no unwanted comments, )
  • Style and code conventions are respected at the bottom of https://github.com/Hi-PACE/hipace
  • Proper label and GitHub project, if applicable

@AlexanderSinn
Copy link
Copy Markdown
Member Author

Superseded by #1339

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.

Restart with diags start from non-zero step

1 participant