MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Functions/Subroutines | Variables
mod_global_parameters Module Reference

This module contains definitions of global parameters and variables and some generic functions/subroutines used in AMRVAC. More...

Functions/Subroutines

pure subroutine cross_product (ixIL, ixOL, a, b, axb)
 Cross product of two vectors. More...
 

Variables

character(len= *), parameter undefined = 'undefined'
 
integer npe
 The number of MPI tasks. More...
 
integer mype
 The rank of the current MPI task. More...
 
integer icomm
 The MPI communicator. More...
 
integer ierrmpi
 A global MPI error return code. More...
 
integer log_fh
 MPI file handle for logfile. More...
 
integer type_block
 MPI type for block including ghost cells and its size. More...
 
integer size_block
 
integer type_coarse_block
 MPI type for block coarsened by 2, and for its children blocks. More...
 
integer, dimension(2^d &) type_sub_block
 
integer, dimension(^nd, 2^d &) type_coarse_block_stg
 MPI type for staggered block coarsened by 2, and for its children blocks. More...
 
integer, dimension(^nd, 2^d &) type_sub_block_stg
 
integer type_block_io
 MPI type for IO: block excluding ghost cells. More...
 
integer size_block_io
 
integer type_block_io_stg
 MPI type for IO of staggered variables. More...
 
integer size_block_io_stg
 
integer type_block_xc_io
 MPI type for IO: cell corner (xc) or cell center (xcc) coordinates. More...
 
integer type_block_xcc_io
 
integer type_block_wc_io
 MPI type for IO: cell corner (wc) or cell center (wcc) variables. More...
 
integer type_block_wcc_io
 
integer ixm
 the mesh range of a physical block without ghost cells More...
 
integer ll
 
double precision xprob
 minimum and maximum domain boundaries for each dimension More...
 
double precision l
 
integer r_ = -1
 Indices for cylindrical coordinates FOR TESTS, negative value when not used: More...
 
integer phi_ = -1
 
integer z_ = -1
 
integer, parameter ndim =^ND
 Number of spatial dimensions for grid variables. More...
 
integer ndir =ndim
 Number of spatial dimensions (components) for vector variables. More...
 
integer, parameter sdim =3
 starting dimension for electric field More...
 
logical slab
 Cartesian geometry or not. More...
 
logical slab_uniform
 uniform Cartesian geometry or not (stretched Cartesian) More...
 
logical local_timestep = .false.
 each cell has its own timestep or not More...
 
integer, dimension(:), allocatable ng
 number of grid blocks in domain per dimension, in array over levels More...
 
integer, dimension(:), allocatable, parameter d = 1|
 
double precision, dimension(:), allocatable dg
 extent of grid blocks in domain per dimension, in array over levels More...
 
integer domain_nx
 number of cells for each dimension in level-one mesh More...
 
integer block_nx
 number of cells for each dimension in grid block excluding ghostcells More...
 
integer, parameter ixglo
 Lower index of grid block arrays (always 1) More...
 
integer ixghi
 Upper index of grid block arrays. More...
 
integer, parameter ixgslo
 Lower index of stagger grid block arrays (always 0) More...
 
integer ixgshi
 Upper index of stagger grid block arrays. More...
 
integer nghostcells = 2
 Number of ghost cells surrounding a grid. More...
 
integer, parameter stretch_none = 0
 No stretching. More...
 
integer, parameter stretch_uni = 1
 Unidirectional stretching from a side. More...
 
integer, parameter stretch_symm = 2
 Symmetric stretching around the center. More...
 
logical stretch_uncentered
 If true, adjust mod_geometry routines to account for grid stretching (but the flux computation will not) More...
 
