Sets up a jet introduced through L-x1 boundary (left edge). More...
Go to the source code of this file.
Functions | |
void | jet_iib (GridS *pGrid) |
Sets ghost zones to either outflow BC or if cell is within jet radius, to jet values. | |
void | problem (DomainS *pDomain) |
Problem initial conditions, edited for each problem. | |
void | problem_write_restart (MeshS *pM, FILE *fp) |
Problem specific subroutine for use with writing restart files, Edited for each problem. | |
void | problem_read_restart (MeshS *pM, FILE *fp) |
Problem specific subroutine for use with reading restart files, Edited for each problem. | |
ConsFun_t | get_usr_expr (const char *expr) |
Sets pointer to expression for special output data. | |
VOutFun_t | get_usr_out_fun (const char *name) |
Returns a user defined output function pointer. | |
void | Userwork_in_loop (MeshS *pM) |
Problem work executed during each step in the main Athena loop, see main.c. | |
void | Userwork_after_loop (MeshS *pM) |
Problem work executed after the main Athena loop, see main.c Edited for each problem. | |
Variables | |
static Real | rjet |
static Real | Bxjet |
static Prim1DS | Wjet |
static Cons1DS | Ujet |
static Real | x1_mid |
static Real | x2_mid |
static Real | x3_mid |
Sets up a jet introduced through L-x1 boundary (left edge).
Definition in file jet.c.
ConsFun_t get_usr_expr | ( | const char * | expr | ) |
VOutFun_t get_usr_out_fun | ( | const char * | name | ) |
void jet_iib | ( | GridS * | pGrid | ) |
Sets ghost zones to either outflow BC or if cell is within jet radius, to jet values.
Definition at line 202 of file jet.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, Bxjet, Cons1DS::By, Cons1DS::Bz, cc_pos(), Cons1DS::d, ConsS::d, Cons1DS::E, ConsS::E, GridS::is, GridS::je, GridS::js, GridS::ke, GridS::ks, ConsS::M1, ConsS::M2, ConsS::M3, Cons1DS::Mx, Cons1DS::My, Cons1DS::Mz, rad, rjet, GridS::U, x2_mid, and x3_mid.
Referenced by problem(), and problem_read_restart().
void problem | ( | DomainS * | pDomain | ) |
Problem initial conditions, edited for each problem.
Definition at line 32 of file jet.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, bvals_mhd_fun(), Bxjet, Cons1DS::By, Prim1DS::By, Cons1DS::Bz, Prim1DS::Bz, Cons1DS::d, ConsS::d, Prim1DS::d, DomainS::Disp, Cons1DS::E, ConsS::E, DomainS::Grid, GridS::ie, il, GridS::is, iu, GridS::je, jet_iib(), jl, GridS::js, ju, GridS::ke, kl, GridS::ks, ku, left_x1, ConsS::M1, ConsS::M2, ConsS::M3, Cons1DS::Mx, Cons1DS::My, Cons1DS::Mz, GridS::Nx, Prim1DS::P, par_getd(), Prim1D_to_Cons1D(), rjet, DomainS::RootMaxX, DomainS::RootMinX, GridS::U, U, Prim1DS::Vx, Prim1DS::Vy, Prim1DS::Vz, W, x1_mid, x2_mid, and x3_mid.
void problem_read_restart | ( | MeshS * | pM, | |
FILE * | fp | |||
) |
Problem specific subroutine for use with reading restart files, Edited for each problem.
Definition at line 145 of file jet.c.
References bvals_mhd_fun(), Bxjet, Prim1DS::By, Prim1DS::Bz, Prim1DS::d, DomainS::Disp, MeshS::Domain, MeshS::DomainsPerLevel, DomainS::Grid, jet_iib(), left_x1, MeshS::NLevels, Prim1DS::P, par_getd(), Prim1D_to_Cons1D(), rjet, Prim1DS::Vx, Prim1DS::Vy, and Prim1DS::Vz.
void problem_write_restart | ( | MeshS * | pM, | |
FILE * | fp | |||
) |
void Userwork_after_loop | ( | MeshS * | pM | ) |
void Userwork_in_loop | ( | MeshS * | pM | ) |
Definition at line 24 of file jet.c.
Referenced by jet_iib(), problem(), and problem_read_restart().
Definition at line 24 of file jet.c.
Referenced by jet_iib(), problem(), and problem_read_restart().