Functions | Variables

prob/jet.c File Reference

Sets up a jet introduced through L-x1 boundary (left edge). More...

Go to the source code of this file.

Functions

void jet_iib (GridS *pGrid)
 Sets ghost zones to either outflow BC or if cell is within jet radius, to jet values.
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 rjet
static Real Bxjet
static Prim1DS Wjet
static Cons1DS Ujet
static Real x1_mid
static Real x2_mid
static Real x3_mid

Detailed Description

Sets up a jet introduced through L-x1 boundary (left edge).

Definition in file jet.c.


Function Documentation

ConsFun_t get_usr_expr ( const char *  expr  ) 

Sets pointer to expression for special output data.

Definition at line 174 of file jet.c.

VOutFun_t get_usr_out_fun ( const char *  name  ) 

Returns a user defined output function pointer.

Definition at line 179 of file jet.c.

void jet_iib ( GridS pGrid  ) 

Sets ghost zones to either outflow BC or if cell is within jet radius, to jet values.

Definition at line 202 of file jet.c.

References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, Bxjet, Cons1DS::By, Cons1DS::Bz, cc_pos(), Cons1DS::d, ConsS::d, Cons1DS::E, ConsS::E, GridS::is, GridS::je, GridS::js, GridS::ke, GridS::ks, ConsS::M1, ConsS::M2, ConsS::M3, Cons1DS::Mx, Cons1DS::My, Cons1DS::Mz, rad, rjet, GridS::U, x2_mid, and x3_mid.

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 ( 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 145 of file jet.c.

References bvals_mhd_fun(), Bxjet, Prim1DS::By, Prim1DS::Bz, Prim1DS::d, DomainS::Disp, MeshS::Domain, MeshS::DomainsPerLevel, DomainS::Grid, jet_iib(), left_x1, MeshS::NLevels, Prim1DS::P, par_getd(), Prim1D_to_Cons1D(), rjet, Prim1DS::Vx, Prim1DS::Vy, and Prim1DS::Vz.

Here is the call graph for this function:

void problem_write_restart ( MeshS pM,
FILE *  fp 
)

Problem specific subroutine for use with writing restart files, Edited for each problem.

Definition at line 140 of file jet.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 188 of file jet.c.

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 183 of file jet.c.


Variable Documentation

Real Bxjet [static]

Definition at line 24 of file jet.c.

Referenced by jet_iib(), problem(), and problem_read_restart().

Real rjet [static]

Definition at line 24 of file jet.c.

Referenced by jet_iib(), problem(), and problem_read_restart().

Cons1DS Ujet [static]

Definition at line 26 of file jet.c.

Prim1DS Wjet [static]

Definition at line 25 of file jet.c.

Real x1_mid [static]

Definition at line 27 of file jet.c.

Referenced by problem().

Real x2_mid [static]

Definition at line 27 of file jet.c.

Referenced by jet_iib(), and problem().

Real x3_mid [static]

Definition at line 27 of file jet.c.

Referenced by jet_iib(), and problem().