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

Boundary conditions declarations. More...

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

Go to the source code of this file.

Functions

int bound_allprim (int boundstage, int finalstep, SFTYPE boundtime, FTYPE(*prim)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*ucons)[NSTORE2][NSTORE3][NPR], int doboundmpi)
 normal bounding of all primitives More...
 
int bound_evolveprim (int boundstage, int finalstep, SFTYPE boundtime, FTYPE(*prim)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*ucons)[NSTORE2][NSTORE3][NPR], int doboundmpi)
 normal full bounding during evolution NOTEMARK: Was previously also bounding pstag here, but not necessary since done by calling bound_pstag in fluxctstag.c More...
 
int bound_prim (int boundstage, int finalstep, SFTYPE boundtime, FTYPE(*prim)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*ucons)[NSTORE2][NSTORE3][NPR], int doboundmpi)
 normal bounding of non-staggered primitives More...
 
int bound_pstag (int boundstage, int finalstep, SFTYPE boundtime, FTYPE(*prim)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*ucons)[NSTORE2][NSTORE3][NPR], int doboundmpi)
 normal bounding of staggered primitives More...
 
int bound_beforeevolveprim (int boundstage, int finalstep, SFTYPE boundtime, FTYPE(*prim)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*ucons)[NSTORE2][NSTORE3][NPR], int doboundmpi)
 simple bounding during evolution NOTEMARK: Was previously also bounding pstag here, but not necessary since done by calling bound_pstag in fluxctstag.c More...
 
int bound_anyallprim (int boundstage, int finalstep, SFTYPE boundtime, int boundvartype, FTYPE(*prim)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*ucons)[NSTORE2][NSTORE3][NPR], int doboundmpi)
 bound all prims More...
 
int bound_anyprim (int boundstage, int finalstep, SFTYPE boundtime, int boundvartype, FTYPE(*prim)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*ucons)[NSTORE2][NSTORE3][NPR], int doboundmpi)
 bound any prim type CALLS directly real and MPI boundary functions pstag = pstagglobal ucons = unewglobal More...
 
int bound_anypstag (int boundstage, int finalstep, SFTYPE boundtime, int boundvartype, FTYPE(*prim)[NSTORE2][NSTORE3][NPR], FTYPE(*pstag)[NSTORE2][NSTORE3][NPR], FTYPE(*ucons)[NSTORE2][NSTORE3][NPR], int doboundmpi)
 bound any pstag type CALLS directly real and MPI boundary functions pstag is at FACE1,2,3 for fields, so user bound is different MPI bounding is the same as CENT quantities used when restarting in initbase.c to bound unewglobal for FLUXB==FLUXCTSTAG More...
 
int bound_prim_user_dir (int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, FTYPE(*prim)[NSTORE2][NSTORE3][NPR])
 
int bound_pstag_user_dir (int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, FTYPE(*pstag)[NSTORE2][NSTORE3][NPR])
 assume single user function takes care of primitive locations More...
 
int bound_flux_user (int boundstage, int finalstep, SFTYPE boundtime, int boundvartype, FTYPE(*F1)[NSTORE2][NSTORE3][NPR+NSPECIAL], FTYPE(*F2)[NSTORE2][NSTORE3][NPR+NSPECIAL], FTYPE(*F3)[NSTORE2][NSTORE3][NPR+NSPECIAL])
 

Detailed Description

Boundary conditions declarations.

Definition in file bounds.funcdeclare.h.

Function Documentation

int bound_allprim ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
FTYPE(*)  prim[NSTORE2][NSTORE3][NPR],
FTYPE(*)  pstag[NSTORE2][NSTORE3][NPR],
FTYPE(*)  ucons[NSTORE2][NSTORE3][NPR],
int  doboundmpi 
)

normal bounding of all primitives

Definition at line 1733 of file step_ch.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int bound_anyallprim ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
int  boundvartype,
FTYPE(*)  prim[NSTORE2][NSTORE3][NPR],
FTYPE(*)  pstag[NSTORE2][NSTORE3][NPR],
FTYPE(*)  ucons[NSTORE2][NSTORE3][NPR],
int  doboundmpi 
)

