Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
UpdateDerivs.cpp File Reference

Implementation of GSPH derivative update module. More...

Include dependency graph for UpdateDerivs.cpp:

Go to the source code of this file.

Detailed Description

Implementation of GSPH derivative update module.

Author
Guo Yansong (guo.y.nosp@m.anso.nosp@m.ng.ng.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om)
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)
Yona Lapeyre (yona..nosp@m.lape.nosp@m.yre@e.nosp@m.ns-l.nosp@m.yon.f.nosp@m.r)

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:

  • Inutsuka, S. (2002) "Reformulation of Smoothed Particle Hydrodynamics with Riemann Solver"

This implementation follows:

  • Cha, S.-H. & Whitworth, A.P. (2003) "Implementations and tests of Godunov-type particle hydrodynamics"

Definition in file UpdateDerivs.cpp.