Variables

globals.h File Reference

Contains global variables. More...

Go to the source code of this file.

Variables

Real CourNo
 Courant, Friedrichs, & Lewy (CFL) number.
Real Iso_csound
 isothermal sound speed
Real Iso_csound2
 isothermal sound speed squared
Real Gamma
 adiabatic index (ratio of specific heats)
Real Gamma_1
Real Gamma_2
 (Gamma)-1 and (Gamma)-2
int myID_Comm_world
 Rank (proc ID) in MPI_COMM_WORLD, 0 for single proc.
GravPotFun_t StaticGravPot = NULL
CoolingFun_t CoolingFunc = NULL
Real four_pi_G
Real grav_mean_rho
 4 G and mean density in domain
GravPotFun_t ShearingBoxPot = NULL
 shearing box tidal gravitational potential
Real Omega_0
Real qshear
 orbital freq and shear parameter dln/dlnr
enum SS2DCoord ShBoxCoord
TSFun_t get_ts = NULL
 get the stopping time
WeightFun_t getweight = NULL
 get weight function
Real kappa_iso = 0.0
Real kappa_aniso = 0.0
 coeff of thermal conduction
Real eta_Ohm = 0.0
Real Q_Hall = 0.0
Real Q_AD = 0.0
 diffusivities
Real d_ind
 index: n_e ~ d^(d_ind)
EtaFun_t get_myeta = NULL
 function to calculate the diffusivities
Real nu_iso = 0.0
Real nu_aniso = 0.0
 coeff of viscosity
StaticGravAcc_t x1GravAcc = NULL
Realr = NULL
Realri = NULL
OrbitalFun_t OrbitalProfile = NULL
ShearFun_t ShearProfile = NULL
Real alamcoeff
 coefficient for the calculation of a/lambda
Realgrrhoa
 an array of particle solid density times particle size in normalized unit

Detailed Description

Contains global variables.

PURPOSE: Contains global variables: The first occurence in this file is included in main.c and defines the variables. The second is included everywhere else.

Definition in file globals.h.


Variable Documentation

coefficient for the calculation of a/lambda

Definition at line 37 of file particle.h.

Referenced by dump_restart(), get_ts_general(), init_particle(), problem(), and restart_grids().

Courant, Friedrichs, & Lewy (CFL) number.

Definition at line 14 of file globals.h.

Referenced by diff_dt(), Fargo(), main(), and new_dt().

index: n_e ~ d^(d_ind)

Definition at line 46 of file globals.h.

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

Real eta_Ohm = 0.0

(Gamma)-1 and (Gamma)-2

Definition at line 20 of file globals.h.

Referenced by esys_roe_adb_mhd(), and main().

function to calculate the diffusivities

Definition at line 47 of file globals.h.

Referenced by get_eta(), resistivity_destruct(), and resistivity_init().

TSFun_t get_ts = NULL

get the stopping time

Definition at line 37 of file globals.h.

Referenced by feedback_predictor(), Get_Drag(), Get_Term(), init_particle(), and problem().

an array of particle solid density times particle size in normalized unit

Definition at line 34 of file particle.h.

Referenced by dump_restart(), get_ts_epstein(), get_ts_general(), init_particle(), particle_destruct(), problem(), and restart_grids().

coeff of thermal conduction

Definition at line 42 of file globals.h.

Referenced by conduction(), diff_dt(), HeatFlux_aniso(), and integrate_diff_init().

Real kappa_iso = 0.0

Definition at line 42 of file globals.h.

Referenced by conduction(), diff_dt(), HeatFlux_iso(), and integrate_diff_init().

Real nu_aniso = 0.0

coeff of viscosity

Definition at line 50 of file globals.h.

Referenced by diff_dt(), integrate_diff_init(), problem(), problem_read_restart(), viscosity(), and ViscStress_aniso().

Real nu_iso = 0.0

Definition at line 57 of file globals.h.

Referenced by Fargo(), integrate_3d_ctu(), problem(), and problem_read_restart().

Real Q_AD = 0.0

diffusivities

Definition at line 45 of file globals.h.

Referenced by diff_dt(), eta_single_const(), integrate_diff_init(), problem(), problem_read_restart(), and resistivity().

Real Q_Hall = 0.0
Real * r = NULL
Real * ri = NULL

Definition at line 55 of file globals.h.

Referenced by Fargo(), integrate_1d_ctu(), integrate_2d_ctu(), integrate_3d_ctu(), and lr_states().

enum SS2DCoord ShBoxCoord

Definition at line 33 of file globals.h.

Referenced by integrate_2d_ctu(), problem(), ShearingSheet_ix1(), and ShearingSheet_ox1().

static Real ShearingBoxPot = NULL

shearing box tidal gravitational potential

static Real ShearingBoxPot(const Real x1, const Real x2, const Real x3)

Shearing box tidal gravitational potential.

shearing box tidal potential

Definition at line 31 of file globals.h.

Referenced by integrate_2d_ctu(), integrate_3d_ctu(), problem(), and problem_read_restart().

Definition at line 58 of file globals.h.

Referenced by problem(), and problem_read_restart().

Definition at line 54 of file globals.h.

Referenced by disk_ir(), disk_or(), problem(), and problem_read_restart().