aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: 7d69ca3b36fba408191faeb109dcbc52537be7b2 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Parameter definitions for thorn SummationByParts
# $Header$

KEYWORD norm_type "Type of norm" STEERABLE=always
{
  "Diagonal" :: "Diagonal norm"
  "Full restricted" :: "Full resricted norm"
} "Diagonal"

KEYWORD operator_type "Type of operator" STEERABLE=always
{
  "Minimal Bandwidth" :: "Minimal bandwidth (except for 8-4 which is minimal spectral radius)"
  "Optimized" :: "Optimized for performance"
} "Optimized"

BOOLEAN sbp_2nd_deriv "Should the 2nd derivative operator be SBP" STEERABLE=always
{
} "yes"
  
INT order "Order of accuracy" STEERABLE=always
{
  2:8:2 :: ""
} 2

BOOLEAN onesided_outer_boundaries "Use one-sided stencils near outer boundaries" STEERABLE=always
{
} "yes"

BOOLEAN onesided_interpatch_boundaries "Use one-sided stencils near inter-patch boundaries" STEERABLE=always
{
} "yes"

BOOLEAN use_dissipation "Should we add dissipation"
{
} "no"

BOOLEAN use_shiftout "Should we use the boundary_shift_out parameters from CoordBase to shift the dissipation stencils"
{
} "no"

# Note: scaling the dissipation operators with h reduces the order by one.
BOOLEAN scale_with_h "Should we scale the dissipation with the grid spacing h"
{
} "no"

KEYWORD dissipation_type "Type of dissipation operator" STEERABLE=always
{
  "Mattson-Svard-Nordstrom" :: "Mattson, Svaerd and Nordstroem type"
  "Kreiss-Oliger" :: "Kreiss-Oliger modified near the boundaries"
} "Mattson-Svard-Nordstrom"

REAL epsdis "Dissipation strength" STEERABLE=always
{
  *:* :: "Values typical between 0 and 1"
} 0.2

REAL diss_fraction[3] "Fractional size of the transition region for the full restricted dissipation operator"
{
  0:0.5 :: ""
} 0.2

REAL h_scaling[3] "Scaling factor for the local grid spacing in the dissipation operators"
{
 0:* :: "Positive please"
} 1.0

STRING vars "List of evolved grid functions that should have dissipation added" STEERABLE=always
{
  .* :: "Must be a valid list of grid functions"
} ""

BOOLEAN zero_derivs_y "set all derivatives to 0 in the y-direction"
{
} "no"

BOOLEAN zero_derivs_z "set all derivatives to 0 in the z-direction"
{
} "no"

# If you use this parameter be careful. You have to know what you are doing...
BOOLEAN check_grid_sizes "Should we check grid sizes and ghost zones"
{
} "yes"