4 void Init (
double *us,
double x1,
double x2,
double x3)
24 if ( (s*y + c*(x - 0.5)) < 1.e-6){
91 for (j =
JBEG; j--; ) {
93 for (nv =
NVAR; nv--; ){
94 d->
Vc[nv][
k][
j][
i] = d->
Vc[nv][
k][j + 1][i - 1];
105 for (i = 0; i <
NX1_TOT - 1; i++){
106 for (nv =
NVAR; nv--; ){
107 d->
Vc[nv][
k][
j][
i] = d->
Vc[nv][
k][j - 1][i + 1];
double **** Vs
The main four-index data array used for face-centered staggered magnetic fields.
void UserDefBoundary(const Data *d, RBox *box, int side, Grid *grid)
long int NX2_TOT
Total number of zones in the X2 direction (boundaries included) for the local processor.
double **** Vc
The main four-index data array used for cell-centered primitive variables.
#define X2_END
Boundary region at X2 end.
double g_inputParam[32]
Array containing the user-defined parameters.
#define X2_BEG
Boundary region at X2 beg.
long int JBEG
Lower grid index of the computational domain in the the X2 direction for the local processor...
long int JEND
Upper grid index of the computational domain in the the X2 direction for the local processor...
long int NX1_TOT
Total number of zones in the X1 direction (boundaries included) for the local processor.
void Analysis(const Data *d, Grid *grid)
void Init(double *v, double x1, double x2, double x3)