PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Data Fields
State_1D Struct Reference

#include <pluto.h>

Data Fields

double ** v
 
double ** vL
 
double ** vR
 
double ** vm
 
double ** vp
 
double ** uL
 
double ** uR
 
double ** um
 
double ** up
 
double ** flux
 
double ** par_flx
 
double *** Rp
 
double ** lambda
 
double * lmax
 
double * a2
 
double * h
 
double ** par_src
 
double ** vh
 
double ** rhs
 
double * press
 
double * bn
 
double * SL
 
double * SR
 
double q1
 
unsigned char uc1
 

Detailed Description

This structure contains one-dimensional vectors of conserved variables, primitive variables, fluxes and so on, used during the reconstruct-Solve-Average strategy. It is a frequently passed to the Riemann solver routines, source and flux functions, etc.

Field Documentation

double* a2

Sound speed squared

double* bn

Face magentic field, bn = bx(i+1/2)

double** flux

upwind flux computed with the Riemann solver

double* h

Enthalpy.

double** lambda

Characteristic speed associated to Lp and Rp

double* lmax

Define the maximum k-characteristic speed over the domain

double** par_flx

parabolic fluxes (viscosity + thermal cond. + resistivity)

double** par_src

Geometrical source terms for parabolic operators in curvilinear coords

double* press

Upwind pressure term computed with the Riemann solver

double q1

Useless, just to make struct a power of 2

double** rhs

Conservative right hand side

double *** Rp

Left and right primitive eigenvectors

double* SL

Leftmost velocity in the Riemann fan at i+1/2

double* SR

Rightmost velocity in the Riemann fan at i+1/2

unsigned char uc1

Useless, just to make struct a power of 2

double** uL

same as vL, in conservative vars

double** um

same as vm, in conservative vars

double** up

same as vp, in conservative vars

double** uR

same as vR, in conservative vars

double** v

Cell-centered primitive varables at the base time level, v[i] = $ \vec{V}^n_i $ .

double** vh

Primitive state at n+1/2 (only for one step method)

double** vL

Primitive variables to the left of the interface, ${\rm vL[i]} \equiv \vec{V}_{i,+} = \vec{V}^L_{i+\HALF} $.

double** vm

prim vars at i-1/2 edge, vm[i] = vR(i-1/2)

double** vp

prim vars at i+1/2 edge, vp[i] = vL(i+1/2)

double** vR

Primitive variables to the right of the interface, $\mathrm{vR[i]} \equiv \vec{V}^R_{i+\HALF} $.


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