Functions

prob/blast.c File Reference

Problem generator for spherical blast wave problem. More...

Go to the source code of this file.

Functions

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.

Detailed Description

Problem generator for spherical blast wave problem.

PURPOSE: Problem generator for spherical blast wave problem.

REFERENCE: P. Londrillo & L. Del Zanna, "High-order upwind schemes for multidimensional MHD", ApJ, 530, 508 (2000), and references therein.

Definition in file blast.c.


Function Documentation

ConsFun_t get_usr_expr ( const char *  expr  ) 

Sets pointer to expression for special output data.

Definition at line 115 of file blast.c.

Referenced by init_output().

Here is the caller graph for this function:

VOutFun_t get_usr_out_fun ( const char *  name  ) 

Returns a user defined output function pointer.

Definition at line 120 of file blast.c.

Referenced by init_output().

Here is the caller graph for this function:

void problem ( DomainS pDomain  ) 

Problem initial conditions, edited for each problem.

Definition at line 23 of file blast.c.

Referenced by main().

Here is the caller graph for this function:

void problem_read_restart ( MeshS pM,
FILE *  fp 
)

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

Definition at line 110 of file blast.c.

Referenced by restart_grids().

Here is the caller 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 105 of file blast.c.

Referenced by dump_restart().

Here is the caller graph for this function:

void Userwork_after_loop ( MeshS pM  ) 

Problem work executed after the main Athena loop, see main.c Edited for each problem.

Definition at line 128 of file blast.c.

Referenced by main().

Here is the caller 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 124 of file blast.c.

Referenced by main().

Here is the caller graph for this function: