Functions

prob/bubble.c File Reference

Problem generator for bubble in spherical isothermal atmosphere. More...

Go to the source code of this file.

Functions

static Real grav_pot (const Real x1, const Real x2, const Real x3)
 Static gravitational potential.
static void outflow_ix1 (Grid *pGrid)
 Special outflow boundary function.
static void outflow_ox1 (Grid *pGrid)
 Special outflow boundary function.
static void outflow_ox2 (Grid *pGrid)
 Special outflow boundary function.
static void outflow_ix3 (Grid *pGrid)
 Special outflow boundary function.
static void outflow_ox3 (Grid *pGrid)
 Special outflow boundary function.
void problem (Grid *pGrid, 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)

Detailed Description

Problem generator for bubble in spherical isothermal atmosphere.

Definition in file bubble.c.


Function Documentation

Gasfun_t get_usr_expr ( const char *  expr  ) 

Sets pointer to expression for special output data.

Definition at line 161 of file bubble.c.

VGFunout_t get_usr_out_fun ( const char *  name  ) 

Returns a user defined output function pointer.

Definition at line 166 of file bubble.c.

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

Static gravitational potential.

Definition at line 182 of file bubble.c.

References Gamma, and r2.

static void outflow_ix1 ( Grid *  pGrid  )  [static]

Special outflow boundary function.

Definition at line 194 of file bubble.c.

References cc_pos(), d0, ju, ku, p0, and r2.

Referenced by problem(), and problem_read_restart().

Here is the call graph for this function:

Here is the caller graph for this function:

static void outflow_ix3 ( Grid *  pGrid  )  [static]

Special outflow boundary function.

Definition at line 421 of file bubble.c.

References cc_pos(), d0, il, iu, jl, ju, p0, and r2.

Referenced by problem(), and problem_read_restart().

Here is the call graph for this function:

Here is the caller graph for this function:

static void outflow_ox1 ( Grid *  pGrid  )  [static]

Special outflow boundary function.

Definition at line 267 of file bubble.c.

References cc_pos(), d0, ju, ku, p0, and r2.

Referenced by problem(), and problem_read_restart().

Here is the call graph for this function:

Here is the caller graph for this function:

static void outflow_ox2 ( Grid *  pGrid  )  [static]

Special outflow boundary function.

Definition at line 341 of file bubble.c.

References cc_pos(), d0, il, iu, ku, p0, and r2.

Referenced by problem(), and problem_read_restart().

Here is the call graph for this function:

Here is the caller graph for this function:

static void outflow_ox3 ( Grid *  pGrid  )  [static]

Special outflow boundary function.

Definition at line 502 of file bubble.c.

References cc_pos(), d0, il, iu, jl, ju, p0, and r2.

Referenced by problem(), and problem_read_restart().

Here is the call graph for this function:

Here is the caller graph for this function:

void problem ( Grid *  pGrid,
Domain *  pDomain 
)

Definition at line 36 of file bubble.c.

References b0, cc_pos(), eta_Ohm, Gamma, Gamma_1, left_x1, left_x3, outflow_ix1(), outflow_ix3(), outflow_ox1(), outflow_ox2(), outflow_ox3(), par_getd(), par_geti(), r2, right_x1, right_x2, right_x3, and StaticGravPot.

Here is the call graph for this function:

void problem_read_restart ( Grid *  pG,
Domain *  pD,
FILE *  fp 
)

Definition at line 149 of file bubble.c.

References left_x1, left_x3, outflow_ix1(), outflow_ix3(), outflow_ox1(), outflow_ox2(), outflow_ox3(), right_x1, right_x2, right_x3, and StaticGravPot.

Here is the call graph for this function:

void problem_write_restart ( Grid *  pG,
Domain *  pD,
FILE *  fp 
)

Definition at line 139 of file bubble.c.

void Userwork_after_loop ( Grid *  pGrid,
Domain *  pDomain 
)

Definition at line 174 of file bubble.c.

void Userwork_in_loop ( Grid *  pGrid,
Domain *  pDomain 
)

Definition at line 170 of file bubble.c.