ActiveThorns = "CoordBase SymBase Boundary InitBase CartGrid3d Time MoL CarpetIOBasic CarpetIOScalar IOUtil Carpet CarpetLib Vectors CarpetMask CarpetReduce CarpetInterp CarpetSlab CarpetIOASCII LoopControl GSL CarpetRegrid2 SphericalSurface AEILocalInterp SpaceMask ReflectionSymmetry Formaline"

Cactus::cctk_run_title    = "Bondi test"
Cactus::highlight_warning_messages = "no"
Cactus::cctk_full_warnings = "yes"

Cactus::terminate = "any"
Cactus::max_runtime = 1410
Cactus::cctk_final_time = 100
Cactus::cctk_itlast = 10000000

#############################################################
# Debugging: Verbosity, poison, etc.
#############################################################

CarpetRegrid2::verbose  = 0

CarpetLib::print_memstats_every = 512 

Carpet::poison_new_timelevels = "yes"
Carpet::check_for_poison = "no"

CarpetLib::poison_new_memory = "yes"
CarpetLib::poison_value = 114
CarpetLib::max_allowed_memory_MB = 3500

#############################################################
# Grid Basics: Cactus
#############################################################

CartGrid3D::type                        = "coordbase"
CartGrid3D::domain                      = "full"
CartGrid3D::avoid_origin                = "no"

CoordBase::domainsize                   = minmax

CoordBase::boundary_size_x_lower        = 2
CoordBase::boundary_size_y_lower        = 2
CoordBase::boundary_size_z_lower        = 2
CoordBase::boundary_shiftout_x_lower    = 0
CoordBase::boundary_shiftout_y_lower    = 0
CoordBase::boundary_shiftout_z_lower    = 0
CoordBase::boundary_size_x_upper        = 2
CoordBase::boundary_size_y_upper        = 2
CoordBase::boundary_size_z_upper        = 2
CoordBase::boundary_shiftout_x_upper    = 0
CoordBase::boundary_shiftout_y_upper    = 0
CoordBase::boundary_shiftout_z_upper    = 0
CoordBase::boundary_staggered_x_upper = "yes"
CoordBase::boundary_staggered_y_upper = "yes"
CoordBase::boundary_staggered_z_upper = "yes"
CoordBase::boundary_staggered_x_lower = "yes"
CoordBase::boundary_staggered_y_lower = "yes"
CoordBase::boundary_staggered_z_lower = "yes"

#ReflectionSymmetry::reflection_x   = "no"
#ReflectionSymmetry::reflection_y   = "no"
#ReflectionSymmetry::reflection_z   = "no"
#ReflectionSymmetry::avoid_origin_x = no
#ReflectionSymmetry::avoid_origin_y = no
#ReflectionSymmetry::avoid_origin_z = no

CoordBase::xmin                         = 0
CoordBase::ymin                         = 0
CoordBase::zmin                         = -40.0252831994529+0.0367879441171442
CoordBase::xmax                         = 40.0252831994529
CoordBase::ymax                         = 40.0252831994529
CoordBase::zmax                         = 40.0252831994529+0.0367879441171442
CoordBase::dx                           = 1.17721421174862
CoordBase::dy                           = 1.17721421174862
CoordBase::dz                           = 1.17721421174862

Driver::ghost_size = 2

#############################################################
# Mesh refinement
#############################################################

Carpet::domain_from_coordbase = "yes"
Carpet::max_refinement_levels = 5
Carpet::prolongation_order_space = 2
Carpet::prolongation_order_time = 2
Carpet::refinement_centering    = "cell"

CarpetRegrid2::num_centres          = 1
CarpetRegrid2::regrid_every         = 128
CarpetRegrid2::freeze_unaligned_levels = "yes" 
CarpetRegrid2::freeze_unaligned_parent_levels = "yes" 
CarpetRegrid2::snap_to_coarse = "yes"
Carpet::grid_coordinates_filename = "grid.asc" 
CarpetRegrid2::symmetry_rotating180        = "no"
CarpetRegrid2::symmetry_rotating90         = "yes"

CarpetRegrid2::num_levels_1  =  5
CarpetRegrid2::position_x_1  =  0
CarpetRegrid2::position_y_1  =  0
CarpetRegrid2::position_z_1  =  0

CarpetRegrid2::radius_1[1] = 20.0126415997265
CarpetRegrid2::radius_1[2] = 10.0063207998632
CarpetRegrid2::radius_1[3] = 5.00316039993162
CarpetRegrid2::radius_1[4] = 2.50158019996581

Carpet::init_fill_timelevels=yes