bound all prims

Definition at line 1748 of file step_ch.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int bound_anyprim ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
int  boundvartype,
FTYPE(*)  prim[NSTORE2][NSTORE3][NPR],
FTYPE(*)  pstag[NSTORE2][NSTORE3][NPR],
FTYPE(*)  ucons[NSTORE2][NSTORE3][NPR],
int  doboundmpi 
)

bound any prim type CALLS directly real and MPI boundary functions pstag = pstagglobal ucons = unewglobal

Definition at line 1834 of file step_ch.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int bound_anypstag ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
int  boundvartype,
FTYPE(*)  prim[NSTORE2][NSTORE3][NPR],
FTYPE(*)  pstag[NSTORE2][NSTORE3][NPR],
FTYPE(*)  ucons[NSTORE2][NSTORE3][NPR],
int  doboundmpi 
)

bound any pstag type CALLS directly real and MPI boundary functions pstag is at FACE1,2,3 for fields, so user bound is different MPI bounding is the same as CENT quantities used when restarting in initbase.c to bound unewglobal for FLUXB==FLUXCTSTAG

Definition at line 1912 of file step_ch.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int bound_beforeevolveprim ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
FTYPE(*)  prim[NSTORE2][NSTORE3][NPR],
FTYPE(*)  pstag[NSTORE2][NSTORE3][NPR],
FTYPE(*)  ucons[NSTORE2][NSTORE3][NPR],
int  doboundmpi 
)

simple bounding during evolution NOTEMARK: Was previously also bounding pstag here, but not necessary since done by calling bound_pstag in fluxctstag.c

Definition at line 1688 of file step_ch.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int bound_evolveprim ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
FTYPE(*)  prim[NSTORE2][NSTORE3][NPR],
FTYPE(*)  pstag[NSTORE2][NSTORE3][NPR],
FTYPE(*)  ucons[NSTORE2][NSTORE3][NPR],
int  doboundmpi 
)

normal full bounding during evolution NOTEMARK: Was previously also bounding pstag here, but not necessary since done by calling bound_pstag in fluxctstag.c

Definition at line 1663 of file step_ch.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int bound_flux_user ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
int  boundvartype,
FTYPE(*)  F1[NSTORE2][NSTORE3][NPR+NSPECIAL],
FTYPE(*)  F2[NSTORE2][NSTORE3][NPR+NSPECIAL],
FTYPE(*)  F3[NSTORE2][NSTORE3][NPR+NSPECIAL] 
)

Definition at line 45 of file boundsflux.c.

int bound_prim ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
FTYPE(*)  prim[NSTORE2][NSTORE3][NPR],
FTYPE(*)  pstag[NSTORE2][NSTORE3][NPR],
FTYPE(*)  ucons[NSTORE2][NSTORE3][NPR],
int  doboundmpi 
)

normal bounding of non-staggered primitives

Definition at line 1709 of file step_ch.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int bound_prim_user_dir ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
int  whichdir,
int  boundvartype,
FTYPE(*)  prim[NSTORE2][NSTORE3][NPR] 
)

Definition at line 228 of file bounds.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int bound_pstag ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
FTYPE(*)  prim[NSTORE2][NSTORE3][NPR],
FTYPE(*)  pstag[NSTORE2][NSTORE3][NPR],
FTYPE(*)  ucons[NSTORE2][NSTORE3][NPR],
int  doboundmpi 
)

normal bounding of staggered primitives

Definition at line 1721 of file step_ch.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int bound_pstag_user_dir ( int  boundstage,
int  finalstep,
SFTYPE  boundtime,
int  whichdir,
int  boundvartype,
FTYPE(*)  pstag[NSTORE2][NSTORE3][NPR] 
)

assume single user function takes care of primitive locations

Definition at line 252 of file bounds.c.

Here is the call graph for this function:

Here is the caller graph for this function: