Skip to content

Commit

Permalink
Z4co: add CI test for subcycling case
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Jul 25, 2024
1 parent ebfb95b commit b55743a
Show file tree
Hide file tree
Showing 37 changed files with 2,664 additions and 0 deletions.
108 changes: 108 additions & 0 deletions Z4co/test/qc0-SC.par
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# qc0.par

ActiveThorns = "
ADMBaseX
BoxInBox
CarpetX
CoordinatesX
IOUtil
ODESolvers
TmunuBaseX
TwoPuncturesX
Z4co
"

$nlevels = 2

Cactus::cctk_show_schedule = no
Cactus::presync_mode = "mixed-error"

Cactus::terminate = "iteration"
Cactus::cctk_itlast = 4

CarpetX::use_subcycling_wip = yes
CarpetX::restrict_during_sync = no

CarpetX::verbose = no
CarpetX::poison_undefined_values = no

CarpetX::xmin = -20.0
CarpetX::ymin = -20.0
CarpetX::zmin = -20.0
CarpetX::xmax = 20.0
CarpetX::ymax = 20.0
CarpetX::zmax = 20.0

CarpetX::ncells_x = 24
CarpetX::ncells_y = 24
CarpetX::ncells_z = 24

CarpetX::max_tile_size_x = 1024000
CarpetX::max_tile_size_y = 4
CarpetX::max_tile_size_z = 4

CarpetX::boundary_x = "linear extrapolation"
CarpetX::boundary_y = "linear extrapolation"
CarpetX::boundary_z = "linear extrapolation"
CarpetX::boundary_upper_x = "linear extrapolation"
CarpetX::boundary_upper_y = "linear extrapolation"
CarpetX::boundary_upper_z = "linear extrapolation"

CarpetX::ghost_size = 3
CarpetX::prolongation_type = "ddf"
#CarpetX::prolongation_order = 5
CarpetX::dtfac = 0.25

CarpetX::max_num_levels = $nlevels
CarpetX::regrid_every = 128
CarpetX::regrid_error_threshold = 0.03125

BoxInBox::num_regions = 1
# Region 1
BoxInBox::shape_1 = "cube"
BoxInBox::num_levels_1 = $nlevels
BoxInBox::radius_1 = [ -1.0, 10.0 ]

ODESolvers::verbose = no
ODESolvers::method = "RK4"

ADMBaseX::initial_data = "TwoPunctures"
ADMBaseX::initial_lapse = "TwoPunctures-averaged"

# QC-0 setup
TwoPuncturesX::par_b = 1.168642873
TwoPuncturesX::par_m_plus = 0.453
TwoPuncturesX::par_m_minus = 0.453
TwoPuncturesX::par_P_plus [1] = +0.3331917498
TwoPuncturesX::par_P_minus[1] = -0.3331917498
TwoPuncturesX::npoints_A = 16
TwoPuncturesX::npoints_B = 16
TwoPuncturesX::npoints_phi = 8
TwoPuncturesX::grid_setup_method = "evaluation"
TwoPuncturesX::TP_epsilon = 1.0e-2
TwoPuncturesX::TP_Tiny = 1.0e-2
TwoPuncturesX::adm_tol = 1e-6
TwoPuncturesX::Newton_tol = 1e-6
TwoPuncturesX::verbose = yes

Z4co::calc_ADM_vars = yes
#Z4co::calc_ADMRHS_vars = yes
#Z4co::calc_constraints = yes
Z4co::chi_floor = 1.0e-6
Z4co::alphaG_floor = 1.0e-8
Z4co::epsdiss = 0.32
Z4co::boundary_conditions = "NewRadX"

IO::out_dir = $parfile
IO::out_every = 2
IO::parfile_write = no

