PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
energy_solve.c File Reference

Inversion scheme for RHD using total energy density. More...

#include "pluto.h"

Functions

int EnergySolve (Map_param *par)
 

Detailed Description

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

Author
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
Date
Oct 4, 2012

Function Documentation

int EnergySolve ( Map_param par)

Use Newton algorithm to recover pressure p0 from conservative quantities D, m and E