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

Compute runtime diagnostics #51

Open
dwillcox opened this issue Feb 10, 2021 · 1 comment · Fixed by #82
Open

Compute runtime diagnostics #51

dwillcox opened this issue Feb 10, 2021 · 1 comment · Fixed by #82
Assignees

Comments

@dwillcox
Copy link
Member

Compute runtime diagnostics every so many steps.

To start, can simply implement the sums & averages from reduce_data.py using AMReX reductions.

We'll have to generate code for the reduction kernels & reduction variables, ofc.

Save the reduced data into an HDF5 file with an entry per diagnostic timestep.

Also, when we restart from a checkpoint, if that HDF5 file is in the current directory, we should delete entries at timesteps later than the restart timestep before resuming the simulation.

@dwillcox dwillcox self-assigned this Feb 10, 2021
@dwillcox
Copy link
Member Author

Also:

  • Spherical Harmonic decomposition (64 or 128 eq directions is prohibitively slow, even in 1D, with python postprocessing)
  • Spatial Fourier transforms (less expensive with python postprocessing)

@srichers srichers linked a pull request Mar 1, 2023 that will close this issue
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 a pull request may close this issue.

1 participant