PLUTO  4.4-patch2
Data Fields
Rad_data Struct Reference

#include <radiation.h>

Data Fields

double dt
 
int pos
 
uint16_t * flag
 
double ** pv
 
double ** cv
 
double * Ttot
 
double * Rini
 
double * Rprev
 
double * u
 
double u2
 
double gamma
 
double gamma2
 
double exv
 
double exv_prev
 
char fill [20]
 

Detailed Description

The Rad_data structure contains some information about the radiation fields, as well as some auxiliary variables used at the implicit radiation step.

Field Documentation

◆ cv

double** cv

Array of conserved fields.

◆ dt

double dt

Time step of the implicit step.

◆ exv

double exv

Auxiliary variable used to compute relative errors. Stores the gas pressure of the current iteration if radiation fields are iterated, and the radiation energy density if matter fields are iterated instead.

◆ exv_prev

double exv_prev

Auxiliary variable used to compute relative errors. Stores the gas pressure of the previous iteration if radiation fields are iterated, and the radiation energy density if matter fields are iterated instead.

◆ fill

char fill[20]

Fill structure to power of 2

◆ flag

uint16_t* flag

Array of flags used to tag zones where convertion failed or the HLLC solver needs to be replaced by HLL.

◆ gamma

double gamma

Lorentz factor.

◆ gamma2

double gamma2

Squared Lorentz factor.

◆ pos

int pos

Position where the implicit step is being performed.

◆ pv

double** pv

Array of primitive fields.

◆ Rini

double* Rini

(0,) components of the radiation part of the stress-energy tensor, before the first iteration of the implicit step.

◆ Rprev

double* Rprev

Auxiliary vector used to compute relative errors. Stores the (0,) components of the radiation part of the stress-energy tensor, computed at the previous iteration.

◆ Ttot

double* Ttot

Total (gas+radiation) (0,) components of the stress-energy tensor.

◆ u

double* u

Spatial components of the 4-velocity.

◆ u2

double u2

Inner product u_iu^i.


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