Inversion scheme for RHD using total energy density. More...
#include "pluto.h"
Functions | |
int | EnergySolve (Map_param *par) |
Try to recover gas pressure from conserved variables {D, m, E} using the algorithm outlined in Section 2 of Mignone, Plewa Bodo (2005). Specifically, we solve Eq. (12) using a Newton-Raphson root finder.
References
int EnergySolve | ( | Map_param * | par | ) |
Use Newton algorithm to recover pressure p0 from conservative quantities D, m and E