Adding Parameters - hyschive/gamer-fork GitHub Wiki
TBF.
Mandatory steps are marked by 📌.
-
📌 Add new global variables to both
src/GAMER/Main.cpp
andinclude/Global.h
-
📌 Edit
src/Init/Init_Load_Parameter.cpp
to load new parameters -
Add notes in
src/Auxiliary/Aux_TakeNote.cpp
[optional but recommended] -
Add checks in
src/Auxiliary/Aux_Check.cpp
[optional but recommended] -
Record new parameter in the HDF5 snapshots [optional but recommended]
-
Add new parameters to
include/HDF5_Typedef.h
-
Add new parameters to
src/Output/Output_DumpData_Total_HDF5.cpp
-
Check new parameters during restart by editing
src/Init/Init_Restart_HDF5.cpp
-