PLUTO  4.4-patch2
Data Fields
Map_param Struct Reference

#include <mod_defs.h>

Data Fields

double D
 
double sigma_c
 
double E
 
double m2
 
double S
 
double S2
 
double B2
 
double rho
 
double W
 
double lor
 
double prs
 
double * u
 

Detailed Description

The Map_param structure is used to pass input/output arguments during the conversion from conservative to primitive variables operated by the ConsToPrim() function in the relativistic modules (RHD and RMHD). The output parameter, rho, W, lor and p, must be set at the end of every root-finder routine (EnergySolve(), EntropySolve() and PressureFix()). Additionally, some of the input parameters must be re-computed in EntropySolve() and PressureFix().

The Map_param structure is used to pass input/output arguments during the conversion from conservative to primitive variables operated by the ConsToPrim() function. The output parameter, rho, W, lor and p, must be set at the end of every root-finder routine (EnergySolve(), EntropySolve() and PressureFix()). Additionally, some of the input parameters must be re-computed in EntropySolve() and PressureFix().

The Map_param structure is used to pass input/output arguments during the conversion from conservative to primitive variables operated by the ConsToPrim() function in the relativistic modules (RHD and RMHD). The output parameter, rho, W, lor and p, must be set at the end of every root-finder: RMHD_[EnergySolve, EntropySolve, PressureFix](). Additionally, some of the input parameters must be re-computed in EntropySolve() and PressureFix().

Field Documentation

◆ B2

double B2

Square of magnetic field (input).

◆ D

double D

Lab density (input).

◆ E

double E

Total energy (input).

◆ lor

double lor

Lorentz factor (output).

◆ m2

double m2

Square of total momentum (input).

◆ prs

double prs

Thermal pressure (output).

◆ rho

double rho

proper density (output)

◆ S

double S

m<dot>B (input).

◆ S2

double S2

Square of S (input).

◆ sigma_c

double sigma_c

Conserved entropy (input).

◆ u

double* u

Pointer to cons. variables (input).

◆ W

double W

D*h*lor (output).


The documentation for this struct was generated from the following file: