MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Modules | Functions/Subroutines | Variables
mod_global_parameters.t File Reference

Go to the source code of this file.

Modules

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

Functions/Subroutines

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

Variables

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