Functions | Variables

integrators/integrate_1d_ctu.c File Reference

Integrate MHD equations using 1D version of the CTU integrator. More...

Go to the source code of this file.

Functions

void integrate_1d_ctu (DomainS *pD)
 1D version of CTU unsplit integrator for MHD
void integrate_init_1d (MeshS *pM)
 Allocate temporary integration arrays.
void integrate_destruct_1d (void)
 Free temporary integration arrays.

Variables

static Cons1DSUl_x1Face = NULL
static Cons1DSUr_x1Face = NULL
static Cons1DSx1Flux = NULL
static RealBxc = NULL
static RealBxi = NULL
static Prim1DSW = NULL
static Prim1DSWl = NULL
static Prim1DSWr = NULL
static Cons1DSU1d = NULL
static Realdhalf = NULL
static Realphalf = NULL
static Realgeom_src = NULL

Detailed Description

Integrate MHD equations using 1D version of the CTU integrator.

PURPOSE: Integrate MHD equations using 1D version of the CTU integrator. Updates U.[d,M1,M2,M3,E,B2c,B3c,s] in Grid structure, where U is of type ConsS. Adds gravitational source terms, self-gravity, and optically-thin cooling.

CONTAINS PUBLIC FUNCTIONS:

Definition in file integrate_1d_ctu.c.


Function Documentation

void integrate_1d_ctu ( DomainS pD  ) 
void integrate_destruct_1d ( void   ) 

Free temporary integration arrays.

Definition at line 685 of file integrate_1d_ctu.c.

Referenced by integrate_destruct().

Here is the caller graph for this function:

void integrate_init_1d ( MeshS pM  ) 

Allocate temporary integration arrays.

Definition at line 631 of file integrate_1d_ctu.c.

Referenced by integrate_init().

Here is the caller graph for this function:


Variable Documentation

Real* Bxc = NULL [static]
Real * Bxi = NULL [static]

Definition at line 39 of file integrate_1d_ctu.c.

Referenced by integrate_1d_ctu(), integrate_destruct_1d(), and integrate_init_1d().

Real* dhalf = NULL [static]

Definition at line 44 of file integrate_1d_ctu.c.

Referenced by integrate_1d_ctu(), integrate_destruct_1d(), and integrate_init_1d().

Real* geom_src = NULL [static]

Definition at line 48 of file integrate_1d_ctu.c.

Referenced by integrate_1d_ctu(), integrate_destruct_1d(), and integrate_init_1d().

Real * phalf = NULL [static]

Definition at line 44 of file integrate_1d_ctu.c.

Referenced by integrate_1d_ctu(), integrate_destruct_1d(), and integrate_init_1d().

Cons1DS* U1d = NULL [static]

Definition at line 41 of file integrate_1d_ctu.c.

Referenced by problem().

Cons1DS* Ul_x1Face = NULL [static]

Definition at line 36 of file integrate_1d_ctu.c.

Referenced by integrate_2d_vl(), and integrate_3d_vl().

Cons1DS * Ur_x1Face = NULL [static]
Prim1DS* W = NULL [static]
Prim1DS * Wl = NULL [static]
Prim1DS * Wr = NULL [static]
Cons1DS * x1Flux = NULL [static]

Definition at line 36 of file integrate_1d_ctu.c.

Referenced by integrate_1d_ctu(), integrate_destruct_1d(), and integrate_init_1d().