PLUTO
4.4-patch2
|
Inversion scheme for RHD using a pressure fix. More...
#include "pluto.h"
Functions | |
int | RHD_PressureFix (double *uc, double *vc) |
Fix pressure to g_smallPressure
and find the four velocity by solving the momentum-velocity relation (squared):
using secant method. The two guesses are:
Note that this equation should always have a solution.
int RHD_PressureFix | ( | double * | uc, |
double * | vc | ||
) |