PLUTO  4.4-patch2
Functions
rad_hll.c File Reference

HLL Riemann solver for the (M1) radiation transport equations. More...

#include "pluto.h"

Functions

void Rad_HLL_Solver (const Sweep *sweep, int beg, int end, double *cmax, Grid *grid)
 

Detailed Description

Solve the Riemann problem for the radiation transport equations using the single-sweep HLL solver by Toro.

On input, this function takes left and right primitive sweep vectors sweep->vL and sweep->vR at zone edge i+1/2; On output, return flux and pressure vectors at the same interface i+1/2 (note that the i refers to i+1/2).

Also during this step, compute maximum wave propagation speed (cmax) for explicit time step computation.

Function Documentation

◆ Rad_HLL_Solver()

void Rad_HLL_Solver ( const Sweep sweep,
int  beg,
int  end,
double *  cmax,
Grid grid 
)

Solve Riemann problem for the (M1) radiation transport equations using the HLL Riemann solver.

Parameters
[in,out]sweeppointer to Sweep structure
[in]beginitial grid index
[out]endfinal grid index
[out]cmax1D array of maximum characteristic speeds
[in]gridpointer to array of Grid structures.