Functions | Variables

prob/cylwindrotb.c File Reference

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

Detailed Description

The cylindrical analogue of the Bondi accretion (Parker wind) problem with rotation and magnetic field.

Axisymmetric.

Definition in file cylwindrotb.c.


Function Documentation

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.

static Real grav_acc ( const Real  x1,
const Real  x2,
const Real  x3 
) [static]

Definition at line 246 of file cylwindrotb.c.

References GM.

static Real grav_pot ( const Real  x1,
const Real  x2,
const Real  x3 
) [static]

Definition at line 240 of file cylwindrotb.c.

References GM.

Real myfunc ( const Real  x,
const Real  y 
)

Definition at line 257 of file cylwindrotb.c.

References E, eta, Gamma_1, omega, and theta.

void problem ( DomainS pDomain  ) 
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().

Here is the call graph for this function:

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.


Variable Documentation

Real E [static]
Real eta [static]

Definition at line 25 of file cylwindrotb.c.

Referenced by myfunc(), and problem().

const Real GM = 1.0

Definition at line 28 of file cylwindrotb.c.

Referenced by grav_acc(), grav_pot(), and problem().

Real omega [static]

Definition at line 25 of file cylwindrotb.c.

Referenced by myfunc(), and problem().

const Real R_A = 1.0

Definition at line 27 of file cylwindrotb.c.

Referenced by problem().

const Real rho_A = 1.0

Definition at line 26 of file cylwindrotb.c.

Referenced by problem().

ConsS*** RootSoln = NULL [static]

Definition at line 32 of file cylwindrotb.c.

Real theta [static]

Definition at line 25 of file cylwindrotb.c.

Referenced by flux_LR(), myfunc(), problem(), and problem_read_restart().

Real vz [static]

Definition at line 25 of file cylwindrotb.c.

Referenced by fluxes(), GET_RIEMANN_STATE(), getVelT_Shock(), and problem().