The cylindrical analogue of the Bondi accretion (Parker wind) problem with rotation. 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 (Real x, Real v) |
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 | ang_mom |
static Real | c_infty |
static Real | lambda_s |
static Real | vz0 |
static int | iprob |
static ConsS *** | RootSoln = NULL |
The cylindrical analogue of the Bondi accretion (Parker wind) problem with rotation.
Hydrodynamic, axisymmetric.
Definition in file cylwindrot.c.
ConsFun_t get_usr_expr | ( | const char * | expr | ) |
Sets pointer to expression for special output data.
Definition at line 167 of file cylwindrot.c.
VOutFun_t get_usr_out_fun | ( | const char * | name | ) |
Returns a user defined output function pointer.
Definition at line 172 of file cylwindrot.c.
Definition at line 196 of file cylwindrot.c.
References c_infty.
Definition at line 190 of file cylwindrot.c.
References c_infty.
void problem | ( | DomainS * | pDomain | ) |
Problem initial conditions, edited for each problem.
Definition at line 35 of file cylwindrot.c.
References a, alpha, ang_mom, ath_error(), beta, bisection(), bvals_mhd_fun(), c_infty, calloc_3d_array(), cc_pos(), ConsS::d, do_nothing_bc(), ConsS::E, Gamma, Gamma_1, DomainS::Grid, GridS::ie, il, iprob, GridS::is, iu, GridS::je, jl, GridS::js, ju, GridS::ke, kl, GridS::ks, ku, lambda_s, left_x1, ConsS::M1, ConsS::M2, ConsS::M3, myfunc(), nx1, nx2, nx3, par_getd(), par_geti(), pgas, pgas0, right_x1, StaticGravPot, GridS::U, vz0, and x1GravAcc.
void problem_read_restart | ( | MeshS * | pM, | |
FILE * | fp | |||
) |
Problem specific subroutine for use with reading restart files, Edited for each problem.
Definition at line 162 of file cylwindrot.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 157 of file cylwindrot.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 180 of file cylwindrot.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 176 of file cylwindrot.c.
Definition at line 25 of file cylwindrot.c.
Definition at line 25 of file cylwindrot.c.
Referenced by grav_acc(), grav_pot(), myfunc(), and problem().
int iprob [static] |
Definition at line 26 of file cylwindrot.c.
Referenced by problem().
Definition at line 25 of file cylwindrot.c.
Definition at line 30 of file cylwindrot.c.
Definition at line 25 of file cylwindrot.c.
Referenced by problem().