aboutsummaryrefslogtreecommitdiff
path: root/CarpetDev/CarpetAdaptiveRegrid/param.ccl
blob: 9660d454cfb129c3c0d2166a08833928e080aa8c (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
# Parameter definitions for thorn CarpetAdaptiveRegrid
# $Header$

# Refinement criteria for automatic refining

CCTK_INT min_width "Minimum width of refined region" STEERABLE=always
{
  1:* :: "must be positive"
} 8

CCTK_REAL min_fraction "Minimum fraction of points in need of refinement in a refined region" STEERABLE=always
{
  0:1 :: "must be positive and less than one"
} 0.75

CCTK_REAL max_error "Maximum allowed error for non-refined grid points" STEERABLE=always
{
  *:* :: "everything goes"
} 1.0

CCTK_STRING error_var "Name of grid function that contains the error" STEERABLE=always
{
  ".*" :: "must be the name of a grid function"
} ""

CCTK_INT regrid_every "Regrid every n time steps" STEERABLE=always
{
  -1   :: "regrid never"
   0   :: "regrid during initial data calculation only"
   1:* :: "regrid every n time steps"
} 0

CCTK_INT pad "Number of cells that the error should be padded" STEERABLE=always
{
  0:* :: "Non negative"
} 2

CCTK_BOOLEAN verbose "Should we be verbose"
{
} "no"

CCTK_BOOLEAN veryverbose "Should we be very verbose"
{
} "no"