Config.sh 2.14 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash            # this line only there to enable syntax highlighting in this file

## examples/current_sheet_2d/Config.sh
## config file for 2d current sheet probelm

#--------------------------------------- Basic operation mode of code
TWODIMS                                  # 2d simulation

#--------------------------------------- Magnetohydrodynamics
MHD                                      # Master switch for magnetohydrodynamics
MHD_POWELL                               # Powell div(B) cleaning scheme for magnetohydrodynamics
MHD_POWELL_LIMIT_TIMESTEP                # Timestep constraint due to Powell cleaning scheme

#--------------------------------------- Riemann solver
RIEMANN_HLLD                             # HLLD approximate Riemann solver (required to use for MHD)

#--------------------------------------- Mesh motion and regularization
REGULARIZE_MESH_CM_DRIFT                 # Mesh regularization; Move mesh generating point towards center of mass to make cells rounder.
REGULARIZE_MESH_CM_DRIFT_USE_SOUNDSPEED  # Limit mesh regularization speed by local sound speed
REGULARIZE_MESH_FACE_ANGLE               # Use maximum face angle as roundness criterion in mesh regularization

#--------------------------------------- Time integration options
TREE_BASED_TIMESTEPS                     # non-local timestep criterion (take 'signal speed' into account)

#--------------------------------------- Single/Double Precision
DOUBLEPRECISION=1                        # Mode of double precision: not defined: single; 1: full double precision 2: mixed, 3: mixed, fewer single precisions; unless short of memory, use 1.
INPUT_IN_DOUBLEPRECISION                 # initial conditions are in double precision

#--------------------------------------- Output/Input options
HAVE_HDF5                                # needed when HDF5 I/O support is desired; should this be standard?

#--------------------------------------- Testing and Debugging options
DEBUG                                    # enables core-dumps, should this be standard?

#--------------------------------------- Output options
OUTPUT_BFIELD_GRADIENT                   # gradient estimates of B-field