forked from gamer-project/gamer
-
Notifications
You must be signed in to change notification settings - Fork 0
Source Terms
vivi235711 edited this page Apr 20, 2026
·
5 revisions
This page describes the source terms.
Related options:
[Runtime parameters] Source Terms
Other related parameters: SRC_GPU_NPGROUP
Follow the steps below to define your source terms when
adding a new simulation named NewProblem.
-
Go to the new test problem folder and copy the source terms template.
cd src/TestProblem/Hydro/NewProblem cp ../../../SourceTerms/User_Template/CPU_Src_User_Template.cpp Src_NewProblem.cpp -
Edit the source terms source file
Src_NewProblem.cpp.- Rename
User_TemplateasNewProblem.
- Rename
TBF.
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