35 int ndims = solver->
ndims;
38 int index_outer[ndims], index_inter[ndims], bounds_outer[ndims], bounds_inter[ndims];
40 _ArrayCopy1D_(dim,bounds_inter,ndims); bounds_inter[dir] += 1;
45 for (index_inter[dir] = 0; index_inter[dir] < bounds_inter[dir]; index_inter[dir]++) {
78 int ndims = solver->
ndims;
81 int index_outer[ndims], index_inter[ndims], bounds_outer[ndims], bounds_inter[ndims];
83 _ArrayCopy1D_(dim,bounds_inter,ndims); bounds_inter[dir] += 1;
88 for (index_inter[dir] = 0; index_inter[dir] < bounds_inter[dir]; index_inter[dir]++) {
Contains function definitions for common mathematical functions.
Some basic definitions and macros.
int Euler1DSourceUpwindRoe(double *fI, double *fL, double *fR, double *u, int dir, void *s, double t)
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
#define _ArrayIndex1D_(N, imax, i, ghost, index)
int Euler1DSourceUpwindLLF(double *fI, double *fL, double *fR, double *u, int dir, void *s, double t)
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
1D Euler Equations (inviscid, compressible flows)
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.