PLUTO  4.4-patch2
Functions
fluxes.c File Reference

Compute the MHD flux. More...

#include "pluto.h"

Functions

void Flux (const State *state, int beg, int end)
 

Detailed Description

Compute the flux of the conservative MHD equations in the direction given by g_dir. A useful formulary is

This function defines the component of the hyperbolic flux tensor of the standard MHD equations.
In what follows:

Normal, tangent and bitangent indices are set in the SetVectorIndices() function.

Author
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
June 2, 2019

Function Documentation

◆ Flux()

void Flux ( const State state,
int  beg,
int  end 
)

Compute the component of the flux tensor normal to the direction of integration.

Parameters
[in,out]statePointer to a state structure
[in]beginitial index of computation
[in]endfinal index of computation
Returns
This function has no return value.