u/erica/memoryBaseline: global.data

File global.data, 5.3 KB (added by Erica Kaminski, 11 years ago)
Line 
1!============================================================================================
2! AstroBEAR global.data File
3! Global parameters, Contains GlobalData and LevelData and PoissonData namelists.
4! Configured for: Template
5! Default values for variables in [brackets]
6!============================================================================================
7
8&GlobalData
9
10!=============================================================================================
11! Parameters Related to Space
12!=============================================================================================
13nDim = 3 ! number of dimensions for this problem (1-3)
14GmX = 1, 1, 1 !128,128,128 ! Base grid resolution [x,y,z]
15MaxLevel = 0 !4 ! Maximum level for this simulation (0 is fixed grid)
16LastStaticLevel = -1 ! Use static AMR for levels through LastStaticLevel [-1]
17GxBounds = -25d0,-25d0,-25d0,25d0,25d0,25d0 ! Problem boundaries in computational units,format:
18 ! (xlower, ylower, zlower, xupper, yupper, zupper)
19 ! For 2D problems, set zlower and zupper to 0.d0.
20
21Gmthbc = 1,1,1,1,1,1 ! Sets the physical boundary conditions at the edge of the problem domain
22 ! format: (x1, y1, z1, x2, y2, z2)
23 ! 1-Extrapolated,
24 ! 2-Periodic,
25 ! 3-ReflectingWall (Field lines do not penetrate)
26 ! 4-Reflect_BParallel (Field lines held normal
27 ! 5-Reflect_Cylindrical (Like reflect wall, but also changes sign of phi
28 ! components of velocity and magnetic fields)
29 ! [1,1,1,1,1,1]
30
31!=============================================================================================
32! Parameters Related to Time
33!=============================================================================================
34start_time = 0d0 ! The initial time in computational units [0d0]. Do NOT change this on restarts.
35final_time = 1000.4d0 ! The final time in computational units.
36final_frame = 140 ! The final frame [10]
37lRestart = F ! restart flag [F]
38lPostProcess = F ! Post Process (preempts lrestart) [F]
39restart_frame = 77 ! The frame from which restarts should begin. Ignored unless lRestart or lPostProcess = .true.
40initial_maxspeed = 800.d0 ! A lower bound on the initial maximum wave speed in computational units.
41cfl_vars = .8, .2, .3 ! Maximum allowed CFL before restarting step, desired CFL to run at, relaxation parameter. Smaller numbers give more gradual relaxation [1, .3, .5]
42
43
44!=============================================================================================
45! Parameters Related to Performance/Algorithms
46!=============================================================================================
47lSkipProfile = T !F ! Flag for skipping profiling [T] - should set this to false for good performance on production runs.
48lUseOriginalNewSubGrids = F ! T for Old Subgrid Algo, F for New Subgrid Algo. [F]
49MinimumGridPoints = 2 ! The minimum number of cells a grid can have along one dimension [2] (ignored unless lUseOriginalNewSubGrids=T).
50iThreaded = -1 ! -1 is non-threaded, 0 is pseudo-threaded, 1 is threaded [0]. If you are using threaded you must compile with pThreadFlag=2
51LevelBalance = 0d0,0d0 ! Try to balance load on every level? [0d0,0d0]
52
53/
54
55!============================================================================================
56!Level-specific variables (All LevelData lists should be initialized from 0 to MaxLevel).
57!============================================================================================
58
59&LevelData
60qTolerance = .1,.1,.1,.1,.10,.10,.10,.10 ! field variable tolerances on each level
61DesiredFillRatios = .70,.70,.70,.70,.70,.70,.70,.70 ! Determines how much of the new subgrids must be filled with refined cells (also ignored unless lUseOriginalNewSubGrids=T)
62buffers = 2 2 2 2 2 2 2 2 ! Number of zones to buffer ghost cells
63/
64
65
66!============================================================================================
67!Level-specific variables (All LevelData lists should be initialized from 0 to MaxLevel).
68!============================================================================================
69
70&PoissonData
71solver = 1 ! Which solver to use for linear system solve? StructPCG=1, StructGMRes=2 [1]
72tolerance = 1e-6 ! Solver convergence tolerance [1e-6]
73printlevel = 0 ! Sets print level for hypre solver. Increasing this will make solvers more verbose. [0]
74MaxIters = 100000 ! Maximum number of iterations to attempt convergence. [1000]
75hverbosity = 0 ! Anything > 0 will cause linear systems to be outputted as matrix, rhs, lhs files. [0]
76mthbc = 3 3 3 3 3 3 ! What type of boundary conditions to use for gravitational potential
77 ! format: (x1, y1, z1, x2, y2, z2)
78 ! 0-Zero Slope,
79 ! 1-Reflecting,
80 ! 2-Periodic,
81 ! 3-Multipole Expansion,
82 ! 4-User Specified (User is reponsible for setting Phi at physical boundaries)
83/