All globally-related physics calculations THINGS IN HERE ARE NOT PER POINT OR USE GLOBAL VARIABLES or call get_geometry() More...
#include "decs.h"
Go to the source code of this file.
Macros | |
#define | VARSTATIC |
making variables static inside functions made things slower if anything would have thought consruction/destruction operations would be important why static makes slower? More... | |
#define | MYII ptrgeom->i |
macros to avoid messy function calls or restoring them as i,j,k More... | |
#define | MYJJ ptrgeom->j |
#define | MYKK ptrgeom->k |
Functions | |
int | get_stateforfluxcalc (int dimen, int isleftright, FTYPE *pr, struct of_geom *ptrgeom, struct of_state **qptr) |
wrapper for choosing to get state by computing it or from global array notice that ptrgeom->p inputted not used More... | |
int | get_stateforsource (FTYPE *pr, struct of_geom *ptrgeom, struct of_state **qptr) |
wrapper for choosing to get state by computing it or from global array pointer assign (overrides the existing default assignment of the pointer address in the calling function, so assumes calling function only uses pointer form subsequently) More... | |
int | get_stateforinterpline (FTYPE *pr, struct of_geom *ptrgeom, struct of_state **qptr) |
wrapper for choosing to get state by computing it or from global array pointer assign (overrides the existing default assignment of the pointer address in the calling function, so assumes calling function only uses pointer form subsequently) More... | |
int | get_stateforglobalwavespeeds (FTYPE *pr, struct of_geom *ptrgeom, struct of_state **qptr) |
wrapper for choosing to get state by computing it or from global array pointer assign (overrides the existing default assignment of the pointer address in the calling function, so assumes calling function only uses pointer form subsequently) More... | |
int | source_conn (FTYPE *pr, struct of_geom *ptrgeom, struct of_state *q, FTYPE *dU) |
void | get_allgeometry (int ii, int jj, int kk, int pp, struct of_allgeom *allgeom, struct of_geom *ptrgeom) |
All globally-related physics calculations THINGS IN HERE ARE NOT PER POINT OR USE GLOBAL VARIABLES or call get_geometry()
Definition in file phys.c.
#define MYII ptrgeom->i |
#define VARSTATIC |
void get_allgeometry | ( | int | ii, |
int | jj, | ||
int | kk, | ||
int | pp, | ||
struct of_allgeom * | allgeom, | ||
struct of_geom * | ptrgeom | ||
) |
wrapper for choosing to get state by computing it or from global array pointer assign (overrides the existing default assignment of the pointer address in the calling function, so assumes calling function only uses pointer form subsequently)
Definition at line 110 of file phys.c.
wrapper for choosing to get state by computing it or from global array pointer assign (overrides the existing default assignment of the pointer address in the calling function, so assumes calling function only uses pointer form subsequently)
Definition at line 82 of file phys.c.
wrapper for choosing to get state by computing it or from global array pointer assign (overrides the existing default assignment of the pointer address in the calling function, so assumes calling function only uses pointer form subsequently)
Definition at line 57 of file phys.c.