Function declarations for flux.c. More...
Go to the source code of this file.
Functions | |
int | step_ch_full (int truestep, FTYPE(*prim)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*ucons)[NSTORE2][NSTORE3][NPR], FTYPE(*vpot)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], FTYPE(*Bhat)[NSTORE2][NSTORE3][NPR], FTYPE(*pl_ct)[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*pr_ct)[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*F1)[NSTORE2][NSTORE3][NPR+NSPECIAL], FTYPE(*F2)[NSTORE2][NSTORE3][NPR+NSPECIAL], FTYPE(*F3)[NSTORE2][NSTORE3][NPR+NSPECIAL], FTYPE(*Atemp)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], FTYPE(*uconstemp)[NSTORE2][NSTORE3][NPR]) |
stepping More... | |
int | fluxcalc (int stage, int initialstep, int finalstep, FTYPE(*pr)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*pl_ct)[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*pr_ct)[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*vpot)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], FTYPE(*F1)[NSTORE2][NSTORE3][NPR+NSPECIAL], FTYPE(*F2)[NSTORE2][NSTORE3][NPR+NSPECIAL], FTYPE(*F3)[NSTORE2][NSTORE3][NPR+NSPECIAL], FTYPE *CUf, FTYPE *CUnew, SFTYPE fluxdt, SFTYPE fluxtime, FTYPE *ndt1, FTYPE *ndt2, FTYPE *ndt3) |
see fluxcompute.c for non-computer science, real physics calculations of flux More... | |
int | fluxcalc_fluxctstag (int stage, int initialstep, int finalstep, FTYPE(*pr)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*pl_ct)[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*pr_ct)[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*pvbcorn)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3][COMPDIM][NUMCS+1][NUMCS], FTYPE(*wspeed)[COMPDIM][NUMCS][NSTORE1][NSTORE2][NSTORE3], FTYPE(*prc)[NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*pleft)[NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*pright)[NSTORE2][NSTORE3][NPR2INTERP], struct of_state(*fluxstatecent)[NSTORE2][NSTORE3], struct of_state(*fluxstate)[NSTORE1][NSTORE2][NSTORE3][NUMLEFTRIGHT], FTYPE(*geomcornglobal)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], int *Nvec, FTYPE(*dqvec[NDIM])[NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*fluxvec[NDIM])[NSTORE2][NSTORE3][NPR+NSPECIAL], FTYPE(*vpot)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], FTYPE *CUf, FTYPE *CUnew, SFTYPE fluxdt, SFTYPE fluxtime, struct of_loop *cent2faceloop, struct of_loop(*face2cornloop)[NDIM][NDIM]) |
wrapper for: 1) interpolate FACE 2 CORN 2) loop over dimensions setting field flux dimension-by-dimension using multi-D interpolated CORN quantities At present, original flux as emf is computed like normal flux even if overwritten here, and shouldn't be much more expensive doing that there since primary cost is interpolation whose results are required and used here More... | |
void | slope_lim_linetype_c2e (int realisinterp, int whichprimtype, int interporflux, int dir, int idel, int jdel, int kdel, FTYPE(*primreal)[NSTORE2][NSTORE3][NPR], FTYPE(*stencilvar)[NSTORE2][NSTORE3][NPR], FTYPE(*p2interp)[NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*pleft)[NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*pright)[NSTORE2][NSTORE3][NPR2INTERP]) |
void | slope_lim_pointtype (int interporflux, int realisinterp, int pl, int dir, int loc, int continuous, int idel, int jdel, int kdel, FTYPE(*primreal)[NSTORE2][NSTORE3][NPR], FTYPE(*p2interp)[NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*dq)[NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*pleft)[NSTORE2][NSTORE3][NPR2INTERP], FTYPE(*pright)[NSTORE2][NSTORE3][NPR2INTERP]) |
whether primreal is p2interp can't assume this is true in general (e.g. More... | |
Function declarations for flux.c.
Definition in file flux.funcdeclare.h.
int fluxcalc | ( | int | stage, |
int | initialstep, | ||
int | finalstep, | ||
FTYPE(*) | pr[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | pstag[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | pl_ct[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | pr_ct[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | vpot[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], | ||
FTYPE(*) | F1[NSTORE2][NSTORE3][NPR+NSPECIAL], | ||
FTYPE(*) | F2[NSTORE2][NSTORE3][NPR+NSPECIAL], | ||
FTYPE(*) | F3[NSTORE2][NSTORE3][NPR+NSPECIAL], | ||
FTYPE * | CUf, | ||
FTYPE * | CUnew, | ||
SFTYPE | fluxdt, | ||
SFTYPE | fluxtime, | ||
FTYPE * | ndt1, | ||
FTYPE * | ndt2, | ||
FTYPE * | ndt3 | ||
) |
see fluxcompute.c for non-computer science, real physics calculations of flux
Definition at line 44 of file flux.c.
int fluxcalc_fluxctstag | ( | int | stage, |
int | initialstep, | ||
int | finalstep, | ||
FTYPE(*) | pr[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | pstag[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | pl_ct[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | pr_ct[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | pvbcorn[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3][COMPDIM][NUMCS+1][NUMCS], | ||
FTYPE(*) | wspeed[COMPDIM][NUMCS][NSTORE1][NSTORE2][NSTORE3], | ||
FTYPE(*) | prc[NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | pleft[NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | pright[NSTORE2][NSTORE3][NPR2INTERP], | ||
struct of_state(*) | fluxstatecent[NSTORE2][NSTORE3], | ||
struct of_state(*) | fluxstate[NSTORE1][NSTORE2][NSTORE3][NUMLEFTRIGHT], | ||
FTYPE(*) | geomcornglobal[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], | ||
int * | Nvec, | ||
FTYPE(*[]) | NDIM[NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*[]) | NDIM[NSTORE2][NSTORE3][NPR+NSPECIAL], | ||
FTYPE(*) | vpot[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], | ||
FTYPE * | CUf, | ||
FTYPE * | CUnew, | ||
SFTYPE | fluxdt, | ||
SFTYPE | fluxtime, | ||
struct of_loop * | cent2faceloop, | ||
struct of_loop(*) | face2cornloop[NDIM][NDIM] | ||
) |
wrapper for: 1) interpolate FACE 2 CORN 2) loop over dimensions setting field flux dimension-by-dimension using multi-D interpolated CORN quantities At present, original flux as emf is computed like normal flux even if overwritten here, and shouldn't be much more expensive doing that there since primary cost is interpolation whose results are required and used here
Definition at line 203 of file fluxctstag.c.
void slope_lim_linetype_c2e | ( | int | realisinterp, |
int | whichprimtype, | ||
int | interporflux, | ||
int | dir, | ||
int | idel, | ||
int | jdel, | ||
int | kdel, | ||
FTYPE(*) | primreal[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | stencilvar[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | p2interp[NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | pleft[NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | pright[NSTORE2][NSTORE3][NPR2INTERP] | ||
) |
void slope_lim_pointtype | ( | int | interporflux, |
int | realisinterp, | ||
int | pl, | ||
int | dir, | ||
int | loc, | ||
int | continuous, | ||
int | idel, | ||
int | jdel, | ||
int | kdel, | ||
FTYPE(*) | primreal[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | p2interp[NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | dq[NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | pleft[NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | pright[NSTORE2][NSTORE3][NPR2INTERP] | ||
) |
whether primreal is p2interp can't assume this is true in general (e.g.
for FIELDCTSTAG input is not even complete range) interpolation with loop over POINTS
Definition at line 55 of file interppoint.c.
int step_ch_full | ( | int | truestep, |
FTYPE(*) | prim[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | pstag[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | ucons[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | vpot[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], | ||
FTYPE(*) | Bhat[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | pl_ct[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | pr_ct[NSTORE1][NSTORE2][NSTORE3][NPR2INTERP], | ||
FTYPE(*) | F1[NSTORE2][NSTORE3][NPR+NSPECIAL], | ||
FTYPE(*) | F2[NSTORE2][NSTORE3][NPR+NSPECIAL], | ||
FTYPE(*) | F3[NSTORE2][NSTORE3][NPR+NSPECIAL], | ||
FTYPE(*) | Atemp[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], | ||
FTYPE(*) | uconstemp[NSTORE2][NSTORE3][NPR] | ||
) |