CarpetX::out_metadata = no
#CarpetX::out_norm_vars = "all"
#CarpetX::out_norm_omit_unstable = yes
CarpetX::out_tsv_vars = "
ADMBaseX::metric
ADMBaseX::curv
ADMBaseX::lapse
ADMBaseX::shift
"
71 changes: 71 additions & 0 deletions Z4co/test/qc0-SC/admbasex-curv.it000000.x.tsv

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Z4co/test/qc0-SC/admbasex-curv.it000000.y.tsv

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Z4co/test/qc0-SC/admbasex-curv.it000000.z.tsv

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Z4co/test/qc0-SC/admbasex-curv.it000002.x.tsv

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Z4co/test/qc0-SC/admbasex-curv.it000002.y.tsv

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Z4co/test/qc0-SC/admbasex-curv.it000002.z.tsv

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Z4co/test/qc0-SC/admbasex-curv.it000004.x.tsv

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Z4co/test/qc0-SC/admbasex-curv.it000004.y.tsv

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Z4co/test/qc0-SC/admbasex-curv.it000004.z.tsv

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Z4co/test/qc0-SC/admbasex-lapse.it000000.x.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# 1:iteration 2:time 3:patch 4:level 5:i 6:j 7:k 8:x 9:y 10:z 11:alp
0 0.0000000000000000e+00 0 0 -3 12 12 -2.5000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.8373767795542011e-01
0 0.0000000000000000e+00 0 0 -2 12 12 -2.3333333333333332e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.8175094052404543e-01
0 0.0000000000000000e+00 0 0 -1 12 12 -2.1666666666666668e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7976420309267076e-01
0 0.0000000000000000e+00 0 0 0 12 12 -2.0000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7777746566129609e-01
0 0.0000000000000000e+00 0 0 1 12 12 -1.8333333333333332e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7579072822992141e-01
0 0.0000000000000000e+00 0 0 2 12 12 -1.6666666666666668e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7341194023247524e-01
0 0.0000000000000000e+00 0 0 3 12 12 -1.5000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7051155920035637e-01
0 0.0000000000000000e+00 0 0 4 12 12 -1.3333333333333332e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6689541199128026e-01
0 0.0000000000000000e+00 0 0 5 12 12 -1.1666666666666666e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6225819130599044e-01
0 0.0000000000000000e+00 0 0 6 12 12 -1.0000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.5608945004326817e-01
0 0.0000000000000000e+00 0 0 7 12 12 -8.3333333333333321e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.4746270491812212e-01
0 0.0000000000000000e+00 0 0 8 12 12 -6.6666666666666661e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.3448841719063558e-01
0 0.0000000000000000e+00 0 0 9 12 12 -5.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.1254581057445860e-01
0 0.0000000000000000e+00 0 0 10 12 12 -3.3333333333333321e+00 0.0000000000000000e+00 0.0000000000000000e+00 8.6584199411440022e-01
0 0.0000000000000000e+00 0 0 11 12 12 -1.6666666666666643e+00 0.0000000000000000e+00 0.0000000000000000e+00 6.5160036871974536e-01
0 0.0000000000000000e+00 0 0 12 12 12 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 7.2065366110825557e-01
0 0.0000000000000000e+00 0 0 13 12 12 1.6666666666666679e+00 0.0000000000000000e+00 0.0000000000000000e+00 6.5160036871974392e-01
0 0.0000000000000000e+00 0 0 14 12 12 3.3333333333333357e+00 0.0000000000000000e+00 0.0000000000000000e+00 8.6584199411439999e-01
0 0.0000000000000000e+00 0 0 15 12 12 5.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.1254581057445860e-01
0 0.0000000000000000e+00 0 0 16 12 12 6.6666666666666679e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.3448841719063558e-01
0 0.0000000000000000e+00 0 0 17 12 12 8.3333333333333357e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.4746270491812212e-01
0 0.0000000000000000e+00 0 0 18 12 12 1.0000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.5608945004326806e-01
0 0.0000000000000000e+00 0 0 19 12 12 1.1666666666666668e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6225819130599044e-01
0 0.0000000000000000e+00 0 0 20 12 12 1.3333333333333336e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6689541199128026e-01
0 0.0000000000000000e+00 0 0 21 12 12 1.5000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7051155920035637e-01
0 0.0000000000000000e+00 0 0 22 12 12 1.6666666666666671e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7341194023247524e-01
0 0.0000000000000000e+00 0 0 23 12 12 1.8333333333333336e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7579072822992141e-01
0 0.0000000000000000e+00 0 0 24 12 12 2.0000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7777746566129609e-01
0 0.0000000000000000e+00 0 0 25 12 12 2.1666666666666671e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7976420309267076e-01
0 0.0000000000000000e+00 0 0 26 12 12 2.3333333333333336e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.8175094052404543e-01
0 0.0000000000000000e+00 0 0 27 12 12 2.5000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.8373767795542011e-01
0 0.0000000000000000e+00 0 1 5 24 24 -1.5833333333333332e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7196174971641580e-01
0 0.0000000000000000e+00 0 1 6 24 24 -1.5000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7051155920035637e-01
0 0.0000000000000000e+00 0 1 7 24 24 -1.4166666666666666e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6870348559581831e-01
0 0.0000000000000000e+00 0 1 8 24 24 -1.3333333333333332e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6689541199128026e-01
0 0.0000000000000000e+00 0 1 9 24 24 -1.2500000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6472990478273135e-01
0 0.0000000000000000e+00 0 1 10 24 24 -1.1666666666666666e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6225819130599044e-01
0 0.0000000000000000e+00 0 1 11 24 24 -1.0833333333333332e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.5940957072967537e-01
0 0.0000000000000000e+00 0 1 12 24 24 -1.0000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.5608945004326817e-01
0 0.0000000000000000e+00 0 1 13 24 24 -9.1666666666666661e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.5216815703315116e-01
0 0.0000000000000000e+00 0 1 14 24 24 -8.3333333333333321e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.4746270491812212e-01
0 0.0000000000000000e+00 0 1 15 24 24 -7.5000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.4170561778725914e-01
0 0.0000000000000000e+00 0 1 16 24 24 -6.6666666666666661e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.3448841719063558e-01
0 0.0000000000000000e+00 0 1 17 24 24 -5.8333333333333321e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.2515129411795383e-01
0 0.0000000000000000e+00 0 1 18 24 24 -5.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.1254581057445860e-01
0 0.0000000000000000e+00 0 1 19 24 24 -4.1666666666666661e+00 0.0000000000000000e+00 0.0000000000000000e+00 8.9445215323971716e-01
0 0.0000000000000000e+00 0 1 20 24 24 -3.3333333333333321e+00 0.0000000000000000e+00 0.0000000000000000e+00 8.6584199411440022e-01
0 0.0000000000000000e+00 0 1 21 24 24 -2.5000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 8.1177620591298827e-01
0 0.0000000000000000e+00 0 1 22 24 24 -1.6666666666666643e+00 0.0000000000000000e+00 0.0000000000000000e+00 6.5160036871974536e-01
0 0.0000000000000000e+00 0 1 23 24 24 -8.3333333333333215e-01 0.0000000000000000e+00 0.0000000000000000e+00 5.5908608471930088e-01
0 0.0000000000000000e+00 0 1 24 24 24 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 7.2065366110825557e-01
0 0.0000000000000000e+00 0 1 25 24 24 8.3333333333333570e-01 0.0000000000000000e+00 0.0000000000000000e+00 5.5908608471930299e-01
0 0.0000000000000000e+00 0 1 26 24 24 1.6666666666666679e+00 0.0000000000000000e+00 0.0000000000000000e+00 6.5160036871974392e-01
0 0.0000000000000000e+00 0 1 27 24 24 2.5000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 8.1177620591298827e-01
0 0.0000000000000000e+00 0 1 28 24 24 3.3333333333333357e+00 0.0000000000000000e+00 0.0000000000000000e+00 8.6584199411439999e-01
0 0.0000000000000000e+00 0 1 29 24 24 4.1666666666666679e+00 0.0000000000000000e+00 0.0000000000000000e+00 8.9445215323971716e-01
0 0.0000000000000000e+00 0 1 30 24 24 5.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.1254581057445860e-01
0 0.0000000000000000e+00 0 1 31 24 24 5.8333333333333357e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.2515129411795383e-01
0 0.0000000000000000e+00 0 1 32 24 24 6.6666666666666679e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.3448841719063558e-01
0 0.0000000000000000e+00 0 1 33 24 24 7.5000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.4170561778725914e-01
0 0.0000000000000000e+00 0 1 34 24 24 8.3333333333333357e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.4746270491812212e-01
0 0.0000000000000000e+00 0 1 35 24 24 9.1666666666666679e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.5216815703315116e-01
0 0.0000000000000000e+00 0 1 36 24 24 1.0000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.5608945004326806e-01
0 0.0000000000000000e+00 0 1 37 24 24 1.0833333333333336e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.5940957072967537e-01
0 0.0000000000000000e+00 0 1 38 24 24 1.1666666666666668e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6225819130599044e-01
0 0.0000000000000000e+00 0 1 39 24 24 1.2500000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6472990478273135e-01
0 0.0000000000000000e+00 0 1 40 24 24 1.3333333333333336e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6689541199128026e-01
0 0.0000000000000000e+00 0 1 41 24 24 1.4166666666666671e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.6870348559581831e-01
0 0.0000000000000000e+00 0 1 42 24 24 1.5000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7051155920035637e-01
0 0.0000000000000000e+00 0 1 43 24 24 1.5833333333333336e+01 0.0000000000000000e+00 0.0000000000000000e+00 9.7196174971641580e-01
Loading

0 comments on commit b55743a

Please sign in to comment.