PLUTO  4.4-patch2
Data Fields
Data Struct Reference

#include <structs.h>

Data Fields

double **** Vc
 
double **** Uc
 
double **** Vs
 
double **** Vuser
 
double *** Ax1
 
double *** Ax2
 
double *** Ax3
 
double **** J
 
double *** Tc
 
double *** q
 
uint16_t *** flag
 
double **** Fcr
 
double **** Jcr
 
double *** qcr
 
double **** Fdust
 
struct Particle_ ** pstr
 
int particles_GC_InvalidCount
 
double *** Ex1
 
double *** Ex2
 
double *** Ex3
 

Detailed Description

The Data structure contains the main solution 3D arrays used by the code.

Field Documentation

◆ Ax1

double*** Ax1

Vector potential comp. in the $x_1$ dir.

◆ Ax2

double*** Ax2

Vector potential comp. in the $x_2$ dir.

◆ Ax3

double*** Ax3

Vector potential comp. in the $x_3$ dir.

◆ Ex1

double*** Ex1

cell-centered emf used in CT averaging or CR particles

◆ Ex2

double*** Ex2

cell-centered emf used in CT averaging or CR particles

◆ Ex3

double*** Ex3

cell-centered emf used in CT averaging or CR particles

◆ Fcr

double**** Fcr

A four-element 3D array used to compute the three components of the force and the energy source term of the CR feedback on the fluid.

◆ Fdust

double**** Fdust

Drag force (dust particles only)

◆ flag

uint16_t*** flag

Pointer to a 3D array setting useful integration flags that are retrieved during integration.

◆ J

double**** J

Electric current defined as curl(B).

◆ Jcr

double**** Jcr

The CR current density 3D array.

◆ particles_GC_InvalidCount

int particles_GC_InvalidCount

Number of particles for which GCA conditions are not fulfilled.

◆ pstr

struct Particle_** pstr

Used to convert a linked list to array (useful ?)

◆ q

double*** q

Electric charge density (only for ResRMHD)

◆ qcr

double*** qcr

The CR charge density 3D array.

◆ Tc

double*** Tc

Dimensionless temperature array (used for TC)

◆ Uc

double**** Uc

The main four-index data array used for cell-centered conservative variables. The index order is Uc[k][j][i][nv] (nv fast running index) where nv gives the variable index, k,j and i are the locations of the cell in the $x_3$, $x_2$ and $x_1$ direction.

◆ Vc

double**** Vc

The main four-index data array used for cell-centered primitive variables. The index order is Vc[nv][k][j][i] where nv gives the variable index while k,j and i are the locations of the cell in the $x_3$, $x_2$ and $x_1$ direction.

◆ Vs

double**** Vs

The main four-index data array used for face-centered staggered magnetic fields. The index order is Vc[nv][k][j][i], where nv gives the variable index, k,j and i are the locations of the cell in the $x_3$, $x_2$ and $x_1$ direction.

◆ Vuser

double**** Vuser

Array storing user-defined supplementary variables written to disk.


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