Skip to content

Conversation

@ChunYen-Chen
Copy link
Collaborator

This PR generalizes the HDF5_Output_t structure and simplifies the procedure of adding a new parameter in the HDF5 snapshot.

New

  1. HDF5_Output_t can store array data.

Optimization

  1. Replace KeyInfo_t, Makefile_t, SymConst_t, and InputPara_t to HDF5_Output_t
  2. Simplify the procedure of adding a new parameter in the HDF5 snapshot.
  3. Combine the restart from HDF5 code to Output_DumpData_Total_HDF5.cpp.

Others

  1. Force the *label (FieldName*) size to be MAX_STRING (512) in analysis tools.

Test done

  • GAMER_CompareData, GAMER_ExtractProfile, and GAMER_ExtractUniform
  • Test problem: Acoustic -> Hydro
  • Test problem: CDM_LSS -> Hydro Comoving
  • Test problem: CR_ShockTube -> Passive scalar
  • Test problem: MHD_LinearWave -> MHD
  • Test problem: Plummer -> Particle
  • Test problem: GaussianWavePacket -> ELBDM
  • Test problem: Solition -> Gravity, Flag tables
  • Test problem: LSS -> ELBDM Comoving
  • Test problem: LSS_Hybrid -> ELBDM hybrid

@ChunYen-Chen ChunYen-Chen added the output Data output and log label Jun 16, 2025
@hyschive hyschive requested a review from hsinhaoHHuang June 17, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement output Data output and log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants