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 |
Real * | r = NULL |
Real * | ri = NULL |
OrbitalFun_t | OrbitalProfile = NULL |
ShearFun_t | ShearProfile = NULL |
Real | alamcoeff |
coefficient for the calculation of a/lambda | |
Real * | grrhoa |
an array of particle solid density times particle size in normalized unit |
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.
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().
CoolingFun_t CoolingFunc = NULL |
Definition at line 25 of file globals.h.
Referenced by integrate_1d_ctu(), integrate_2d_ctu(), integrate_3d_ctu(), integrate_init_1d(), integrate_init_2d(), integrate_init_3d(), and problem().
index: n_e ~ d^(d_ind)
Definition at line 46 of file globals.h.
Referenced by eta_single_const(), problem(), and problem_read_restart().
Definition at line 45 of file globals.h.
Referenced by diff_dt(), eta_single_const(), integrate_diff_init(), problem(), problem_read_restart(), and resistivity().
Definition at line 27 of file globals.h.
Referenced by integrate_1d_ctu(), integrate_1d_vl(), integrate_2d_ctu(), integrate_2d_vl(), integrate_3d_ctu(), integrate_3d_vl(), main(), problem(), problem_read_restart(), selfg_fc(), selfg_fft_1d(), selfg_fft_2d(), selfg_fft_3d(), selfg_fft_obc_3d(), selfg_init(), and selfg_multig_3d().
adiabatic index (ratio of specific heats)
Definition at line 19 of file globals.h.
Referenced by Bfunc(), cfast(), Cons1D_to_Prim1D(), entropy_flux(), expr_cs2(), expr_S(), flux_LR(), fluxes(), get_gasinfo(), getShockVars(), getVb_Shock(), getVChar_echo(), getVChar_pluto(), getVelT_Raref(), getVelT_Shock(), getXi(), grav_pot(), guessP(), HLLE_FUNCTION(), initialize_states(), integrate_1d_ctu(), integrate_2d_ctu(), integrate_2d_vl(), integrate_3d_ctu(), integrate_3d_vl(), integrateRaref(), lr_states(), main(), new_dt(), noh3d_oib(), noh3d_ojb(), noh3d_okb(), PFunc(), PFuncDeriv(), problem(), ScaleToBeta(), and setFluxes().
Definition at line 20 of file globals.h.
Referenced by Bfunc(), cfast(), conduction(), Cons1D_to_Prim1D(), constant_iib(), constant_oib(), cyladvect_ix1(), cyladvect_ox1(), cylbr_ix1(), cylbr_ox1(), dump_binary(), esys_roe_adb_hyd(), esys_roe_adb_mhd(), expr_cs2(), expr_P(), expr_S(), flux_LR(), fluxes(), get_gasinfo(), getVChar_echo(), getVChar_pluto(), initialize_states(), integrate_1d_ctu(), integrate_2d_ctu(), integrate_3d_ctu(), KoyInut(), main(), myfunc(), new_dt(), noh3d_oib(), noh3d_ojb(), noh3d_okb(), Prim1D_to_Cons1D(), problem(), reflect_ix2(), reflect_ix3(), reflect_ox2(), reflect_ox3(), and shk_cloud_iib().
(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().
get the stopping time
Definition at line 37 of file globals.h.
Referenced by feedback_predictor(), Get_Drag(), Get_Term(), init_particle(), and problem().
WeightFun_t getweight = NULL |
get weight function
Definition at line 38 of file globals.h.
Referenced by dump_particle_binary(), feedback_corrector(), feedback_predictor(), Get_Drag(), Get_Term(), init_particle(), and particle_to_grid().
4 G and mean density in domain
Definition at line 27 of file globals.h.
Referenced by integrate_1d_ctu(), integrate_1d_vl(), integrate_2d_ctu(), integrate_2d_vl(), integrate_3d_ctu(), integrate_3d_vl(), main(), problem(), problem_read_restart(), selfg_fc(), selfg_fft_1d(), selfg_fft_2d(), selfg_fft_3d(), and selfg_init().
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().
isothermal sound speed
Definition at line 16 of file globals.h.
Referenced by BzZero(), dump_binary(), esys_prim_iso_hyd(), esys_prim_iso_mhd(), esys_roe_iso_hyd(), Fargo(), fluxes(), getvalues(), main(), problem(), problem_read_restart(), problem_write_restart(), and Userwork_after_loop().
isothermal sound speed squared
Definition at line 17 of file globals.h.
Referenced by cfast(), esys_prim_iso_mhd(), esys_roe_iso_mhd(), expr_beta(), expr_P(), fluxes(), HLLE_FUNCTION(), initialize(), integrate_1d_ctu(), integrate_2d_ctu(), integrate_3d_ctu(), main(), new_dt(), problem(), problem_read_restart(), and ScaleToBeta().
Real kappa_aniso = 0.0 |
coeff of thermal conduction
Definition at line 42 of file globals.h.
Referenced by conduction(), diff_dt(), HeatFlux_aniso(), and integrate_diff_init().
Definition at line 42 of file globals.h.
Referenced by conduction(), diff_dt(), HeatFlux_iso(), and integrate_diff_init().
int myID_Comm_world |
Rank (proc ID) in MPI_COMM_WORLD, 0 for single proc.
Definition at line 22 of file globals.h.
Referenced by bvals_grav(), bvals_grav_init(), bvals_mhd(), bvals_mhd_init(), dump_history(), init_grid(), init_mesh(), integrate_3d_ctu(), main(), problem(), RemapEy_ix1(), RemapEy_ox1(), ShearingSheet_ix1(), and ShearingSheet_ox1().
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().
Definition at line 50 of file globals.h.
Referenced by diff_dt(), integrate_diff_init(), problem(), problem_read_restart(), viscosity(), and ViscStress_iso().
Definition at line 32 of file globals.h.
Referenced by advect_particles(), constant_iib(), constant_oib(), expr_dV2(), expr_dV3(), expr_dV3par(), expr_dVy(), expr_dVypar(), expr_KE(), Fargo(), Get_Force(), hst_dBy(), hst_dEk(), hst_dEw2(), hst_rho_dVy2(), hst_rho_Vx_dVy(), int_par_fulimp(), int_par_semimp(), integrate_2d_ctu(), integrate_3d_ctu(), Integrate_Particles(), ParticlePosition(), ParticleVelocity(), problem(), problem_read_restart(), RemapEy_ix1(), RemapEy_ox1(), set_bvals_particle_init(), ShearingBoxPot(), ShearingSheet_ix1(), ShearingSheet_ox1(), UnstratifiedDisk(), Userforce_particle(), Userwork_after_loop(), Userwork_in_loop(), VertGrav(), and viscosity().
OrbitalFun_t OrbitalProfile = NULL |
Definition at line 57 of file globals.h.
Referenced by Fargo(), integrate_3d_ctu(), problem(), and problem_read_restart().
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().
Definition at line 45 of file globals.h.
Referenced by diff_dt(), eta_single_const(), integrate_diff_init(), problem(), problem_read_restart(), resistivity(), and resistivity_init().
orbital freq and shear parameter dln/dlnr
Definition at line 32 of file globals.h.
Referenced by advect_particles(), constant_iib(), constant_oib(), expr_dV2(), expr_dV3(), expr_dV3par(), expr_dVy(), expr_dVypar(), expr_KE(), Fargo(), Get_Force(), hst_dBy(), hst_dEk(), hst_dEw2(), hst_rho_dVy2(), hst_rho_Vx_dVy(), int_par_exp(), int_par_fulimp(), int_par_semimp(), int_par_spec(), integrate_2d_ctu(), integrate_3d_ctu(), Integrate_Particles(), ParticleVelocity(), problem(), problem_read_restart(), RemapEy_ix1(), RemapEy_ox1(), set_bvals_particle_init(), ShearingBoxPot(), ShearingSheet_ix1(), ShearingSheet_ox1(), UnstratifiedDisk(), Userwork_after_loop(), Userwork_in_loop(), and viscosity().
Definition at line 55 of file globals.h.
Referenced by d(), dump_vtk(), Fargo(), integrate_1d_ctu(), integrate_2d_ctu(), integrate_3d_ctu(), lr_states(), noh3d_oib(), noh3d_ojb(), noh3d_okb(), output_pdf(), problem(), and QUARTIC().
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().
ShearFun_t ShearProfile = NULL |
Definition at line 58 of file globals.h.
Referenced by problem(), and problem_read_restart().
GravPotFun_t StaticGravPot = NULL |
Definition at line 24 of file globals.h.
Referenced by integrate_1d_ctu(), integrate_1d_vl(), integrate_2d_ctu(), integrate_2d_vl(), integrate_3d_ctu(), integrate_3d_vl(), integrate_init_1d(), integrate_init_2d(), integrate_init_3d(), problem(), and problem_read_restart().
StaticGravAcc_t x1GravAcc = NULL |