The cylindrical analogue of the Bondi accretion (Parker wind) problem with rotation and magnetic field. More...
Go to the source code of this file.
Functions | |
static Real | grav_pot (const Real x1, const Real x2, const Real x3) |
static Real | grav_acc (const Real x1, const Real x2, const Real x3) |
Real | myfunc (const Real x, const Real y) |
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 | theta |
static Real | omega |
static Real | eta |
static Real | E |
static Real | vz |
const Real | rho_A = 1.0 |
const Real | R_A = 1.0 |
const Real | GM = 1.0 |
static ConsS *** | RootSoln = NULL |
The cylindrical analogue of the Bondi accretion (Parker wind) problem with rotation and magnetic field.
Axisymmetric.
Definition in file cylwindrotb.c.
ConsFun_t get_usr_expr | ( | const char * | expr | ) |
Sets pointer to expression for special output data.
Definition at line 218 of file cylwindrotb.c.
VOutFun_t get_usr_out_fun | ( | const char * | name | ) |
Returns a user defined output function pointer.
Definition at line 223 of file cylwindrotb.c.
Definition at line 246 of file cylwindrotb.c.
References GM.
Definition at line 240 of file cylwindrotb.c.
References GM.
void problem | ( | DomainS * | pDomain | ) |
Problem initial conditions, edited for each problem.
Definition at line 37 of file cylwindrotb.c.
References a, ath_error(), ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, beta, bisection(), bvals_mhd_fun(), calloc_1d_array(), calloc_3d_array(), cc_pos(), ConsS::d, do_nothing_bc(), GridS::dx1, ConsS::E, E, eta, free_1d_array(), Gamma, Gamma_1, GM, DomainS::Grid, GridS::ie, il, GridS::is, iu, GridS::je, jl, GridS::js, ju, GridS::ke, kl, GridS::ks, ku, left_x1, ConsS::M1, M2(), ConsS::M2, ConsS::M3, myfunc(), n, nx1, nx2, nx3, omega, par_getd(), R0, R_A, rho, rho_A, right_x1, sign_change(), StaticGravPot, theta, GridS::U, vz, x1GravAcc, xmax, xmin, ymax, and ymin.
void problem_read_restart | ( | MeshS * | pM, | |
FILE * | fp | |||
) |
Problem specific subroutine for use with reading restart files, Edited for each problem.
Definition at line 213 of file cylwindrotb.c.
void problem_write_restart | ( | MeshS * | pM, | |
FILE * | fp | |||
) |
Problem specific subroutine for use with writing restart files, Edited for each problem.
Definition at line 208 of file cylwindrotb.c.
void Userwork_after_loop | ( | MeshS * | pM | ) |
Problem work executed after the main Athena loop, see main.c Edited for each problem.
Definition at line 231 of file cylwindrotb.c.
References compute_l1_error().
void Userwork_in_loop | ( | MeshS * | pM | ) |
Problem work executed during each step in the main Athena loop, see main.c.
Edited for each problem.
Definition at line 227 of file cylwindrotb.c.
Definition at line 25 of file cylwindrotb.c.
Referenced by dmrbv_ijb(), fluxes(), integrate_2d_ctu(), integrate_2d_vl(), integrate_3d_ctu(), integrate_3d_vl(), myfunc(), problem(), and Userwork_in_loop().
Definition at line 25 of file cylwindrotb.c.
Definition at line 28 of file cylwindrotb.c.
Referenced by grav_acc(), grav_pot(), and problem().
Definition at line 25 of file cylwindrotb.c.
Definition at line 27 of file cylwindrotb.c.
Referenced by problem().
Definition at line 26 of file cylwindrotb.c.
Referenced by problem().
Definition at line 32 of file cylwindrotb.c.
Definition at line 25 of file cylwindrotb.c.
Referenced by flux_LR(), myfunc(), problem(), and problem_read_restart().
Definition at line 25 of file cylwindrotb.c.
Referenced by fluxes(), GET_RIEMANN_STATE(), getVelT_Shock(), and problem().