Source Terms - vivi235711/gamer GitHub Wiki
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_Template
asNewProblem
.
- Rename
TBF.