function declrations for global use of functions in utoprimgen.c More...

Go to the source code of this file.
Functions | |
| int | Utoprimgen (int showmessages, int checkoninversiongas, int checkoninversionrad, int allowlocalfailurefixandnoreport, int finalstep, int *eomtype, int whichcap, int whichmethod, int modprim, int evolvetype, int inputtype, FTYPE *U, struct of_state *qptr, struct of_geom *ptrgeom, FTYPE dissmeasure, FTYPE *pi, FTYPE *pr, struct of_newtonstats *newtonstats) |
| General explicit inversion of U[MHD]->P[MHD] and also inverts scalars. Inverts radiation if(EOMRADTYPE!=EOMRADNONE) More... | |
| int | Utoprimloop (FTYPE(*unew)[NSTORE2][NSTORE3][NPR], FTYPE(*pf)[NSTORE2][NSTORE3][NPR], struct of_newtonstats *newtonstats) |
| there may be something wrong with this function – didn't work in TIMEORDER==4, had to do standard method could have just been that I wasn't bounding after using this More... | |
| int | primtoUloop (FTYPE(*pi)[NSTORE2][NSTORE3][NPR], FTYPE(*unew)[NSTORE2][NSTORE3][NPR]) |
| loop for P->U More... | |
| int | Utoprim_jon_nonrelcompat_inputnorestmass (int showmessages, int eomtype, FTYPE *EOSextra, FTYPE *U, struct of_geom *ptrgeom, PFTYPE *lpflag, FTYPE *prim, FTYPE *pressure, struct of_newtonstats *newtonstats) |
| The ONLY global function: More... | |
| int | sp_stress_calc (FTYPE *pr, FTYPE(*tens_matt)[NDIM], FTYPE(*tens_em)[NDIM], FTYPE *b, FTYPE *ucon) |
| int | isflowcold (FTYPE COLDFACTOR, int includerad, FTYPE *pb, struct of_geom *ptrgeom, struct of_state *q, FTYPE *uu0) |
| includerad=1: account for fact that not only assume MHD flow is cold itself, but energy-force balance between gas and radiation is not important, only momentum being important. More... | |
function declrations for global use of functions in utoprimgen.c
Definition in file utoprimgen.funcdeclare.h.
| int isflowcold | ( | FTYPE | COLDFACTOR, |
| int | includerad, | ||
| FTYPE * | pb, | ||
| struct of_geom * | ptrgeom, | ||
| struct of_state * | q, | ||
| FTYPE * | uu0 | ||
| ) |
includerad=1: account for fact that not only assume MHD flow is cold itself, but energy-force balance between gas and radiation is not important, only momentum being important.
Definition at line 3088 of file utoprimgen.c.

loop for P->U
Definition at line 2838 of file utoprimgen.c.

| int sp_stress_calc | ( | FTYPE * | pr, |
| FTYPE(*) | tens_matt[NDIM], | ||
| FTYPE(*) | tens_em[NDIM], | ||
| FTYPE * | b, | ||
| FTYPE * | ucon | ||
| ) |
| int Utoprim_jon_nonrelcompat_inputnorestmass | ( | int | showmessages, |
| int | eomtype, | ||
| FTYPE * | EOSextra, | ||
| FTYPE * | U, | ||
| struct of_geom * | ptrgeom, | ||
| PFTYPE * | lpflag, | ||
| FTYPE * | prim, | ||
| FTYPE * | pressure, | ||
| struct of_newtonstats * | newtonstats | ||
| ) |
The ONLY global function:
Definition at line 142 of file utoprim_jon.c.

| int Utoprimgen | ( | int | showmessages, |
| int | checkoninversiongas, | ||
| int | checkoninversionrad, | ||
| int | allowlocalfailurefixandnoreport, | ||
| int | finalstep, | ||
| int * | eomtype, | ||
| int | whichcap, | ||
| int | whichmethod, | ||
| int | modprim, | ||
| int | evolvetype, | ||
| int | inputtype, | ||
| FTYPE * | U, | ||
| struct of_state * | qptr, | ||
| struct of_geom * | ptrgeom, | ||
| FTYPE | dissmeasure, | ||
| FTYPE * | pi, | ||
| FTYPE * | pr, | ||
| struct of_newtonstats * | newtonstats | ||
| ) |
General explicit inversion of U[MHD]->P[MHD] and also inverts scalars. Inverts radiation if(EOMRADTYPE!=EOMRADNONE)
Definition at line 53 of file utoprimgen.c.


| int Utoprimloop | ( | FTYPE(*) | unew[NSTORE2][NSTORE3][NPR], |
| FTYPE(*) | pf[NSTORE2][NSTORE3][NPR], | ||
| struct of_newtonstats * | newtonstats | ||
| ) |
there may be something wrong with this function – didn't work in TIMEORDER==4, had to do standard method could have just been that I wasn't bounding after using this
Definition at line 2812 of file utoprimgen.c.

1.8.3.1