HARM
harm and utilities
 All Data Structures Files Functions Variables Typedefs Macros Pages
Macros | Functions
idealgaseos.c File Reference

IDEAL GAS EOS functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GAMMA   (gamideal)
 
#define GAMMAM1   (GAMMA-1.0)
 
#define IGAMMAR   (GAMMAM1/GAMMA)
 

Functions

FTYPE compute_entropy_wmrho0_idealgas_unused (FTYPE *EOSextra, FTYPE rho0, FTYPE wmrho0)
 entropy as function of rho0 and internal energy (u) Sden(rho0,=u+p) entropy density = ( p^n/^{n+1} ) More...
 
FTYPE compute_dSdrho_wmrho0_idealgas_unused (FTYPE *EOSextra, FTYPE rho0, FTYPE wmrho0)
 used for utoprim_jon when doing entropy evolution Because P=(-1)u, then holding =w- constant is the same as holding u constant dSden/drho0 More...
 

Detailed Description

IDEAL GAS EOS functions.

P = ( -1) u h = 1+ ; =p/ = (/(-1)) see entropy_new_inversion.nb

Definition in file idealgaseos.c.

Macro Definition Documentation

#define GAMMA   (gamideal)

Definition at line 11 of file idealgaseos.c.

#define GAMMAM1   (GAMMA-1.0)

Definition at line 14 of file idealgaseos.c.

#define IGAMMAR   (GAMMAM1/GAMMA)

Definition at line 15 of file idealgaseos.c.

Function Documentation

FTYPE compute_dSdrho_wmrho0_idealgas_unused ( FTYPE EOSextra,
FTYPE  rho0,
FTYPE  wmrho0 
)

used for utoprim_jon when doing entropy evolution Because P=(-1)u, then holding =w- constant is the same as holding u constant dSden/drho0

Definition at line 239 of file idealgaseos.c.

FTYPE compute_entropy_wmrho0_idealgas_unused ( FTYPE EOSextra,
FTYPE  rho0,
FTYPE  wmrho0 
)

entropy as function of rho0 and internal energy (u) Sden(rho0,=u+p) entropy density = ( p^n/^{n+1} )

Definition at line 203 of file idealgaseos.c.