logical, dimension(ndimstretched_dim
 True if a dimension is stretched. More...
 
integer, dimension(ndimstretch_type
 What kind of stretching is used per dimension. More...
 
double precision, dimension(ndimqstretch_baselevel
 stretch factor between cells at AMR level 1, per dimension More...
 
integer, dimension(ndimnstretchedblocks_baselevel
 (even) number of (symmetrically) stretched blocks at AMR level 1, per dimension More...
 
integer, dimension(:,:), allocatable nstretchedblocks
 (even) number of (symmetrically) stretched blocks per level and dimension More...
 
double precision xstretch
 physical extent of stretched border in symmetric stretching More...
 
double precision, dimension(:,:), allocatable qstretch
 Stretching factors and first cell size for each AMR level and dimension. More...
 
double precision, dimension(:,:), allocatable dxfirst
 
double precision, dimension(:,:), allocatable dxfirst_1mq
 
double precision, dimension(:,:), allocatable dxmid
 
integer, parameter nodehi =^ND+1
 grid hierarchy info (level and grid indices) More...
 
integer, parameter plevel_ =1
 
integer, parameter pig
 
integer, parameter d_ =plevel_+^D
 
integer, dimension(:,:), allocatable node
 
integer, dimension(:,:), allocatable node_sub
 
integer, parameter rnodehi =3*^ND
 grid location info (corner coordinates and grid spacing) More...
 
integer, parameter rpxmin0_ =0
 
integer, parameter rpxmin
 
integer, parameter rpxmax0_ =^ND
 
integer, parameter rpxmax
 
integer, parameter rpdx
 
double precision, dimension(:,:), allocatable rnode
 Corner coordinates. More...
 
double precision, dimension(:,:), allocatable rnode_sub
 
double precision, dimension(:,:), allocatable dx
 
double precision, dimension(ndimdxlevel
 
integer, parameter nsavehi =100
 Maximum number of saves that can be defined by tsave or itsave. More...
 
integer, parameter nfile = 5
 Number of output methods. More...
 
integer index_latest_data
 index number of the latest existing data file More...
 
character(len=40), dimension(nfile), parameter output_names = ['log ', 'normal ', 'slice ', 'collapsed', 'analysis ']
 Names of the output methods. More...
 
character(len=std_len) usr_filename
 User parameter file. More...
 
logical, dimension(ndimcollapse
 If collapse(DIM) is true, generate output integrated over DIM. More...
 
double precision, dimension(nsavehi, nfiletsave
 Save output of type N on times tsave(:, N) More...
 
double precision, dimension(nfiletsavelast
 
double precision, dimension(nfiledtsave
 Repeatedly save output of type N when dtsave(N) simulation time has passed. More...
 
integer, dimension(nsavehi, nfileitsave
 Save output of type N on iterations itsave(:, N) More...
 
integer, dimension(nfileitsavelast
 
integer, dimension(nfileditsave
 Repeatedly save output of type N when ditsave(N) time steps have passed. More...
 
integer, dimension(nfileisavet
 
integer, dimension(nfileisaveit
 
double precision, dimension(nfiletsavestart
 Start of read out (not counting specified read outs) More...
 
integer collapselevel
 The level at which to produce line-integrated / collapsed output. More...
 
integer, dimension(1:nfilen_saves
 Number of saved files of each type. More...
 
logical, dimension(nfilesave_file
 whether or not to save an output file More...
 
double precision time_between_print
 to monitor timeintegration loop at given wall-clock time intervals More...
 
double precision time_bc
 accumulated wall-clock time spent on boundary conditions More...
 
integer snapshotnext
 IO: snapshot and collapsed views output numbers/labels. More...
 
integer collapsenext
 
integer, parameter filelog_ = 1
 Constant indicating log output. More...
 
integer, parameter fileout_ = 2
 Constant indicating regular output. More...
 
integer, parameter fileslice_ = 3
 Constant indicating slice output. More...
 
integer, parameter filecollapse_ = 4
 Constant indicating collapsed output. More...
 
integer, parameter fileanalysis_ = 5
 Constant indicating analysis output (see Writing a custom analysis subroutine) More...
 
integer, parameter unitstdin =5
 Unit for standard input. More...
 
integer, parameter unitterm =6
 Unit for standard output. More...
 
integer, parameter uniterr =6
 Unit for error messages. More...
 
integer, parameter unitpar =9
 file handle for IO More...
 
integer, parameter unitconvert =10
 
integer, parameter unitslice =11
 
integer, parameter unitsnapshot =12
 
integer, parameter unitcollapse =13
 
integer, parameter unitanalysis =14
 
integer nwauxio
 Number of auxiliary variables that are only included in output. More...
 
logical nocartesian
 IO switches for conversion. More...
 
logical, dimension(:), allocatable w_write
 
logical, dimension(:), allocatable writelevel
 
double precision, dimension(ndim, 2) writespshift
 
integer level_io
 
integer level_io_min
 
integer level_io_max
 
integer type_endian
 
character(len=std_len), dimension(:), allocatable par_files
 Which par files are used as input. More...
 
character(len=std_len) base_filename
 Base file name for simulation output, which will be followed by a number. More...
 
character(len=std_len) restart_from_file
 If not 'unavailable', resume from snapshot with this base file name. More...
 
character(len=std_len) typefilelog
 Which type of log to write: 'normal', 'special', 'regression_test'. More...
 
integer snapshotini
 Resume from the snapshot with this index. More...
 
logical resume_previous_run
 If true, restart a previous run from the latest snapshot. More...
 
logical convert
 If true and restart_from_file is given, convert snapshots to other file formats. More...
 
logical autoconvert
 If true, already convert to output format during the run. More...
 
logical saveprim
 If true, convert from conservative to primitive variables in output. More...
 
character(len=std_len) convert_type
 Which format to use when converting. More...
 
character(len=std_len) collapse_type
 
double precision, dimension(:), allocatable w_convert_factor
 Conversion factors the primitive variables. More...
 
double precision length_convert_factor
 
double precision time_convert_factor
 Conversion factor for time unit. More...
 
double precision xload
 Stores the memory and load imbalance, used in printlog. More...
 
double precision xmemory
 
logical crash =.false.
 Save a snapshot before crash a run met unphysical values. More...
 
double precision unit_length =1.d0
 Physical scaling factor for length. More...
 
double precision unit_time =1.d0
 Physical scaling factor for time. More...
 
double precision unit_density =1.d0
 Physical scaling factor for density. More...
 
double precision unit_velocity =1.d0
 Physical scaling factor for velocity. More...
 
double precision unit_temperature =1.d0
 Physical scaling factor for temperature. More...
 
double precision unit_pressure =1.d0
 Physical scaling factor for pressure. More...
 
double precision unit_magneticfield =1.d0
 Physical scaling factor for magnetic field. More...
 
double precision unit_numberdensity =1.d0
 Physical scaling factor for number density. More...
 
double precision unit_charge =1.d0
 Physical scaling factor for charge. More...
 
double precision unit_mass =1.d0
 Physical scaling factor for mass. More...
 
double precision c_norm =1.d0
 Normalised speed of light. More...
 
double precision unit_opacity =1.d0
 Physical scaling factor for Opacity. More...
 
double precision unit_radflux =1.d0
 Physical scaling factor for radiation flux. More...
 
double precision small_temperature
 error handling More...
 
double precision small_pressure
 
double precision small_density
 
double precision bdip =0.d0
 amplitude of background dipolar, quadrupolar, octupolar, user's field More...
 
double precision bquad =0.d0
 
double precision boct =0.d0
 
double precision busr =0.d0
 
logical check_small_values =.true.
 check and optionally fix unphysical small values (density, gas pressure) More...
 
logical fix_small_values =.false.
 
logical b0field =.false.
 split magnetic field as background B0 field More...
 
logical b0fieldalloccoarse =.false.
 
integer number_equi_vars = 0
 
logical si_unit =.false.
 Use SI units (.true.) or use cgs units (.false.) More...
 
logical phys_trac =.false.
 Use TRAC (Johnston 2019 ApJL, 873, L22) for MHD or 1D HD. More...
 
integer phys_trac_type =1
 
integer phys_trac_finegrid =4
 
double precision phys_trac_mask
 
logical use_particles =.false.
 Use particles module or not. More...
 
logical use_multigrid = .false.
 Use multigrid (only available in 2D and 3D) More...
 
integer max_blocks
 The maximum number of grid blocks in a processor. More...
 
integer, parameter nlevelshi = 20
 The maximum number of levels in the grid refinement. More...
 
integer refine_max_level
 Maximal number of AMR levels. More...
 
double precision, dimension(:), allocatable w_refine_weight
 Weights of variables used to calculate error for mesh refinement. More...
 
double precision tfixgrid
 Fix the AMR grid after this time. More...
 
logical fix_conserve_global = .true.
 Whether to apply flux conservation at refinement boundaries. More...
 
integer itfixgrid
 Fix the AMR grid after this many time steps. More...
 
integer ditregrid
 Reconstruct the AMR grid once every ditregrid iteration(s) More...
 
double precision, dimension(:), allocatable amr_wavefilter
 refinement: lohner estimate wavefilter setting More...
 
integer refine_criterion
 
logical prolongprimitive =.false.
 
logical coarsenprimitive =.false.
 
double precision, dimension(:), allocatable refine_threshold
 Error tolerance for refinement decision. More...
 
double precision, dimension(:), allocatable derefine_ratio
 
logical reset_grid
 If true, rebuild the AMR grid upon restarting. More...
 
logical stagger_grid =.false.
 True for using stagger grid. More...
 
logical record_electric_field =.false.
 True for record electric field. More...
 
integer nbufferx
 Number of cells as buffer zone. More...
 
integer levmin
 
integer levmax
 
integer levmax_sub
 
integer iprob
 problem switch allowing different setups in same usr_mod.t More...
 
integer, dimension(3, 3) kr
 Kronecker delta tensor. More...
 
integer, dimension(3, 3, 3) lvc
 Levi-Civita tensor. More...
 
double precision dt
 
logical time_advance
 
double precision courantpar
 The Courant (CFL) number used for the simulation. More...
 
integer type_courant =1
 How to compute the CFL-limited time step. More...
 
integer, parameter type_maxsum =1
 integer switchers for type courant More...
 
integer, parameter type_summax =2
 
integer, parameter type_minimum =3
 
double precision dtpar
 If dtpar is positive, it sets the timestep dt, otherwise courantpar is used to limit the time step based on the Courant condition. More...
 
double precision dtdiffpar
 For resistive MHD, the time step is also limited by the diffusion time: \( dt < dtdiffpar \times dx^2/eta \). More...
 
double precision global_time
 The global simulation time. More...
 
double precision time_init
 Start time for the simulation. More...
 
double precision time_max
 End time for the simulation. More...
 
double precision wall_time_max
 Ending wall time (in hours) for the simulation. More...
 
double precision dtmin
 Stop the simulation when the time step becomes smaller than this value. More...
 
logical final_dt_exit
 Force timeloop exit when final dt < dtmin. More...
 
logical reset_time
 If true, reset iteration count and global_time to original values, and start writing snapshots at index 0. More...
 
logical reset_it
 If true, reset iteration count to 0. More...
 
logical final_dt_reduction
 If true, allow final dt reduction for matching time_max on output. More...
 
logical firstprocess
 If true, call initonegrid_usr upon restarting. More...
 
logical pass_wall_time
 If true, wall time is up, modify snapshotnext for later overwrite. More...
 
logical h_correction =.false.
 If true, do H-correction to fix the carbuncle problem at grid-aligned shocks. More...
 
integer it
 Number of time steps taken. More...
 
integer it_max
 Stop the simulation after this many time steps have been taken. More...
 
integer it_init
 initial iteration count More...
 
integer slowsteps
 If > 1, then in the first slowsteps-1 time steps dt is reduced by a factor \( 1 - (1- step/slowsteps)^2 \). More...
 
integer istep
 Index of the sub-step in a multi-step time integrator. More...
 
integer nstep
 How many sub-steps the time integrator takes. More...
 
integer, dimension(:), allocatable flux_method
 Which flux scheme of spatial discretization to use (per grid level) More...
 
integer, dimension(:), allocatable typepred1
 The spatial discretization for the predictor step when using a two step PC method. More...
 
integer, parameter fs_hll =1
 flux schemes More...
 
integer, parameter fs_hllc =2
 
integer, parameter fs_hlld =3
 
integer, parameter fs_hllcd =4
 
integer, parameter fs_tvdlf =5
 
integer, parameter fs_tvdmu =6
 
integer, parameter fs_tvd =7
 
integer, parameter fs_hancock =8
 
integer, parameter fs_cd =9
 
integer, parameter fs_cd4 =10
 
integer, parameter fs_fd =11
 
integer, parameter fs_source =12
 
integer, parameter fs_nul =13
 
integer t_stepper =0
 time stepper type More...
 
integer, parameter onestep =1
 
integer, parameter twostep =2
 
integer, parameter threestep =3
 
integer, parameter fourstep =4
 
integer, parameter fivestep =5
 
integer t_integrator =0
 time integrator method More...
 
integer, parameter forward_euler =1
 
integer, parameter predictor_corrector =2
 
integer, parameter ssprk3 =3
 
integer, parameter ssprk4 =4
 
integer, parameter ssprk5 =5
 
integer, parameter imex_euler =6
 
integer, parameter imex_sp =7
 
integer, parameter rk2_alf =8
 
integer, parameter ssprk2 =9
 
integer, parameter imex_midpoint =10
 
integer, parameter imex_trapezoidal =11
 
integer, parameter imex_222 =12
 
integer, parameter rk3_bt =13
 
integer, parameter imex_ars3 =14
 
integer, parameter imex_232 =15
 
integer, parameter imex_cb3a =16
 
integer, parameter rk4 =17
 
integer, dimension(:), allocatable type_limiter
 Type of slope limiter used for reconstructing variables on cell edges. More...
 
integer, dimension(:), allocatable type_gradient_limiter
 Type of slope limiter used for computing gradients or divergences, when typegrad or typediv are set to 'limited'. More...
 
integer b0i =0
 background magnetic field location indicator More...
 
integer prolong_limiter =0
 Limiter used for prolongation to refined grids and ghost cells. More...
 
character(len=std_len), dimension(:), allocatable typeentropy
 Which type of entropy fix to use with Riemann-type solvers. More...
 
character(len=std_len) typetvd
 Which type of TVD method to use. More...
 
integer boundspeed
 bound (left/min and right.max) speed of Riemann fan More...
 
character(len=std_len) typeaverage
 
character(len=std_len) typedimsplit
 
character(len=std_len) geometry_name ='default'
 
character(len=std_len) typepoly
 
integer nxdiffusehllc
 
double precision, dimension(:), allocatable entropycoef
 
double precision tvdlfeps
 
logical flux_adaptive_diffusion
 
logical, dimension(:), allocatable loglimit
 
logical, dimension(:), allocatable logflag
 
logical flathllc
 
logical flatcd
 
logical flatsh
 
logical source_split_usr
 Use split or unsplit way to add user's source terms, default: unsplit. More...
 
logical any_source_split =.false.
 if any normal source term is added in split fasion More...
 
logical dimsplit
 
double precision rk_a21
 RK2(alfa) method parameters from Butcher tableau. More...
 
double precision rk_b1
 
double precision rk_b2
 
double precision imex222_lambda
 IMEX-222(lambda) one-parameter family of schemes. More...
 
integer ssprk_order
 SSPRK choice of methods (both threestep and fourstep, Shu-Osher 2N* implementation) also fivestep SSPRK54. More...
 
double precision rk_beta11
 
double precision rk_beta22
 
double precision rk_beta33
 
double precision rk_beta44
 
double precision rk_c2
 
double precision rk_c3
 
double precision rk_c4
 
double precision rk_alfa21
 
double precision rk_alfa22
 
double precision rk_alfa31
 
double precision rk_alfa33
 
double precision rk_alfa41
 
double precision rk_alfa44
 
double precision rk_beta54
 
double precision rk_beta55
 
double precision rk_alfa53
 
double precision rk_alfa54
 
double precision rk_alfa55
 
double precision rk_c5
 
integer rk3_switch
 RK3 Butcher table. More...
 
double precision rk3_a21
 
double precision rk3_a31
 
double precision rk3_a32
 
double precision rk3_b1
 
double precision rk3_b2
 
double precision rk3_b3
 
double precision rk3_c2
 
double precision rk3_c3
 
double precision ars_gamma
 IMEX_ARS3 parameter ars_gamma. More...
 
integer imex_switch
 IMEX_232 choice and parameters. More...
 
double precision imex_a21
 
double precision imex_a31
 
double precision imex_a32
 
double precision imex_b1
 
double precision imex_b2
 
double precision imex_ha21
 
double precision imex_ha22
 
double precision imex_b3
 
double precision imex_c2
 
double precision imex_c3
 
double precision imex_a22
 IMEX_CB3a extra parameters. More...
 
double precision imex_a33
 
double precision imex_ha32
 
logical use_imex_scheme
 whether IMEX in use or not More...
 
character(len=std_len) typediv
 
character(len=std_len) typegrad
 
double precision cmax_global
 global fastest wave speed needed in fd scheme and glm method More...
 
double precision vmax_global
 global fastest flow speed needed in glm method More...
 
double precision, dimension(ndima2max_global
 global largest a2 for schmid scheme More...
 
double precision cs2max_global
 global largest cs2 for hyperbolic thermal conduction More...
 
logical need_global_cmax =.false.
 need global maximal wave speed More...
 
logical need_global_a2max =.false.
 global value for schmid scheme More...
 
logical need_global_cs2max =.false.
 global value for csound speed More...
 
logical, dimension(ndimperiodb
 True for dimensions with periodic boundaries. More...
 
logical, dimension(2, ndimpoleb
 Indicates whether there is a pole at a boundary. More...
 
logical, dimension(ndimaperiodb
 True for dimensions with aperiodic boundaries. More...
 
logical save_physical_boundary
 True for save physical boundary cells in dat files. More...
 
logical, dimension(:), allocatable phyboundblock
 True if a block has any physical boundary. More...
 
integer, dimension(:, :), allocatable typeboundary
 Array indicating the type of boundary condition per variable and per physical boundary. More...
 
integer, parameter bc_special =1
 boundary condition types More...
 
integer, parameter bc_cont =2
 
integer, parameter bc_symm =3
 
integer, parameter bc_asymm =4
 
integer, parameter bc_periodic =5
 
integer, parameter bc_aperiodic =6
 
integer, parameter bc_noinflow =7
 
integer, parameter bc_data =8
 
integer, parameter bc_character =9
 
integer, parameter bc_icarus =10
 
logical ghost_copy =.false.
 whether copy values instead of interpolation in ghost cells of finer blocks More...
 
logical internalboundary
 if there is an internal boundary More...
 
character(len=std_len) filename_euv
 Base file name for synthetic EUV emission output. More...
 
integer wavelength
 wavelength for output More...
 
double precision instrument_resolution_factor
 times for enhancing spatial resolution for EUV image/spectra More...
 
logical activate_unit_arcsec
 use arcsec as length unit of images/spectra More...
 
character(len=std_len) filename_sxr
 Base file name for synthetic SXR emission output. More...
 
integer emin_sxr
 
integer emax_sxr
 
character(len=std_len) filename_whitelight
 Base file name for synthetic white light. More...
 
character(len=std_len) whitelight_instrument
 white light observation instrument More...
 
double precision r_occultor
 the white light emission below it (unit=Rsun) is not visible More...
 
double precision los_theta
 direction of the line of sight (LOS) More...
 
double precision los_phi
 
double precision image_rotate
 rotation of image More...
 
double precision, dimension(1:3) x_origin
 where the is the origin (X=0,Y=0) of image More...
 
logical big_image
 big image More...
 
character(len=std_len) filename_spectrum
 Base file name for synthetic EUV spectrum output. More...
 
integer spectrum_wl
 wave length for spectrum More...
 
double precision spectrum_window_min
 spectral window More...
 
double precision spectrum_window_max
 
double precision location_slit
 location of the slit More...
 
integer direction_slit
 direction of the slit (for dat resolution only) More...
 
double precision r_opt_thick
 for spherical coordinate, region below it (unit=Rsun) is treated as not transparent More...
 
logical dat_resolution
 resolution of the images More...
 
type(state), pointer block
 Block pointer for using one block and its previous state. More...
 

Detailed Description

This module contains definitions of global parameters and variables and some generic functions/subroutines used in AMRVAC.

Function/Subroutine Documentation

◆ cross_product()

pure subroutine mod_global_parameters::cross_product ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,3), intent(in)  a,
double precision, dimension(ixi^s,3), intent(in)  b,
double precision, dimension(ixi^s,3), intent(out)  axb 
)

Cross product of two vectors.

Definition at line 762 of file mod_global_parameters.t.

Variable Documentation

◆ a2max_global

double precision, dimension(ndim) mod_global_parameters::a2max_global

global largest a2 for schmid scheme

Definition at line 661 of file mod_global_parameters.t.

◆ activate_unit_arcsec

logical mod_global_parameters::activate_unit_arcsec

use arcsec as length unit of images/spectra

Definition at line 720 of file mod_global_parameters.t.

◆ amr_wavefilter

double precision, dimension(:), allocatable mod_global_parameters::amr_wavefilter

refinement: lohner estimate wavefilter setting

Definition at line 419 of file mod_global_parameters.t.

◆ any_source_split

logical mod_global_parameters::any_source_split =.false.

if any normal source term is added in split fasion

Definition at line 625 of file mod_global_parameters.t.

◆ aperiodb

logical, dimension(ndim) mod_global_parameters::aperiodb

True for dimensions with aperiodic boundaries.

Definition at line 684 of file mod_global_parameters.t.

◆ ars_gamma

double precision mod_global_parameters::ars_gamma

IMEX_ARS3 parameter ars_gamma.

Definition at line 642 of file mod_global_parameters.t.

◆ autoconvert

logical mod_global_parameters::autoconvert

If true, already convert to output format during the run.

Definition at line 287 of file mod_global_parameters.t.

◆ b0field

logical mod_global_parameters::b0field =.false.

split magnetic field as background B0 field

Definition at line 371 of file mod_global_parameters.t.

◆ b0fieldalloccoarse

logical mod_global_parameters::b0fieldalloccoarse =.false.

Definition at line 372 of file mod_global_parameters.t.

◆ b0i

integer mod_global_parameters::b0i =0

background magnetic field location indicator

Definition at line 597 of file mod_global_parameters.t.

◆ base_filename

character(len=std_len) mod_global_parameters::base_filename

Base file name for simulation output, which will be followed by a number.

Definition at line 268 of file mod_global_parameters.t.

◆ bc_aperiodic

integer, parameter mod_global_parameters::bc_aperiodic =6

Definition at line 701 of file mod_global_parameters.t.

◆ bc_asymm

integer, parameter mod_global_parameters::bc_asymm =4

Definition at line 699 of file mod_global_parameters.t.

◆ bc_character

integer, parameter mod_global_parameters::bc_character =9

Definition at line 704 of file mod_global_parameters.t.

◆ bc_cont

integer, parameter mod_global_parameters::bc_cont =2

Definition at line 697 of file mod_global_parameters.t.

◆ bc_data

integer, parameter mod_global_parameters::bc_data =8

Definition at line 703 of file mod_global_parameters.t.

◆ bc_icarus

integer, parameter mod_global_parameters::bc_icarus =10

Definition at line 705 of file mod_global_parameters.t.

◆ bc_noinflow

integer, parameter mod_global_parameters::bc_noinflow =7

Definition at line 702 of file mod_global_parameters.t.

◆ bc_periodic

integer, parameter mod_global_parameters::bc_periodic =5

Definition at line 700 of file mod_global_parameters.t.

◆ bc_special

integer, parameter mod_global_parameters::bc_special =1

boundary condition types

Definition at line 696 of file mod_global_parameters.t.

◆ bc_symm

integer, parameter mod_global_parameters::bc_symm =3

Definition at line 698 of file mod_global_parameters.t.

◆ bdip

double precision mod_global_parameters::bdip =0.d0

amplitude of background dipolar, quadrupolar, octupolar, user's field

Definition at line 360 of file mod_global_parameters.t.

◆ big_image

logical mod_global_parameters::big_image

big image

Definition at line 738 of file mod_global_parameters.t.

◆ block

type(state), pointer mod_global_parameters::block

Block pointer for using one block and its previous state.

Definition at line 755 of file mod_global_parameters.t.

◆ block_nx

integer mod_global_parameters::block_nx

number of cells for each dimension in grid block excluding ghostcells

Definition at line 96 of file mod_global_parameters.t.

◆ boct

double precision mod_global_parameters::boct =0.d0

Definition at line 362 of file mod_global_parameters.t.

◆ boundspeed

integer mod_global_parameters::boundspeed

bound (left/min and right.max) speed of Riemann fan

Definition at line 609 of file mod_global_parameters.t.

◆ bquad

double precision mod_global_parameters::bquad =0.d0

Definition at line 361 of file mod_global_parameters.t.

◆ busr

double precision mod_global_parameters::busr =0.d0

Definition at line 363 of file mod_global_parameters.t.

◆ c_norm

double precision mod_global_parameters::c_norm =1.d0

Normalised speed of light.

Definition at line 348 of file mod_global_parameters.t.

◆ check_small_values

logical mod_global_parameters::check_small_values =.true.

check and optionally fix unphysical small values (density, gas pressure)

Definition at line 366 of file mod_global_parameters.t.

◆ cmax_global

double precision mod_global_parameters::cmax_global

global fastest wave speed needed in fd scheme and glm method

Definition at line 655 of file mod_global_parameters.t.

◆ coarsenprimitive

logical mod_global_parameters::coarsenprimitive =.false.

Definition at line 423 of file mod_global_parameters.t.

◆ collapse

logical, dimension(ndim) mod_global_parameters::collapse

If collapse(DIM) is true, generate output integrated over DIM.

Definition at line 179 of file mod_global_parameters.t.

◆ collapse_type

character(len=std_len) mod_global_parameters::collapse_type

Definition at line 299 of file mod_global_parameters.t.

◆ collapselevel

integer mod_global_parameters::collapselevel

The level at which to produce line-integrated / collapsed output.

Definition at line 205 of file mod_global_parameters.t.

◆ collapsenext

integer mod_global_parameters::collapsenext

Definition at line 220 of file mod_global_parameters.t.

◆ convert

logical mod_global_parameters::convert

If true and restart_from_file is given, convert snapshots to other file formats.

Definition at line 284 of file mod_global_parameters.t.

◆ convert_type

character(len=std_len) mod_global_parameters::convert_type

Which format to use when converting.

Options are: tecplot, tecplotCC, vtu, vtuCC, vtuB, vtuBCC, tecplotmpi, tecplotCCmpi, vtumpi, vtuCCmpi, vtuBmpi, vtuBCCmpi, pvtumpi, pvtuCCmpi, pvtuBmpi, pvtuBCCmpi, tecline, teclinempi, onegrid

Definition at line 297 of file mod_global_parameters.t.

◆ courantpar

double precision mod_global_parameters::courantpar

The Courant (CFL) number used for the simulation.

Definition at line 461 of file mod_global_parameters.t.

◆ crash

logical mod_global_parameters::crash =.false.

Save a snapshot before crash a run met unphysical values.

Definition at line 313 of file mod_global_parameters.t.

◆ cs2max_global

double precision mod_global_parameters::cs2max_global

global largest cs2 for hyperbolic thermal conduction

Definition at line 664 of file mod_global_parameters.t.

◆ d

integer, dimension(:), allocatable, parameter mod_global_parameters::d = 1|

Definition at line 88 of file mod_global_parameters.t.

◆ d_

integer parameter mod_global_parameters::d_ =plevel_+^D

Definition at line 140 of file mod_global_parameters.t.

◆ dat_resolution

logical mod_global_parameters::dat_resolution

resolution of the images

Definition at line 752 of file mod_global_parameters.t.

◆ derefine_ratio

double precision, dimension(:), allocatable mod_global_parameters::derefine_ratio

Definition at line 427 of file mod_global_parameters.t.

◆ dg

double precision, dimension(:), allocatable mod_global_parameters::dg

extent of grid blocks in domain per dimension, in array over levels

Definition at line 90 of file mod_global_parameters.t.

◆ dimsplit

logical mod_global_parameters::dimsplit

Definition at line 626 of file mod_global_parameters.t.

◆ direction_slit

integer mod_global_parameters::direction_slit

direction of the slit (for dat resolution only)

Definition at line 748 of file mod_global_parameters.t.

◆ ditregrid

integer mod_global_parameters::ditregrid

Reconstruct the AMR grid once every ditregrid iteration(s)

Definition at line 416 of file mod_global_parameters.t.

◆ ditsave

integer, dimension(nfile) mod_global_parameters::ditsave

Repeatedly save output of type N when ditsave(N) time steps have passed.

Definition at line 195 of file mod_global_parameters.t.

◆ domain_nx

integer mod_global_parameters::domain_nx

number of cells for each dimension in level-one mesh

Definition at line 93 of file mod_global_parameters.t.

◆ dt

double precision mod_global_parameters::dt

Definition at line 456 of file mod_global_parameters.t.

◆ dtdiffpar

double precision mod_global_parameters::dtdiffpar

For resistive MHD, the time step is also limited by the diffusion time: \( dt < dtdiffpar \times dx^2/eta \).

Definition at line 476 of file mod_global_parameters.t.

◆ dtmin

double precision mod_global_parameters::dtmin

Stop the simulation when the time step becomes smaller than this value.

Definition at line 491 of file mod_global_parameters.t.

◆ dtpar

double precision mod_global_parameters::dtpar

If dtpar is positive, it sets the timestep dt, otherwise courantpar is used to limit the time step based on the Courant condition.

Definition at line 472 of file mod_global_parameters.t.

◆ dtsave

double precision, dimension(nfile) mod_global_parameters::dtsave

Repeatedly save output of type N when dtsave(N) simulation time has passed.

Definition at line 187 of file mod_global_parameters.t.

◆ dx

double precision, dimension(:,:), allocatable mod_global_parameters::dx

Definition at line 157 of file mod_global_parameters.t.

◆ dxfirst

double precision, dimension(:,:), allocatable mod_global_parameters::dxfirst

Definition at line 134 of file mod_global_parameters.t.

◆ dxfirst_1mq

double precision, dimension(:,:), allocatable mod_global_parameters::dxfirst_1mq

Definition at line 134 of file mod_global_parameters.t.

◆ dxlevel

double precision, dimension(ndim) mod_global_parameters::dxlevel

Definition at line 158 of file mod_global_parameters.t.

◆ dxmid

double precision, dimension(:,:), allocatable mod_global_parameters::dxmid

Definition at line 134 of file mod_global_parameters.t.

◆ emax_sxr

integer mod_global_parameters::emax_sxr

Definition at line 724 of file mod_global_parameters.t.

◆ emin_sxr

integer mod_global_parameters::emin_sxr

Definition at line 724 of file mod_global_parameters.t.

◆ entropycoef

double precision, dimension(:), allocatable mod_global_parameters::entropycoef

Definition at line 617 of file mod_global_parameters.t.

◆ fileanalysis_

integer, parameter mod_global_parameters::fileanalysis_ = 5

Constant indicating analysis output (see Writing a custom analysis subroutine)

Definition at line 235 of file mod_global_parameters.t.

◆ filecollapse_

integer, parameter mod_global_parameters::filecollapse_ = 4

Constant indicating collapsed output.

Definition at line 232 of file mod_global_parameters.t.

◆ filelog_

integer, parameter mod_global_parameters::filelog_ = 1

Constant indicating log output.

Definition at line 223 of file mod_global_parameters.t.

◆ filename_euv

character(len=std_len) mod_global_parameters::filename_euv

Base file name for synthetic EUV emission output.

Definition at line 714 of file mod_global_parameters.t.

◆ filename_spectrum

character(len=std_len) mod_global_parameters::filename_spectrum

Base file name for synthetic EUV spectrum output.

Definition at line 740 of file mod_global_parameters.t.

◆ filename_sxr

character(len=std_len) mod_global_parameters::filename_sxr

Base file name for synthetic SXR emission output.

Definition at line 722 of file mod_global_parameters.t.

◆ filename_whitelight

character(len=std_len) mod_global_parameters::filename_whitelight

Base file name for synthetic white light.

Definition at line 726 of file mod_global_parameters.t.

◆ fileout_

integer, parameter mod_global_parameters::fileout_ = 2

Constant indicating regular output.

Definition at line 226 of file mod_global_parameters.t.

◆ fileslice_

integer, parameter mod_global_parameters::fileslice_ = 3

Constant indicating slice output.

Definition at line 229 of file mod_global_parameters.t.

◆ final_dt_exit

logical mod_global_parameters::final_dt_exit

Force timeloop exit when final dt < dtmin.

Definition at line 494 of file mod_global_parameters.t.

◆ final_dt_reduction

logical mod_global_parameters::final_dt_reduction

If true, allow final dt reduction for matching time_max on output.

Definition at line 504 of file mod_global_parameters.t.

◆ firstprocess

logical mod_global_parameters::firstprocess

If true, call initonegrid_usr upon restarting.

Definition at line 507 of file mod_global_parameters.t.

◆ fivestep

integer, parameter mod_global_parameters::fivestep =5

Definition at line 564 of file mod_global_parameters.t.

◆ fix_conserve_global

logical mod_global_parameters::fix_conserve_global = .true.

Whether to apply flux conservation at refinement boundaries.

Definition at line 410 of file mod_global_parameters.t.

◆ fix_small_values

logical mod_global_parameters::fix_small_values =.false.

Definition at line 367 of file mod_global_parameters.t.

◆ flatcd

logical mod_global_parameters::flatcd

Definition at line 621 of file mod_global_parameters.t.

◆ flathllc

logical mod_global_parameters::flathllc

Definition at line 621 of file mod_global_parameters.t.

◆ flatsh

logical mod_global_parameters::flatsh

Definition at line 621 of file mod_global_parameters.t.

◆ flux_adaptive_diffusion

logical mod_global_parameters::flux_adaptive_diffusion

Definition at line 619 of file mod_global_parameters.t.

◆ flux_method

integer, dimension(:), allocatable mod_global_parameters::flux_method

Which flux scheme of spatial discretization to use (per grid level)

Definition at line 537 of file mod_global_parameters.t.

◆ forward_euler

integer, parameter mod_global_parameters::forward_euler =1

Definition at line 568 of file mod_global_parameters.t.

◆ fourstep

integer, parameter mod_global_parameters::fourstep =4

Definition at line 563 of file mod_global_parameters.t.

◆ fs_cd

integer, parameter mod_global_parameters::fs_cd =9

Definition at line 552 of file mod_global_parameters.t.

◆ fs_cd4

integer, parameter mod_global_parameters::fs_cd4 =10

Definition at line 553 of file mod_global_parameters.t.

◆ fs_fd

integer, parameter mod_global_parameters::fs_fd =11

Definition at line 554 of file mod_global_parameters.t.

◆ fs_hancock

integer, parameter mod_global_parameters::fs_hancock =8

Definition at line 551 of file mod_global_parameters.t.

◆ fs_hll

integer, parameter mod_global_parameters::fs_hll =1

flux schemes

Definition at line 544 of file mod_global_parameters.t.

◆ fs_hllc

integer, parameter mod_global_parameters::fs_hllc =2

Definition at line 545 of file mod_global_parameters.t.

◆ fs_hllcd

integer, parameter mod_global_parameters::fs_hllcd =4

Definition at line 547 of file mod_global_parameters.t.

◆ fs_hlld

integer, parameter mod_global_parameters::fs_hlld =3

Definition at line 546 of file mod_global_parameters.t.

◆ fs_nul

integer, parameter mod_global_parameters::fs_nul =13

Definition at line 556 of file mod_global_parameters.t.

◆ fs_source

integer, parameter mod_global_parameters::fs_source =12

Definition at line 555 of file mod_global_parameters.t.

◆ fs_tvd

integer, parameter mod_global_parameters::fs_tvd =7

Definition at line 550 of file mod_global_parameters.t.

◆ fs_tvdlf

integer, parameter mod_global_parameters::fs_tvdlf =5

Definition at line 548 of file mod_global_parameters.t.

◆ fs_tvdmu

integer, parameter mod_global_parameters::fs_tvdmu =6

Definition at line 549 of file mod_global_parameters.t.

◆ geometry_name

character(len=std_len) mod_global_parameters::geometry_name ='default'

Definition at line 613 of file mod_global_parameters.t.

◆ ghost_copy

logical mod_global_parameters::ghost_copy =.false.

whether copy values instead of interpolation in ghost cells of finer blocks

Definition at line 708 of file mod_global_parameters.t.

◆ global_time

double precision mod_global_parameters::global_time

The global simulation time.

Definition at line 479 of file mod_global_parameters.t.

◆ h_correction

logical mod_global_parameters::h_correction =.false.

If true, do H-correction to fix the carbuncle problem at grid-aligned shocks.

Definition at line 513 of file mod_global_parameters.t.

◆ icomm

integer mod_global_parameters::icomm

The MPI communicator.

Definition at line 25 of file mod_global_parameters.t.

◆ ierrmpi

integer mod_global_parameters::ierrmpi

A global MPI error return code.

Definition at line 28 of file mod_global_parameters.t.

◆ image_rotate

double precision mod_global_parameters::image_rotate

rotation of image

Definition at line 734 of file mod_global_parameters.t.

◆ imex222_lambda

double precision mod_global_parameters::imex222_lambda

IMEX-222(lambda) one-parameter family of schemes.

Definition at line 631 of file mod_global_parameters.t.

◆ imex_222

integer, parameter mod_global_parameters::imex_222 =12

Definition at line 580 of file mod_global_parameters.t.

◆ imex_232

integer, parameter mod_global_parameters::imex_232 =15

Definition at line 584 of file mod_global_parameters.t.

◆ imex_a21

double precision mod_global_parameters::imex_a21

Definition at line 645 of file mod_global_parameters.t.

◆ imex_a22

double precision mod_global_parameters::imex_a22

IMEX_CB3a extra parameters.

Definition at line 648 of file mod_global_parameters.t.

◆ imex_a31

double precision mod_global_parameters::imex_a31

Definition at line 645 of file mod_global_parameters.t.

◆ imex_a32

double precision mod_global_parameters::imex_a32

Definition at line 645 of file mod_global_parameters.t.

◆ imex_a33

double precision mod_global_parameters::imex_a33

Definition at line 648 of file mod_global_parameters.t.

◆ imex_ars3

integer, parameter mod_global_parameters::imex_ars3 =14

Definition at line 583 of file mod_global_parameters.t.

◆ imex_b1

double precision mod_global_parameters::imex_b1

Definition at line 645 of file mod_global_parameters.t.

◆ imex_b2

double precision mod_global_parameters::imex_b2

Definition at line 645 of file mod_global_parameters.t.

◆ imex_b3

double precision mod_global_parameters::imex_b3

Definition at line 646 of file mod_global_parameters.t.

◆ imex_c2

double precision mod_global_parameters::imex_c2

Definition at line 646 of file mod_global_parameters.t.

◆ imex_c3

double precision mod_global_parameters::imex_c3

Definition at line 646 of file mod_global_parameters.t.

◆ imex_cb3a

integer, parameter mod_global_parameters::imex_cb3a =16

Definition at line 585 of file mod_global_parameters.t.

◆ imex_euler

integer, parameter mod_global_parameters::imex_euler =6

Definition at line 574 of file mod_global_parameters.t.

◆ imex_ha21

double precision mod_global_parameters::imex_ha21

Definition at line 645 of file mod_global_parameters.t.

◆ imex_ha22

double precision mod_global_parameters::imex_ha22

Definition at line 645 of file mod_global_parameters.t.

◆ imex_ha32

double precision mod_global_parameters::imex_ha32

Definition at line 648 of file mod_global_parameters.t.

◆ imex_midpoint

integer, parameter mod_global_parameters::imex_midpoint =10

Definition at line 578 of file mod_global_parameters.t.

◆ imex_sp

integer, parameter mod_global_parameters::imex_sp =7

Definition at line 575 of file mod_global_parameters.t.

◆ imex_switch

integer mod_global_parameters::imex_switch

IMEX_232 choice and parameters.

Definition at line 644 of file mod_global_parameters.t.

◆ imex_trapezoidal

integer, parameter mod_global_parameters::imex_trapezoidal =11

Definition at line 579 of file mod_global_parameters.t.

◆ index_latest_data

integer mod_global_parameters::index_latest_data

index number of the latest existing data file

Definition at line 169 of file mod_global_parameters.t.

◆ instrument_resolution_factor

double precision mod_global_parameters::instrument_resolution_factor

times for enhancing spatial resolution for EUV image/spectra

Definition at line 718 of file mod_global_parameters.t.

◆ internalboundary

logical mod_global_parameters::internalboundary

if there is an internal boundary

Definition at line 711 of file mod_global_parameters.t.

◆ iprob

integer mod_global_parameters::iprob

problem switch allowing different setups in same usr_mod.t

Definition at line 446 of file mod_global_parameters.t.

◆ isaveit

integer, dimension(nfile) mod_global_parameters::isaveit

Definition at line 199 of file mod_global_parameters.t.

◆ isavet

integer, dimension(nfile) mod_global_parameters::isavet

Definition at line 197 of file mod_global_parameters.t.

◆ istep

integer mod_global_parameters::istep

Index of the sub-step in a multi-step time integrator.

Definition at line 531 of file mod_global_parameters.t.

◆ it

integer mod_global_parameters::it

Number of time steps taken.

Definition at line 516 of file mod_global_parameters.t.

◆ it_init

integer mod_global_parameters::it_init

initial iteration count

Definition at line 522 of file mod_global_parameters.t.

◆ it_max

integer mod_global_parameters::it_max

Stop the simulation after this many time steps have been taken.

Definition at line 519 of file mod_global_parameters.t.

◆ itfixgrid

integer mod_global_parameters::itfixgrid

Fix the AMR grid after this many time steps.

Definition at line 413 of file mod_global_parameters.t.

◆ itsave

integer, dimension(nsavehi,nfile) mod_global_parameters::itsave

Save output of type N on iterations itsave(:, N)

Definition at line 190 of file mod_global_parameters.t.

◆ itsavelast

integer, dimension(nfile) mod_global_parameters::itsavelast

Definition at line 192 of file mod_global_parameters.t.

◆ ixghi

integer mod_global_parameters::ixghi

Upper index of grid block arrays.

Definition at line 102 of file mod_global_parameters.t.

◆ ixglo

integer, parameter mod_global_parameters::ixglo

Lower index of grid block arrays (always 1)

Definition at line 99 of file mod_global_parameters.t.

◆ ixgshi

integer mod_global_parameters::ixgshi

Upper index of stagger grid block arrays.

Definition at line 108 of file mod_global_parameters.t.

◆ ixgslo

integer, parameter mod_global_parameters::ixgslo

Lower index of stagger grid block arrays (always 0)

Definition at line 105 of file mod_global_parameters.t.

◆ ixm

integer mod_global_parameters::ixm

the mesh range of a physical block without ghost cells

Definition at line 51 of file mod_global_parameters.t.

◆ kr

integer, dimension(3,3) mod_global_parameters::kr

Kronecker delta tensor.

Definition at line 449 of file mod_global_parameters.t.

◆ l

double precision mod_global_parameters::l

Definition at line 54 of file mod_global_parameters.t.

◆ length_convert_factor

double precision mod_global_parameters::length_convert_factor

Definition at line 304 of file mod_global_parameters.t.

◆ level_io

integer mod_global_parameters::level_io

Definition at line 262 of file mod_global_parameters.t.

◆ level_io_max

integer mod_global_parameters::level_io_max

Definition at line 262 of file mod_global_parameters.t.

◆ level_io_min

integer mod_global_parameters::level_io_min

Definition at line 262 of file mod_global_parameters.t.

◆ levmax

integer mod_global_parameters::levmax

Definition at line 440 of file mod_global_parameters.t.

◆ levmax_sub

integer mod_global_parameters::levmax_sub

Definition at line 441 of file mod_global_parameters.t.

◆ levmin

integer mod_global_parameters::levmin

Definition at line 439 of file mod_global_parameters.t.

◆ ll

integer mod_global_parameters::ll

Definition at line 51 of file mod_global_parameters.t.

◆ local_timestep

logical mod_global_parameters::local_timestep = .false.

each cell has its own timestep or not

Definition at line 85 of file mod_global_parameters.t.

◆ location_slit

double precision mod_global_parameters::location_slit

location of the slit

Definition at line 746 of file mod_global_parameters.t.

◆ log_fh

integer mod_global_parameters::log_fh

MPI file handle for logfile.

Definition at line 31 of file mod_global_parameters.t.

◆ logflag

logical, dimension(:), allocatable mod_global_parameters::logflag

Definition at line 620 of file mod_global_parameters.t.

◆ loglimit

logical, dimension(:), allocatable mod_global_parameters::loglimit

Definition at line 620 of file mod_global_parameters.t.

◆ los_phi

double precision mod_global_parameters::los_phi

Definition at line 732 of file mod_global_parameters.t.

◆ los_theta

double precision mod_global_parameters::los_theta

direction of the line of sight (LOS)

Definition at line 732 of file mod_global_parameters.t.

◆ lvc

integer, dimension(3,3,3) mod_global_parameters::lvc

Levi-Civita tensor.

Definition at line 452 of file mod_global_parameters.t.

◆ max_blocks

integer mod_global_parameters::max_blocks

The maximum number of grid blocks in a processor.

Definition at line 395 of file mod_global_parameters.t.

◆ mype

integer mod_global_parameters::mype

The rank of the current MPI task.

Definition at line 22 of file mod_global_parameters.t.

◆ n_saves

integer, dimension(1:nfile) mod_global_parameters::n_saves

Number of saved files of each type.

Definition at line 208 of file mod_global_parameters.t.

◆ nbufferx

integer mod_global_parameters::nbufferx

Number of cells as buffer zone.

Definition at line 437 of file mod_global_parameters.t.

◆ ndim

integer, parameter mod_global_parameters::ndim =^ND

Number of spatial dimensions for grid variables.

Definition at line 62 of file mod_global_parameters.t.

◆ ndir

integer mod_global_parameters::ndir =ndim

Number of spatial dimensions (components) for vector variables.

Definition at line 65 of file mod_global_parameters.t.

◆ need_global_a2max

logical mod_global_parameters::need_global_a2max =.false.

global value for schmid scheme

Definition at line 670 of file mod_global_parameters.t.

◆ need_global_cmax

logical mod_global_parameters::need_global_cmax =.false.

need global maximal wave speed

Definition at line 667 of file mod_global_parameters.t.

◆ need_global_cs2max

logical mod_global_parameters::need_global_cs2max =.false.

global value for csound speed

Definition at line 673 of file mod_global_parameters.t.

◆ nfile

integer, parameter mod_global_parameters::nfile = 5

Number of output methods.

Definition at line 166 of file mod_global_parameters.t.

◆ ng

integer, dimension(:), allocatable mod_global_parameters::ng

number of grid blocks in domain per dimension, in array over levels

Definition at line 88 of file mod_global_parameters.t.

◆ nghostcells

integer mod_global_parameters::nghostcells = 2

Number of ghost cells surrounding a grid.

Definition at line 111 of file mod_global_parameters.t.

◆ nlevelshi

integer, parameter mod_global_parameters::nlevelshi = 20

The maximum number of levels in the grid refinement.

Definition at line 398 of file mod_global_parameters.t.

◆ nocartesian

logical mod_global_parameters::nocartesian

IO switches for conversion.

Definition at line 258 of file mod_global_parameters.t.

◆ node

integer, dimension(:,:), allocatable mod_global_parameters::node

Definition at line 142 of file mod_global_parameters.t.

◆ node_sub

integer, dimension(:,:), allocatable mod_global_parameters::node_sub

Definition at line 143 of file mod_global_parameters.t.

◆ nodehi

integer, parameter mod_global_parameters::nodehi =^ND+1

grid hierarchy info (level and grid indices)

Definition at line 138 of file mod_global_parameters.t.

◆ npe

integer mod_global_parameters::npe

The number of MPI tasks.

Definition at line 19 of file mod_global_parameters.t.

◆ nsavehi

integer, parameter mod_global_parameters::nsavehi =100

Maximum number of saves that can be defined by tsave or itsave.

Definition at line 163 of file mod_global_parameters.t.

◆ nstep

integer mod_global_parameters::nstep

How many sub-steps the time integrator takes.

Definition at line 534 of file mod_global_parameters.t.

◆ nstretchedblocks

integer, dimension(:,:), allocatable mod_global_parameters::nstretchedblocks

(even) number of (symmetrically) stretched blocks per level and dimension

Definition at line 130 of file mod_global_parameters.t.

◆ nstretchedblocks_baselevel

integer, dimension(ndim) mod_global_parameters::nstretchedblocks_baselevel

(even) number of (symmetrically) stretched blocks at AMR level 1, per dimension

Definition at line 128 of file mod_global_parameters.t.

◆ number_equi_vars

integer mod_global_parameters::number_equi_vars = 0

Definition at line 375 of file mod_global_parameters.t.

◆ nwauxio

integer mod_global_parameters::nwauxio

Number of auxiliary variables that are only included in output.

Definition at line 255 of file mod_global_parameters.t.

◆ nxdiffusehllc

integer mod_global_parameters::nxdiffusehllc

Definition at line 616 of file mod_global_parameters.t.

◆ onestep

integer, parameter mod_global_parameters::onestep =1

Definition at line 560 of file mod_global_parameters.t.

◆ output_names

character(len=40), dimension(nfile), parameter mod_global_parameters::output_names = ['log ', 'normal ', 'slice ', 'collapsed', 'analysis ']

Names of the output methods.

Definition at line 172 of file mod_global_parameters.t.

◆ par_files

character(len=std_len), dimension(:), allocatable mod_global_parameters::par_files

Which par files are used as input.

Definition at line 265 of file mod_global_parameters.t.

◆ pass_wall_time

logical mod_global_parameters::pass_wall_time

If true, wall time is up, modify snapshotnext for later overwrite.

Definition at line 510 of file mod_global_parameters.t.

◆ periodb

logical, dimension(ndim) mod_global_parameters::periodb

True for dimensions with periodic boundaries.

Definition at line 678 of file mod_global_parameters.t.

◆ phi_

integer mod_global_parameters::phi_ = -1

Definition at line 58 of file mod_global_parameters.t.

◆ phyboundblock

logical, dimension(:), allocatable mod_global_parameters::phyboundblock

True if a block has any physical boundary.

Definition at line 690 of file mod_global_parameters.t.

◆ phys_trac

logical mod_global_parameters::phys_trac =.false.

Use TRAC (Johnston 2019 ApJL, 873, L22) for MHD or 1D HD.

Definition at line 381 of file mod_global_parameters.t.

◆ phys_trac_finegrid

integer mod_global_parameters::phys_trac_finegrid =4

Definition at line 383 of file mod_global_parameters.t.

◆ phys_trac_mask

double precision mod_global_parameters::phys_trac_mask

Definition at line 384 of file mod_global_parameters.t.

◆ phys_trac_type

integer mod_global_parameters::phys_trac_type =1

Definition at line 382 of file mod_global_parameters.t.

◆ pig

integer, parameter mod_global_parameters::pig

Definition at line 140 of file mod_global_parameters.t.

◆ plevel_

integer, parameter mod_global_parameters::plevel_ =1

Definition at line 139 of file mod_global_parameters.t.

◆ poleb

logical, dimension(2,ndim) mod_global_parameters::poleb

Indicates whether there is a pole at a boundary.

Definition at line 681 of file mod_global_parameters.t.

◆ predictor_corrector

integer, parameter mod_global_parameters::predictor_corrector =2

Definition at line 569 of file mod_global_parameters.t.

◆ prolong_limiter

integer mod_global_parameters::prolong_limiter =0

Limiter used for prolongation to refined grids and ghost cells.

Definition at line 600 of file mod_global_parameters.t.

◆ prolongprimitive

logical mod_global_parameters::prolongprimitive =.false.

Definition at line 422 of file mod_global_parameters.t.

◆ qstretch

double precision, dimension(:,:), allocatable mod_global_parameters::qstretch

Stretching factors and first cell size for each AMR level and dimension.

Definition at line 134 of file mod_global_parameters.t.

◆ qstretch_baselevel

double precision, dimension(ndim) mod_global_parameters::qstretch_baselevel

stretch factor between cells at AMR level 1, per dimension

Definition at line 125 of file mod_global_parameters.t.

◆ r_

integer mod_global_parameters::r_ = -1

Indices for cylindrical coordinates FOR TESTS, negative value when not used:

Definition at line 57 of file mod_global_parameters.t.

◆ r_occultor

double precision mod_global_parameters::r_occultor

the white light emission below it (unit=Rsun) is not visible

Definition at line 730 of file mod_global_parameters.t.

◆ r_opt_thick

double precision mod_global_parameters::r_opt_thick

for spherical coordinate, region below it (unit=Rsun) is treated as not transparent

Definition at line 750 of file mod_global_parameters.t.

◆ record_electric_field

logical mod_global_parameters::record_electric_field =.false.

True for record electric field.

Definition at line 434 of file mod_global_parameters.t.

◆ refine_criterion

integer mod_global_parameters::refine_criterion

Definition at line 421 of file mod_global_parameters.t.

◆ refine_max_level

integer mod_global_parameters::refine_max_level

Maximal number of AMR levels.

Definition at line 401 of file mod_global_parameters.t.

◆ refine_threshold

double precision, dimension(:), allocatable mod_global_parameters::refine_threshold

Error tolerance for refinement decision.

Definition at line 426 of file mod_global_parameters.t.

◆ reset_grid

logical mod_global_parameters::reset_grid

If true, rebuild the AMR grid upon restarting.

Definition at line 430 of file mod_global_parameters.t.

◆ reset_it

logical mod_global_parameters::reset_it

If true, reset iteration count to 0.

Definition at line 501 of file mod_global_parameters.t.

◆ reset_time

logical mod_global_parameters::reset_time

If true, reset iteration count and global_time to original values, and start writing snapshots at index 0.

Definition at line 498 of file mod_global_parameters.t.

◆ restart_from_file

character(len=std_len) mod_global_parameters::restart_from_file

If not 'unavailable', resume from snapshot with this base file name.

Definition at line 271 of file mod_global_parameters.t.

◆ resume_previous_run

logical mod_global_parameters::resume_previous_run

If true, restart a previous run from the latest snapshot.

Definition at line 280 of file mod_global_parameters.t.

◆ rk2_alf

integer, parameter mod_global_parameters::rk2_alf =8

Definition at line 576 of file mod_global_parameters.t.

◆ rk3_a21

double precision mod_global_parameters::rk3_a21

Definition at line 640 of file mod_global_parameters.t.

◆ rk3_a31

double precision mod_global_parameters::rk3_a31

Definition at line 640 of file mod_global_parameters.t.

◆ rk3_a32

double precision mod_global_parameters::rk3_a32

Definition at line 640 of file mod_global_parameters.t.

◆ rk3_b1

double precision mod_global_parameters::rk3_b1

Definition at line 640 of file mod_global_parameters.t.

◆ rk3_b2

double precision mod_global_parameters::rk3_b2

Definition at line 640 of file mod_global_parameters.t.

◆ rk3_b3

double precision mod_global_parameters::rk3_b3

Definition at line 640 of file mod_global_parameters.t.

◆ rk3_bt

integer, parameter mod_global_parameters::rk3_bt =13

Definition at line 582 of file mod_global_parameters.t.

◆ rk3_c2

double precision mod_global_parameters::rk3_c2

Definition at line 640 of file mod_global_parameters.t.

◆ rk3_c3

double precision mod_global_parameters::rk3_c3

Definition at line 640 of file mod_global_parameters.t.

◆ rk3_switch

integer mod_global_parameters::rk3_switch

RK3 Butcher table.

Definition at line 639 of file mod_global_parameters.t.

◆ rk4

integer, parameter mod_global_parameters::rk4 =17

Definition at line 587 of file mod_global_parameters.t.

◆ rk_a21

double precision mod_global_parameters::rk_a21

RK2(alfa) method parameters from Butcher tableau.

Definition at line 629 of file mod_global_parameters.t.

◆ rk_alfa21

double precision mod_global_parameters::rk_alfa21

Definition at line 636 of file mod_global_parameters.t.

◆ rk_alfa22

double precision mod_global_parameters::rk_alfa22

Definition at line 636 of file mod_global_parameters.t.

◆ rk_alfa31

double precision mod_global_parameters::rk_alfa31

Definition at line 636 of file mod_global_parameters.t.

◆ rk_alfa33

double precision mod_global_parameters::rk_alfa33

Definition at line 636 of file mod_global_parameters.t.

◆ rk_alfa41

double precision mod_global_parameters::rk_alfa41

Definition at line 636 of file mod_global_parameters.t.

◆ rk_alfa44

double precision mod_global_parameters::rk_alfa44

Definition at line 636 of file mod_global_parameters.t.

◆ rk_alfa53

double precision mod_global_parameters::rk_alfa53

Definition at line 637 of file mod_global_parameters.t.

◆ rk_alfa54

double precision mod_global_parameters::rk_alfa54

Definition at line 637 of file mod_global_parameters.t.

◆ rk_alfa55

double precision mod_global_parameters::rk_alfa55

Definition at line 637 of file mod_global_parameters.t.

◆ rk_b1

double precision mod_global_parameters::rk_b1

Definition at line 629 of file mod_global_parameters.t.

◆ rk_b2

double precision mod_global_parameters::rk_b2

Definition at line 629 of file mod_global_parameters.t.

◆ rk_beta11

double precision mod_global_parameters::rk_beta11

Definition at line 635 of file mod_global_parameters.t.

◆ rk_beta22

double precision mod_global_parameters::rk_beta22

Definition at line 635 of file mod_global_parameters.t.

◆ rk_beta33

double precision mod_global_parameters::rk_beta33

Definition at line 635 of file mod_global_parameters.t.

◆ rk_beta44

double precision mod_global_parameters::rk_beta44

Definition at line 635 of file mod_global_parameters.t.

◆ rk_beta54

double precision mod_global_parameters::rk_beta54

Definition at line 637 of file mod_global_parameters.t.

◆ rk_beta55

double precision mod_global_parameters::rk_beta55

Definition at line 637 of file mod_global_parameters.t.

◆ rk_c2

double precision mod_global_parameters::rk_c2

Definition at line 635 of file mod_global_parameters.t.

◆ rk_c3

double precision mod_global_parameters::rk_c3

Definition at line 635 of file mod_global_parameters.t.

◆ rk_c4

double precision mod_global_parameters::rk_c4

Definition at line 635 of file mod_global_parameters.t.

◆ rk_c5

double precision mod_global_parameters::rk_c5

Definition at line 637 of file mod_global_parameters.t.

◆ rnode

double precision, dimension(:,:), allocatable mod_global_parameters::rnode

Corner coordinates.

Definition at line 154 of file mod_global_parameters.t.

◆ rnode_sub

double precision, dimension(:,:), allocatable mod_global_parameters::rnode_sub

Definition at line 155 of file mod_global_parameters.t.

◆ rnodehi

integer, parameter mod_global_parameters::rnodehi =3*^ND

grid location info (corner coordinates and grid spacing)

Definition at line 146 of file mod_global_parameters.t.

◆ rpdx

integer, parameter mod_global_parameters::rpdx

Definition at line 151 of file mod_global_parameters.t.

◆ rpxmax

integer, parameter mod_global_parameters::rpxmax

Definition at line 150 of file mod_global_parameters.t.

◆ rpxmax0_

integer, parameter mod_global_parameters::rpxmax0_ =^ND

Definition at line 149 of file mod_global_parameters.t.

◆ rpxmin

integer, parameter mod_global_parameters::rpxmin

Definition at line 148 of file mod_global_parameters.t.

◆ rpxmin0_

integer, parameter mod_global_parameters::rpxmin0_ =0

Definition at line 147 of file mod_global_parameters.t.

◆ save_file

logical, dimension(nfile) mod_global_parameters::save_file

whether or not to save an output file

Definition at line 211 of file mod_global_parameters.t.

◆ save_physical_boundary

logical mod_global_parameters::save_physical_boundary

True for save physical boundary cells in dat files.

Definition at line 687 of file mod_global_parameters.t.

◆ saveprim

logical mod_global_parameters::saveprim

If true, convert from conservative to primitive variables in output.

Definition at line 290 of file mod_global_parameters.t.

◆ sdim

integer parameter mod_global_parameters::sdim =3

starting dimension for electric field

Definition at line 69 of file mod_global_parameters.t.

◆ si_unit

logical mod_global_parameters::si_unit =.false.

Use SI units (.true.) or use cgs units (.false.)

Definition at line 378 of file mod_global_parameters.t.

◆ size_block

integer mod_global_parameters::size_block

Definition at line 33 of file mod_global_parameters.t.

◆ size_block_io

integer mod_global_parameters::size_block_io

Definition at line 39 of file mod_global_parameters.t.

◆ size_block_io_stg

integer mod_global_parameters::size_block_io_stg

Definition at line 41 of file mod_global_parameters.t.

◆ slab

logical mod_global_parameters::slab

Cartesian geometry or not.

Definition at line 79 of file mod_global_parameters.t.

◆ slab_uniform

logical mod_global_parameters::slab_uniform

uniform Cartesian geometry or not (stretched Cartesian)

Definition at line 82 of file mod_global_parameters.t.

◆ slowsteps

integer mod_global_parameters::slowsteps

If > 1, then in the first slowsteps-1 time steps dt is reduced by a factor \( 1 - (1- step/slowsteps)^2 \).

Definition at line 526 of file mod_global_parameters.t.

◆ small_density

double precision mod_global_parameters::small_density

Definition at line 357 of file mod_global_parameters.t.

◆ small_pressure

double precision mod_global_parameters::small_pressure

Definition at line 357 of file mod_global_parameters.t.

◆ small_temperature

double precision mod_global_parameters::small_temperature

error handling

Definition at line 357 of file mod_global_parameters.t.

◆ snapshotini

integer mod_global_parameters::snapshotini

Resume from the snapshot with this index.

Definition at line 277 of file mod_global_parameters.t.

◆ snapshotnext

integer mod_global_parameters::snapshotnext

IO: snapshot and collapsed views output numbers/labels.

Definition at line 220 of file mod_global_parameters.t.

◆ source_split_usr

logical mod_global_parameters::source_split_usr

Use split or unsplit way to add user's source terms, default: unsplit.

Definition at line 623 of file mod_global_parameters.t.

◆ spectrum_window_max

double precision mod_global_parameters::spectrum_window_max

Definition at line 744 of file mod_global_parameters.t.

◆ spectrum_window_min

double precision mod_global_parameters::spectrum_window_min

spectral window

Definition at line 744 of file mod_global_parameters.t.

◆ spectrum_wl

integer mod_global_parameters::spectrum_wl

wave length for spectrum

Definition at line 742 of file mod_global_parameters.t.

◆ ssprk2

integer, parameter mod_global_parameters::ssprk2 =9

Definition at line 577 of file mod_global_parameters.t.

◆ ssprk3

integer, parameter mod_global_parameters::ssprk3 =3

Definition at line 570 of file mod_global_parameters.t.

◆ ssprk4

integer, parameter mod_global_parameters::ssprk4 =4

Definition at line 571 of file mod_global_parameters.t.

◆ ssprk5

integer, parameter mod_global_parameters::ssprk5 =5

Definition at line 572 of file mod_global_parameters.t.

◆ ssprk_order

integer mod_global_parameters::ssprk_order

SSPRK choice of methods (both threestep and fourstep, Shu-Osher 2N* implementation) also fivestep SSPRK54.

Definition at line 634 of file mod_global_parameters.t.

◆ stagger_grid

logical mod_global_parameters::stagger_grid =.false.

True for using stagger grid.

Definition at line 432 of file mod_global_parameters.t.

◆ stretch_none

integer, parameter mod_global_parameters::stretch_none = 0

No stretching.

Definition at line 113 of file mod_global_parameters.t.

◆ stretch_symm

integer, parameter mod_global_parameters::stretch_symm = 2

Symmetric stretching around the center.

Definition at line 115 of file mod_global_parameters.t.

◆ stretch_type

integer, dimension(ndim) mod_global_parameters::stretch_type

What kind of stretching is used per dimension.

Definition at line 123 of file mod_global_parameters.t.

◆ stretch_uncentered

logical mod_global_parameters::stretch_uncentered

If true, adjust mod_geometry routines to account for grid stretching (but the flux computation will not)

Definition at line 119 of file mod_global_parameters.t.

◆ stretch_uni

integer, parameter mod_global_parameters::stretch_uni = 1

Unidirectional stretching from a side.

Definition at line 114 of file mod_global_parameters.t.

◆ stretched_dim

logical, dimension(ndim) mod_global_parameters::stretched_dim

True if a dimension is stretched.

Definition at line 121 of file mod_global_parameters.t.

◆ t_integrator

integer mod_global_parameters::t_integrator =0

time integrator method

Definition at line 567 of file mod_global_parameters.t.

◆ t_stepper

integer mod_global_parameters::t_stepper =0

time stepper type

Definition at line 559 of file mod_global_parameters.t.

◆ tfixgrid

double precision mod_global_parameters::tfixgrid

Fix the AMR grid after this time.

Definition at line 407 of file mod_global_parameters.t.

◆ threestep

integer, parameter mod_global_parameters::threestep =3

Definition at line 562 of file mod_global_parameters.t.

◆ time_advance

logical mod_global_parameters::time_advance

Definition at line 458 of file mod_global_parameters.t.

◆ time_bc

double precision mod_global_parameters::time_bc

accumulated wall-clock time spent on boundary conditions

Definition at line 217 of file mod_global_parameters.t.

◆ time_between_print

double precision mod_global_parameters::time_between_print

to monitor timeintegration loop at given wall-clock time intervals

Definition at line 214 of file mod_global_parameters.t.

◆ time_convert_factor

double precision mod_global_parameters::time_convert_factor

Conversion factor for time unit.

Definition at line 307 of file mod_global_parameters.t.

◆ time_init

double precision mod_global_parameters::time_init

Start time for the simulation.

Definition at line 482 of file mod_global_parameters.t.

◆ time_max

double precision mod_global_parameters::time_max

End time for the simulation.

Definition at line 485 of file mod_global_parameters.t.

◆ tsave

double precision, dimension(nsavehi,nfile) mod_global_parameters::tsave

Save output of type N on times tsave(:, N)

Definition at line 182 of file mod_global_parameters.t.

◆ tsavelast

double precision, dimension(nfile) mod_global_parameters::tsavelast

Definition at line 184 of file mod_global_parameters.t.

◆ tsavestart

double precision, dimension(nfile) mod_global_parameters::tsavestart

Start of read out (not counting specified read outs)

Definition at line 202 of file mod_global_parameters.t.

◆ tvdlfeps

double precision mod_global_parameters::tvdlfeps

Definition at line 618 of file mod_global_parameters.t.

◆ twostep

integer, parameter mod_global_parameters::twostep =2

Definition at line 561 of file mod_global_parameters.t.

◆ type_block

integer mod_global_parameters::type_block

MPI type for block including ghost cells and its size.

Definition at line 33 of file mod_global_parameters.t.

◆ type_block_io

integer mod_global_parameters::type_block_io

MPI type for IO: block excluding ghost cells.

Definition at line 39 of file mod_global_parameters.t.

◆ type_block_io_stg

integer mod_global_parameters::type_block_io_stg

MPI type for IO of staggered variables.

Definition at line 41 of file mod_global_parameters.t.

◆ type_block_wc_io

integer mod_global_parameters::type_block_wc_io

MPI type for IO: cell corner (wc) or cell center (wcc) variables.

Definition at line 45 of file mod_global_parameters.t.

◆ type_block_wcc_io

integer mod_global_parameters::type_block_wcc_io

Definition at line 45 of file mod_global_parameters.t.

◆ type_block_xc_io

integer mod_global_parameters::type_block_xc_io

MPI type for IO: cell corner (xc) or cell center (xcc) coordinates.

Definition at line 43 of file mod_global_parameters.t.

◆ type_block_xcc_io

integer mod_global_parameters::type_block_xcc_io

Definition at line 43 of file mod_global_parameters.t.

◆ type_coarse_block

integer mod_global_parameters::type_coarse_block

MPI type for block coarsened by 2, and for its children blocks.

Definition at line 35 of file mod_global_parameters.t.

◆ type_coarse_block_stg

integer, dimension(^nd,2^d&) mod_global_parameters::type_coarse_block_stg

MPI type for staggered block coarsened by 2, and for its children blocks.

Definition at line 37 of file mod_global_parameters.t.

◆ type_courant

integer mod_global_parameters::type_courant =1

How to compute the CFL-limited time step.

Definition at line 464 of file mod_global_parameters.t.

◆ type_endian

integer mod_global_parameters::type_endian

Definition at line 262 of file mod_global_parameters.t.

◆ type_gradient_limiter

integer, dimension(:), allocatable mod_global_parameters::type_gradient_limiter

Type of slope limiter used for computing gradients or divergences, when typegrad or typediv are set to 'limited'.

Definition at line 594 of file mod_global_parameters.t.

◆ type_limiter

integer, dimension(:), allocatable mod_global_parameters::type_limiter

Type of slope limiter used for reconstructing variables on cell edges.

Definition at line 590 of file mod_global_parameters.t.

◆ type_maxsum

integer, parameter mod_global_parameters::type_maxsum =1

integer switchers for type courant

Definition at line 466 of file mod_global_parameters.t.

◆ type_minimum

integer, parameter mod_global_parameters::type_minimum =3

Definition at line 468 of file mod_global_parameters.t.

◆ type_sub_block

integer, dimension(2^d&) mod_global_parameters::type_sub_block

Definition at line 35 of file mod_global_parameters.t.

◆ type_sub_block_stg

integer, dimension(^nd,2^d&) mod_global_parameters::type_sub_block_stg

Definition at line 37 of file mod_global_parameters.t.

◆ type_summax

integer, parameter mod_global_parameters::type_summax =2

Definition at line 467 of file mod_global_parameters.t.

◆ typeaverage

character(len=std_len) mod_global_parameters::typeaverage

Definition at line 611 of file mod_global_parameters.t.

◆ typeboundary

integer, dimension(:, :), allocatable mod_global_parameters::typeboundary

Array indicating the type of boundary condition per variable and per physical boundary.

Definition at line 694 of file mod_global_parameters.t.

◆ typedimsplit

character(len=std_len) mod_global_parameters::typedimsplit

Definition at line 612 of file mod_global_parameters.t.

◆ typediv

character(len=std_len) mod_global_parameters::typediv

Definition at line 652 of file mod_global_parameters.t.

◆ typeentropy

character(len=std_len), dimension(:), allocatable mod_global_parameters::typeentropy

Which type of entropy fix to use with Riemann-type solvers.

Definition at line 603 of file mod_global_parameters.t.

◆ typefilelog

character(len=std_len) mod_global_parameters::typefilelog

Which type of log to write: 'normal', 'special', 'regression_test'.

Definition at line 274 of file mod_global_parameters.t.

◆ typegrad

character(len=std_len) mod_global_parameters::typegrad

Definition at line 652 of file mod_global_parameters.t.

◆ typepoly

character(len=std_len) mod_global_parameters::typepoly

Definition at line 614 of file mod_global_parameters.t.

◆ typepred1

integer, dimension(:), allocatable mod_global_parameters::typepred1

The spatial discretization for the predictor step when using a two step PC method.

Definition at line 541 of file mod_global_parameters.t.

◆ typetvd

character(len=std_len) mod_global_parameters::typetvd

Which type of TVD method to use.

Definition at line 606 of file mod_global_parameters.t.

◆ undefined

character(len=*), parameter mod_global_parameters::undefined = 'undefined'

Definition at line 16 of file mod_global_parameters.t.

◆ unit_charge

double precision mod_global_parameters::unit_charge =1.d0

Physical scaling factor for charge.

Definition at line 342 of file mod_global_parameters.t.

◆ unit_density

double precision mod_global_parameters::unit_density =1.d0

Physical scaling factor for density.

Definition at line 324 of file mod_global_parameters.t.

◆ unit_length

double precision mod_global_parameters::unit_length =1.d0

Physical scaling factor for length.

Definition at line 318 of file mod_global_parameters.t.

◆ unit_magneticfield

double precision mod_global_parameters::unit_magneticfield =1.d0

Physical scaling factor for magnetic field.

Definition at line 336 of file mod_global_parameters.t.

◆ unit_mass

double precision mod_global_parameters::unit_mass =1.d0

Physical scaling factor for mass.

Definition at line 345 of file mod_global_parameters.t.

◆ unit_numberdensity

double precision mod_global_parameters::unit_numberdensity =1.d0

Physical scaling factor for number density.

Definition at line 339 of file mod_global_parameters.t.

◆ unit_opacity

double precision mod_global_parameters::unit_opacity =1.d0

Physical scaling factor for Opacity.

Definition at line 351 of file mod_global_parameters.t.

◆ unit_pressure

double precision mod_global_parameters::unit_pressure =1.d0

Physical scaling factor for pressure.

Definition at line 333 of file mod_global_parameters.t.

◆ unit_radflux

double precision mod_global_parameters::unit_radflux =1.d0

Physical scaling factor for radiation flux.

Definition at line 354 of file mod_global_parameters.t.

◆ unit_temperature

double precision mod_global_parameters::unit_temperature =1.d0

Physical scaling factor for temperature.

Definition at line 330 of file mod_global_parameters.t.

◆ unit_time

double precision mod_global_parameters::unit_time =1.d0

Physical scaling factor for time.

Definition at line 321 of file mod_global_parameters.t.

◆ unit_velocity

double precision mod_global_parameters::unit_velocity =1.d0

Physical scaling factor for velocity.

Definition at line 327 of file mod_global_parameters.t.

◆ unitanalysis

integer, parameter mod_global_parameters::unitanalysis =14

Definition at line 252 of file mod_global_parameters.t.

◆ unitcollapse

integer, parameter mod_global_parameters::unitcollapse =13

Definition at line 251 of file mod_global_parameters.t.

◆ unitconvert

integer, parameter mod_global_parameters::unitconvert =10

Definition at line 248 of file mod_global_parameters.t.

◆ uniterr

integer, parameter mod_global_parameters::uniterr =6

Unit for error messages.

Definition at line 244 of file mod_global_parameters.t.

◆ unitpar

integer, parameter mod_global_parameters::unitpar =9

file handle for IO

Definition at line 247 of file mod_global_parameters.t.

◆ unitslice

integer, parameter mod_global_parameters::unitslice =11

Definition at line 249 of file mod_global_parameters.t.

◆ unitsnapshot

integer, parameter mod_global_parameters::unitsnapshot =12

Definition at line 250 of file mod_global_parameters.t.

◆ unitstdin

integer, parameter mod_global_parameters::unitstdin =5

Unit for standard input.

Definition at line 238 of file mod_global_parameters.t.

◆ unitterm

integer, parameter mod_global_parameters::unitterm =6

Unit for standard output.

Definition at line 241 of file mod_global_parameters.t.

◆ use_imex_scheme

logical mod_global_parameters::use_imex_scheme

whether IMEX in use or not

Definition at line 650 of file mod_global_parameters.t.

◆ use_multigrid

logical mod_global_parameters::use_multigrid = .false.

Use multigrid (only available in 2D and 3D)

Definition at line 390 of file mod_global_parameters.t.

◆ use_particles

logical mod_global_parameters::use_particles =.false.

Use particles module or not.

Definition at line 387 of file mod_global_parameters.t.

◆ usr_filename

character(len=std_len) mod_global_parameters::usr_filename

User parameter file.

Definition at line 176 of file mod_global_parameters.t.

◆ vmax_global

double precision mod_global_parameters::vmax_global

global fastest flow speed needed in glm method

Definition at line 658 of file mod_global_parameters.t.

◆ w_convert_factor

double precision, dimension(:), allocatable mod_global_parameters::w_convert_factor

Conversion factors the primitive variables.

Definition at line 302 of file mod_global_parameters.t.

◆ w_refine_weight

double precision, dimension(:), allocatable mod_global_parameters::w_refine_weight

Weights of variables used to calculate error for mesh refinement.

Definition at line 404 of file mod_global_parameters.t.

◆ w_write

logical, dimension(:), allocatable mod_global_parameters::w_write

Definition at line 259 of file mod_global_parameters.t.

◆ wall_time_max

double precision mod_global_parameters::wall_time_max

Ending wall time (in hours) for the simulation.

Definition at line 488 of file mod_global_parameters.t.

◆ wavelength

integer mod_global_parameters::wavelength

wavelength for output

Definition at line 716 of file mod_global_parameters.t.

◆ whitelight_instrument

character(len=std_len) mod_global_parameters::whitelight_instrument

white light observation instrument

Definition at line 728 of file mod_global_parameters.t.

◆ writelevel

logical, dimension(:), allocatable mod_global_parameters::writelevel

Definition at line 260 of file mod_global_parameters.t.

◆ writespshift

double precision, dimension(ndim,2) mod_global_parameters::writespshift

Definition at line 261 of file mod_global_parameters.t.

◆ x_origin

double precision, dimension(1:3) mod_global_parameters::x_origin

where the is the origin (X=0,Y=0) of image

Definition at line 736 of file mod_global_parameters.t.

◆ xload

double precision mod_global_parameters::xload

Stores the memory and load imbalance, used in printlog.

Definition at line 310 of file mod_global_parameters.t.

◆ xmemory

double precision mod_global_parameters::xmemory

Definition at line 310 of file mod_global_parameters.t.

◆ xprob

double precision mod_global_parameters::xprob

minimum and maximum domain boundaries for each dimension

Definition at line 54 of file mod_global_parameters.t.

◆ xstretch

double precision mod_global_parameters::xstretch

physical extent of stretched border in symmetric stretching

Definition at line 132 of file mod_global_parameters.t.

◆ z_

integer mod_global_parameters::z_ = -1

Definition at line 59 of file mod_global_parameters.t.