HARM
harm and utilities
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
utoprimgen.funcdeclare.h File Reference

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

This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

function declrations for global use of functions in utoprimgen.c

Definition in file utoprimgen.funcdeclare.h.

Function Documentation

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.

Here is the caller graph for this function:

int primtoUloop ( FTYPE(*)  pi[NSTORE2][NSTORE3][NPR],
FTYPE(*)  unew[NSTORE2][NSTORE3][NPR] 
)

loop for P->U

Definition at line 2838 of file utoprimgen.c.

Here is the call graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function: