Problem generator for Hawley Krolik disk (Specifically, GT4). 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 | density (Real x1, Real x2, Real x3) |
Calculates the density at x1, x2, x3. | |
Real | Volume (Grid *pG, int i, int j, int k) |
Calculates the volume of cell (i,j,k). | |
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. | |
void | Userwork_in_loop (Grid *pG, Domain *pDomain) |
void | Userwork_after_loop (Grid *pG, Domain *pDomain) |
Variables | |
static Real | q |
static Real | r0 |
static Real | rhomax |
static Real | r_in |
static Real | rho0 |
static Real | e0 |
static Real | dcut |
static Real | beta |
static Real | seed |
static Real | f |
static Real | C |
static Real | Kbar |
static Real | n |
Problem generator for Hawley Krolik disk (Specifically, GT4).
Definition in file hkdisk.c.
Gasfun_t get_usr_expr | ( | const char * | expr | ) |
void problem | ( | Grid * | pG, | |
Domain * | pDomain | |||
) |
Definition at line 68 of file hkdisk.c.
References ath_error(), beta, C, calloc_3d_array(), cc_pos(), dcut, density(), divB(), e0, f, Gamma, Gamma_1, il, iu, jl, ju, Kbar, kl, ku, left_x1, left_x3, n, nx1, nx2, nx3, par_getd(), q, r0, r02, r_in, rad, rho0, rhomax, right_x1, right_x3, seed, StaticGravPot, Volume(), and x1GravAcc.
void problem_read_restart | ( | Grid * | pG, | |
Domain * | pD, | |||
FILE * | fp | |||
) |
void problem_write_restart | ( | Grid * | pG, | |
Domain * | pD, | |||
FILE * | fp | |||
) |
void Userwork_in_loop | ( | Grid * | pG, | |
Domain * | pDomain | |||
) |
Real Volume | ( | Grid * | pG, | |
int | i, | |||
int | j, | |||
int | k | |||
) |
Definition at line 19 of file hkdisk.c.
Referenced by lr_states(), problem(), and problem_read_restart().
Definition at line 22 of file hkdisk.c.
Referenced by density(), fluxes(), GET_RIEMANN_STATE(), getShockVars(), getvalues(), getVelT_Raref(), int_par_fulimp(), lr_states(), and problem().
Definition at line 19 of file hkdisk.c.
Referenced by problem(), and problem_read_restart().
Definition at line 19 of file hkdisk.c.
Referenced by dmrbv_iib(), dmrbv_ijb(), dmrbv_ojb(), problem(), problem_read_restart(), and Userwork_in_loop().
Definition at line 22 of file hkdisk.c.
Referenced by CUBIC(), density(), fluxes(), integrateRaref(), PFunc(), problem(), QUARTIC(), rtbis_vel(), rtbis_xi(), and rtsafe().
Definition at line 22 of file hkdisk.c.
Referenced by advect_particles(), ath_big_endian(), bvals_grav_init(), bvals_mhd_init(), BzZero(), check_Prim(), compute_l1_error(), Cons_to_Prim(), CUBIC(), data_output(), density(), dump_binary(), dump_history(), dump_particle_history(), dump_restart(), dump_tab_cons(), dump_tab_prim(), dump_vtk(), entropy_fix(), Fargo(), fix_vsq(), fluxes(), HLLE_FUNCTION(), init_grid(), init_mesh(), integrate_1d_ctu(), integrate_1d_vl(), integrate_2d_ctu(), integrate_2d_vl(), integrate_3d_ctu(), integrate_3d_vl(), integrateRaref(), Jacobi(), KoyInut(), lr_states(), output_pdf(), pack_ix1(), pack_ix2(), pack_ix3(), pack_ox1(), pack_ox2(), pack_ox3(), packing_ix1_particle(), packing_ix1_particle_shear(), packing_ix2_particle(), packing_ix3_particle(), packing_ox1_particle(), packing_ox1_particle_shear(), packing_ox2_particle(), packing_ox3_particle(), packing_particle_fargo(), periodic_ix1_particle(), periodic_ix2_particle(), periodic_ix3_particle(), periodic_ox1_particle(), periodic_ox2_particle(), periodic_ox3_particle(), Prim_to_Cons(), problem(), ProCon(), Prolongate(), QUARTIC(), reflect_ix1_particle(), reflect_ix2_particle(), reflect_ix3_particle(), reflect_ox1_particle(), reflect_ox2_particle(), reflect_ox3_particle(), restart_grids(), RestrictCorrect(), ShearingSheet_ix1(), ShearingSheet_ox1(), sign_change(), unpack_ix1(), unpack_ix2(), unpack_ix3(), unpack_ox1(), unpack_ox2(), unpack_ox3(), and Userwork_after_loop().
Definition at line 19 of file hkdisk.c.
Referenced by density(), problem(), and problem_read_restart().
Definition at line 19 of file hkdisk.c.
Referenced by problem(), and problem_read_restart().
Definition at line 19 of file hkdisk.c.
Referenced by density(), problem(), and problem_read_restart().
Definition at line 19 of file hkdisk.c.
Referenced by problem(), and problem_read_restart().