A test of conservation using uniform initial conditions. More...
Go to the source code of this file.
Functions | |
| static Real | grav_pot (const Real x1, const Real x2, const Real x3) |
| Gravitational potential. | |
| static Real | grav_acc (const Real x1, const Real x2, const Real x3) |
| Gravitational acceleration. | |
| void | problem (Grid *pG, Domain *pDomain) |
| void | problem_write_restart (Grid *pG, Domain *pD, FILE *fp) |
| void | problem_read_restart (Grid *pG, Domain *pD, FILE *fp) |
| Gasfun_t | get_usr_expr (const char *expr) |
| Sets pointer to expression for special output data. | |
| VGFunout_t | get_usr_out_fun (const char *name) |
| Returns a user defined output function pointer. | |
| void | Userwork_in_loop (Grid *pGrid, Domain *pDomain) |
| void | Userwork_after_loop (Grid *pGrid, Domain *pDomain) |
Variables | |
| static Real | br |
| static Real | bphi |
| static Real | omega |
| static Real | rho |
| static Real | pgas |
| static int | iprob |
| static Gas *** | Soln = NULL |
A test of conservation using uniform initial conditions.
Definition in file cylunif.c.
| Gasfun_t get_usr_expr | ( | const char * | expr | ) |
| VGFunout_t get_usr_out_fun | ( | const char * | name | ) |
| void problem | ( | Grid * | pG, | |
| Domain * | pDomain | |||
| ) |
Definition at line 77 of file cylunif.c.
References ath_error(), bphi, br, calloc_3d_array(), cc_pos(), do_nothing_bc(), Gamma_1, il, iprob, iu, jl, ju, kl, ku, left_x1, nx1, nx2, nx3, omega, par_getd(), par_geti(), pgas, r, r1, r2, rho, right_x1, Soln, StaticGravPot, x1GravAcc, x1max, x1min, x2max, and x2min.

| void problem_read_restart | ( | Grid * | pG, | |
| Domain * | pD, | |||
| FILE * | fp | |||
| ) |
| void problem_write_restart | ( | Grid * | pG, | |
| Domain * | pD, | |||
| FILE * | fp | |||
| ) |
| void Userwork_after_loop | ( | Grid * | pGrid, | |
| Domain * | pDomain | |||
| ) |
Definition at line 208 of file cylunif.c.
References compute_l1_error(), and Soln.

int iprob [static] |
Definition at line 19 of file cylunif.c.
Referenced by grav_acc(), grav_pot(), and problem().
Definition at line 18 of file cylunif.c.
Referenced by grav_acc(), grav_pot(), problem(), and Userwork_after_loop().
Definition at line 18 of file cylunif.c.
Referenced by dump_particle_history(), feedback_predictor(), Get_Drag(), Get_Term(), grav_acc(), grav_pot(), and problem().
Gas*** Soln = NULL [static] |
Definition at line 70 of file cylunif.c.
Referenced by problem(), and Userwork_after_loop().
1.7.1