PLUTO
STATE_1D Struct Reference

#include <structs.h>

Public Attributes

double ** v
 Cell-centered primitive varables at the base time level, v[i] = $ \vec{V}^n_i $ . More...
 
double ** vL
 Primitive variables to the left of the interface, ${\rm vL[i]} \equiv \vec{V}_{i,+} = \vec{V}^L_{i+\HALF} $. More...
 
double ** vR
 Primitive variables to the right of the interface, $\mathrm{vR[i]} \equiv \vec{V}^R_{i+\HALF} $. More...
 
double ** vm
 prim vars at i-1/2 edge, vm[i] = vR(i-1/2) More...
 
double ** vp
 prim vars at i+1/2 edge, vp[i] = vL(i+1/2) More...
 
double ** uL
 same as vL, in conservative vars More...
 
double ** uR
 same as vR, in conservative vars More...
 
double ** um
 same as vm, in conservative vars More...
 
double ** up
 same as vp, in conservative vars More...
 
double ** flux
 upwind flux computed with the Riemann solver More...
 
double ** visc_flux
 Viscosity flux. More...
 
double ** visc_src
 Viscosity source term. More...
 
double ** tc_flux
 Thermal conduction flux. More...
 
double ** res_flux
 Resistive flux (current) More...
 
double *** Lp
 
double *** Rp
 Left and right primitive eigenvectors. More...
 
double ** lambda
 Characteristic speed associated to Lp and Rp. More...
 
double * lmax
 Define the maximum k-characteristic speed over the domain. More...
 
double * a2
 Sound speed squared. More...
 
double * h
 Enthalpy. More...
 
double ** src
 
double ** vh
 Primitive state at n+1/2 (only for one step method) More...
 
double ** rhs
 Conservative right hand side. More...
 
double * press
 Upwind pressure term computed with the Riemann solver. More...
 
double * bn
 Face magentic field, bn = bx(i+1/2) More...
 
double * SL
 Leftmost velocity in the Riemann fan at i+1/2. More...
 
double * SR
 Rightmost velocity in the Riemann fan at i+1/2. More...
 
unsigned char * flag
 
double fill1
 
double fill2
 

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.

Definition at line 133 of file structs.h.

Member Data Documentation

double* STATE_1D::a2

Sound speed squared.

Definition at line 158 of file structs.h.

double* STATE_1D::bn

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

Definition at line 165 of file structs.h.

double STATE_1D::fill1

Definition at line 169 of file structs.h.

double STATE_1D::fill2

Definition at line 169 of file structs.h.

unsigned char* STATE_1D::flag

Definition at line 168 of file structs.h.

double** STATE_1D::flux

upwind flux computed with the Riemann solver

Definition at line 149 of file structs.h.

double* STATE_1D::h

Enthalpy.

Definition at line 159 of file structs.h.

double** STATE_1D::lambda

Characteristic speed associated to Lp and Rp.

Definition at line 156 of file structs.h.

double* STATE_1D::lmax

Define the maximum k-characteristic speed over the domain.

Definition at line 157 of file structs.h.

double*** STATE_1D::Lp

Definition at line 155 of file structs.h.

double* STATE_1D::press

Upwind pressure term computed with the Riemann solver.

Definition at line 164 of file structs.h.

double** STATE_1D::res_flux

Resistive flux (current)

Definition at line 153 of file structs.h.

double** STATE_1D::rhs

Conservative right hand side.

Definition at line 163 of file structs.h.

double *** STATE_1D::Rp

Left and right primitive eigenvectors.

Definition at line 155 of file structs.h.

double* STATE_1D::SL

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

Definition at line 166 of file structs.h.

double* STATE_1D::SR

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

Definition at line 167 of file structs.h.

double** STATE_1D::src

Definition at line 160 of file structs.h.

double** STATE_1D::tc_flux

Thermal conduction flux.

Definition at line 152 of file structs.h.

double** STATE_1D::uL

same as vL, in conservative vars

Definition at line 144 of file structs.h.

double** STATE_1D::um

same as vm, in conservative vars

Definition at line 146 of file structs.h.

double** STATE_1D::up

same as vp, in conservative vars

Definition at line 147 of file structs.h.

double** STATE_1D::uR

same as vR, in conservative vars

Definition at line 145 of file structs.h.

double** STATE_1D::v

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

Definition at line 134 of file structs.h.

double** STATE_1D::vh

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

Definition at line 162 of file structs.h.

double** STATE_1D::visc_flux

Viscosity flux.

Definition at line 150 of file structs.h.

double** STATE_1D::visc_src

Viscosity source term.

Definition at line 151 of file structs.h.

double** STATE_1D::vL

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

Definition at line 136 of file structs.h.

double** STATE_1D::vm

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

Definition at line 141 of file structs.h.

double** STATE_1D::vp

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

Definition at line 142 of file structs.h.

double** STATE_1D::vR

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

Definition at line 139 of file structs.h.


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