-
Notifications
You must be signed in to change notification settings - Fork 59
Adding Parameters
Hsi-Yu Schive edited this page Dec 30, 2017
·
2 revisions
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
-
Getting Started
User Guide
- Installation
- Running the Code
- Adding New Simulations
- Runtime Parameters
- MPI and OpenMP
- GPU
- Physics Modules
- Outputs
- Simulation Logs
- Data Analysis
- In Situ Python Analysis
- Test Problems
- Troubleshooting
Advanced Topics
Developer Guide