Skip to content

Conversation

@vivi235711
Copy link
Contributor

@vivi235711 vivi235711 commented Nov 20, 2025

Summary

This PR adds optional HDF5 and part output for three psidm derived fields computed in ELBDM_DerivedField.cpp with Richardson extrapolation 2nd order correctness.

New Options

In Input__Parameter:

OPT__OUTPUT_ELBDM_VEL — bulk and thermal velocities in X, Y, Z direction
OPT__OUTPUT_ELBDM_Q_POT — quantum potential
OPT__OUTPUT_ELBDM_Q_STRESS — quantum stress tensor (XX, YY, ZZ, XY, YZ, XZ compement)

These flags let users choose which derived fields to include in HDF5 outputs. Default behavior is unchanged.

Introduce three new output parameters to control HDF5 export of derived fields,
calculated in ELBDM_DerivedField.cpp:

- OPT__OUTPUT_ELBDM_VEL (Velocity)
- OPT__OUTPUT_ELBDM_Q_POT (Quantum Potential)
- OPT__OUTPUT_ELBDM_Q_STRESS (Quantum Stress Tensor)
@hyschive hyschive added enhancement output Data output and log fdm Fuzzy dark matter labels Nov 24, 2025
@vivi235711 vivi235711 marked this pull request as ready for review December 17, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement fdm Fuzzy dark matter output Data output and log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants