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

Compute the hydro (HD) flux. More...

#include "pluto.h"

Functions

void Flux (double **u, double **w, double *a2, double **fx, double *p, int beg, int end)
 

Detailed Description

Compute the flux of the conservative HD equations in the direction given by g_dir. This function defines the component of the hyperbolic flux tensor of the standard HD equations.
In what follows:

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

Function Documentation

void Flux ( double **  u,
double **  w,
double *  a2,
double **  fx,
double *  p,
int  beg,
int  end 
)
Parameters
[in]u1D array of conserved quantities
[in]w1D array of primitive quantities
[in]a21D array of sound speeds
[out]fx1D array of fluxes (total pressure excluded)
[out]p1D array of pressure values
[in]beginitial index of computation
[in]endfinal index of computation
Returns
This function has no return value.