![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Implementation of GSPH derivative update module. More...
#include "shammodels/gsph/modules/UpdateDerivs.hpp"#include "shambackends/math.hpp"#include "shammath/sphkernels.hpp"#include "shammodels/gsph/config/FieldNames.hpp"#include "shammodels/gsph/math/forces.hpp"#include "shammodels/gsph/math/riemann/iterative.hpp"#include "shammodels/sph/math/density.hpp"#include "shamsys/legacy/log.hpp"#include "shamtree/TreeTraversal.hpp"
Include dependency graph for UpdateDerivs.cpp:Go to the source code of this file.
Implementation of GSPH derivative update module.
This file implements the core GSPH algorithm: for each particle pair, we solve a 1D Riemann problem and use the result to compute forces.
The GSPH method originated from:
This implementation follows:
Definition in file UpdateDerivs.cpp.