PLUTO
4.4-patch2
|
Inversion scheme for RHD using total energy density. More...
#include "pluto.h"
Functions | |
int | RHD_EnergySolve (double *u, double *v) |
Try to recover primitive variables by solving for the gas pressure using total energy density. We employ the algorithm outlined in Section 2 of Mignone, Plewa Bodo (2005). Specifically, we solve Eq. (12) using a Newton-Raphson root finder.
References
int RHD_EnergySolve | ( | double * | u, |
double * | v | ||
) |
[in,out] | u | array of conservative variables (entropy will be redefined) |
[out] | v | array of primitive variables |