diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-09-19 13:04:28 -0700 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-09-28 13:00:31 -0500 |
commit | b89c3686f96bdf534addc7f4df2ed6159a4c3b12 (patch) | |
tree | 014b70bf7caf5aadb4c551cce37c5778a65e813f /Carpet | |
parent | 1950b16ae247fe3a34ea87c6518026379bfe606a (diff) |
CarpetReduce: Add test cases for weight on boundaries
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/CarpetReduce/test/nonstaggered.par | 63 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/nonstaggered/weight..asc | 8 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/nonstaggered/weight.d.asc | 11 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/nonstaggered/weight.x.asc | 11 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/nonstaggered/weight.y.asc | 41 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/nonstaggered/weight.z.asc | 29 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/staggered.par | 63 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/staggered/weight..asc | 8 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/staggered/weight.d.asc | 11 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/staggered/weight.x.asc | 11 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/staggered/weight.y.asc | 41 | ||||
-rw-r--r-- | Carpet/CarpetReduce/test/staggered/weight.z.asc | 32 |
12 files changed, 329 insertions, 0 deletions
diff --git a/Carpet/CarpetReduce/test/nonstaggered.par b/Carpet/CarpetReduce/test/nonstaggered.par new file mode 100644 index 000000000..14d75c2b5 --- /dev/null +++ b/Carpet/CarpetReduce/test/nonstaggered.par @@ -0,0 +1,63 @@ +ActiveThorns = "IOUtil Boundary CartGrid3D CoordBase SymBase MoL InitBase" +ActiveThorns = "Carpet CarpetLib CarpetInterp CarpetReduce CarpetSlab" + +#---Geometry--- + +CoordBase::domainsize = minmax +CoordBase::spacing = numcells +CartGrid3D::type = coordbase +driver::ghost_size = 3 +Carpet::domain_from_coordbase = yes +Carpet::convergence_level = 0 + +CoordBase::ncells_x = 1 +CoordBase::xmin = -1 +CoordBase::xmax = 1 +CoordBase::boundary_size_x_lower = 0 +CoordBase::boundary_size_x_upper = 0 +CoordBase::boundary_staggered_x_lower = True +CoordBase::boundary_staggered_x_upper = True +CoordBase::boundary_shiftout_x_lower = 0 +CoordBase::boundary_shiftout_x_upper = 0 + +CoordBase::ncells_y = 4 +CoordBase::ymin = -1 +CoordBase::ymax = 1 +CoordBase::boundary_size_y_lower = 3 +CoordBase::boundary_size_y_upper = 3 +CoordBase::boundary_staggered_y_lower = False +CoordBase::boundary_staggered_y_upper = False +CoordBase::boundary_shiftout_y_lower = 1 +CoordBase::boundary_shiftout_y_upper = 1 + +CoordBase::ncells_z = 4 +CoordBase::zmin = 0 +CoordBase::zmax = 1 +CoordBase::boundary_size_z_lower = 2 +CoordBase::boundary_size_z_upper = 2 +CoordBase::boundary_staggered_z_lower = False +CoordBase::boundary_staggered_z_upper = False +CoordBase::boundary_shiftout_z_lower = 0 +CoordBase::boundary_shiftout_z_upper = 0 + +#---Evolution--- + +Cactus::terminate = iteration +Cactus::cctk_itlast = 2 + + + +#---Output--- + +ActiveThorns = "CarpetIOASCII CarpetIOBasic" +IO::out_dir = $parfile +IO::parfile_write = "no" +IO::out_fileinfo = "none" +IOBasic::outInfo_every = 1 +Cactus::cctk_full_warnings = yes +Carpet::print_timestats_every = 0 +CarpetReduce::verbose = yes +IOASCII::out1D_every = 1 +IOASCII::out0D_every = 1 +IOASCII::out1D_vars = "CarpetReduce::weight" +IOASCII::out0D_vars = "CarpetReduce::weight" diff --git a/Carpet/CarpetReduce/test/nonstaggered/weight..asc b/Carpet/CarpetReduce/test/nonstaggered/weight..asc new file mode 100644 index 000000000..0782e3a41 --- /dev/null +++ b/Carpet/CarpetReduce/test/nonstaggered/weight..asc @@ -0,0 +1,8 @@ +# 0D ASCII output created by CarpetIOASCII +# +0 0 0 0 0 0 5 1 0 0 0 0 0.5 + +1 0 0 0 0 0 5 1 1 0 0 0 0.5 + +2 0 0 0 0 0 5 1 2 0 0 0 0.5 + diff --git a/Carpet/CarpetReduce/test/nonstaggered/weight.d.asc b/Carpet/CarpetReduce/test/nonstaggered/weight.d.asc new file mode 100644 index 000000000..2cfc7bf49 --- /dev/null +++ b/Carpet/CarpetReduce/test/nonstaggered/weight.d.asc @@ -0,0 +1,11 @@ +# 1D ASCII output created by CarpetIOASCII +# +0 0 0 0 0 0 0 0 0 nan -2.5 -0.25 0 + + +1 0 0 0 0 0 0 0 1 nan -2.5 -0.25 0 + + +2 0 0 0 0 0 0 0 2 nan -2.5 -0.25 0 + + diff --git a/Carpet/CarpetReduce/test/nonstaggered/weight.x.asc b/Carpet/CarpetReduce/test/nonstaggered/weight.x.asc new file mode 100644 index 000000000..60594db9a --- /dev/null +++ b/Carpet/CarpetReduce/test/nonstaggered/weight.x.asc @@ -0,0 +1,11 @@ +# 1D ASCII output created by CarpetIOASCII +# +0 0 0 0 0 0 5 1 0 0 0 0 0.5 + + +1 0 0 0 0 0 5 1 1 0 0 0 0.5 + + +2 0 0 0 0 0 5 1 2 0 0 0 0.5 + + diff --git a/Carpet/CarpetReduce/test/nonstaggered/weight.y.asc b/Carpet/CarpetReduce/test/nonstaggered/weight.y.asc new file mode 100644 index 000000000..3f070554d --- /dev/null +++ b/Carpet/CarpetReduce/test/nonstaggered/weight.y.asc @@ -0,0 +1,41 @@ +# 1D ASCII output created by CarpetIOASCII +# +0 0 0 0 0 0 0 1 0 0 -2.5 0 0 +0 0 0 0 0 0 1 1 0 0 -2 0 0 +0 0 0 0 0 0 2 1 0 0 -1.5 0 0 +0 0 0 0 0 0 3 1 0 0 -1 0 0.25 +0 0 0 0 0 0 4 1 0 0 -0.5 0 0.5 +0 0 0 0 0 0 5 1 0 0 0 0 0.5 +0 0 0 0 0 0 6 1 0 0 0.5 0 0.5 +0 0 0 0 0 0 7 1 0 0 1 0 0.25 +0 0 0 0 0 0 8 1 0 0 1.5 0 0 +0 0 0 0 0 0 9 1 0 0 2 0 0 +0 0 0 0 0 0 10 1 0 0 2.5 0 0 + + +1 0 0 0 0 0 0 1 1 0 -2.5 0 0 +1 0 0 0 0 0 1 1 1 0 -2 0 0 +1 0 0 0 0 0 2 1 1 0 -1.5 0 0 +1 0 0 0 0 0 3 1 1 0 -1 0 0.25 +1 0 0 0 0 0 4 1 1 0 -0.5 0 0.5 +1 0 0 0 0 0 5 1 1 0 0 0 0.5 +1 0 0 0 0 0 6 1 1 0 0.5 0 0.5 +1 0 0 0 0 0 7 1 1 0 1 0 0.25 +1 0 0 0 0 0 8 1 1 0 1.5 0 0 +1 0 0 0 0 0 9 1 1 0 2 0 0 +1 0 0 0 0 0 10 1 1 0 2.5 0 0 + + +2 0 0 0 0 0 0 1 2 0 -2.5 0 0 +2 0 0 0 0 0 1 1 2 0 -2 0 0 +2 0 0 0 0 0 2 1 2 0 -1.5 0 0 +2 0 0 0 0 0 3 1 2 0 -1 0 0.25 +2 0 0 0 0 0 4 1 2 0 -0.5 0 0.5 +2 0 0 0 0 0 5 1 2 0 0 0 0.5 +2 0 0 0 0 0 6 1 2 0 0.5 0 0.5 +2 0 0 0 0 0 7 1 2 0 1 0 0.25 +2 0 0 0 0 0 8 1 2 0 1.5 0 0 +2 0 0 0 0 0 9 1 2 0 2 0 0 +2 0 0 0 0 0 10 1 2 0 2.5 0 0 + + diff --git a/Carpet/CarpetReduce/test/nonstaggered/weight.z.asc b/Carpet/CarpetReduce/test/nonstaggered/weight.z.asc new file mode 100644 index 000000000..dcd128ddb --- /dev/null +++ b/Carpet/CarpetReduce/test/nonstaggered/weight.z.asc @@ -0,0 +1,29 @@ +# 1D ASCII output created by CarpetIOASCII +# +0 0 0 0 0 0 5 0 0 0 0 -0.25 0 +0 0 0 0 0 0 5 1 0 0 0 0 0.5 +0 0 0 0 0 0 5 2 0 0 0 0.25 1 +0 0 0 0 0 0 5 3 0 0 0 0.5 1 +0 0 0 0 0 0 5 4 0 0 0 0.75 1 +0 0 0 0 0 0 5 5 0 0 0 1 0.5 +0 0 0 0 0 0 5 6 0 0 0 1.25 0 + + +1 0 0 0 0 0 5 0 1 0 0 -0.25 0 +1 0 0 0 0 0 5 1 1 0 0 0 0.5 +1 0 0 0 0 0 5 2 1 0 0 0.25 1 +1 0 0 0 0 0 5 3 1 0 0 0.5 1 +1 0 0 0 0 0 5 4 1 0 0 0.75 1 +1 0 0 0 0 0 5 5 1 0 0 1 0.5 +1 0 0 0 0 0 5 6 1 0 0 1.25 0 + + +2 0 0 0 0 0 5 0 2 0 0 -0.25 0 +2 0 0 0 0 0 5 1 2 0 0 0 0.5 +2 0 0 0 0 0 5 2 2 0 0 0.25 1 +2 0 0 0 0 0 5 3 2 0 0 0.5 1 +2 0 0 0 0 0 5 4 2 0 0 0.75 1 +2 0 0 0 0 0 5 5 2 0 0 1 0.5 +2 0 0 0 0 0 5 6 2 0 0 1.25 0 + + diff --git a/Carpet/CarpetReduce/test/staggered.par b/Carpet/CarpetReduce/test/staggered.par new file mode 100644 index 000000000..c0b9ac8e3 --- /dev/null +++ b/Carpet/CarpetReduce/test/staggered.par @@ -0,0 +1,63 @@ +ActiveThorns = "IOUtil Boundary CartGrid3D CoordBase SymBase MoL InitBase" +ActiveThorns = "Carpet CarpetLib CarpetInterp CarpetReduce CarpetSlab" + +#---Geometry--- + +CoordBase::domainsize = minmax +CoordBase::spacing = numcells +CartGrid3D::type = coordbase +driver::ghost_size = 3 +Carpet::domain_from_coordbase = yes +Carpet::convergence_level = 0 + +CoordBase::ncells_x = 1 +CoordBase::xmin = -1 +CoordBase::xmax = 1 +CoordBase::boundary_size_x_lower = 0 +CoordBase::boundary_size_x_upper = 0 +CoordBase::boundary_staggered_x_lower = True +CoordBase::boundary_staggered_x_upper = True +CoordBase::boundary_shiftout_x_lower = 0 +CoordBase::boundary_shiftout_x_upper = 0 + +CoordBase::ncells_y = 4 +CoordBase::ymin = -1 +CoordBase::ymax = 1 +CoordBase::boundary_size_y_lower = 3 +CoordBase::boundary_size_y_upper = 3 +CoordBase::boundary_staggered_y_lower = False +CoordBase::boundary_staggered_y_upper = False +CoordBase::boundary_shiftout_y_lower = 1 +CoordBase::boundary_shiftout_y_upper = 1 + +CoordBase::ncells_z = 4 +CoordBase::zmin = 0 +CoordBase::zmax = 1 +CoordBase::boundary_size_z_lower = 2 +CoordBase::boundary_size_z_upper = 2 +CoordBase::boundary_staggered_z_lower = True +CoordBase::boundary_staggered_z_upper = True +CoordBase::boundary_shiftout_z_lower = 0 +CoordBase::boundary_shiftout_z_upper = 0 + +#---Evolution--- + +Cactus::terminate = iteration +Cactus::cctk_itlast = 2 + + + +#---Output--- + +ActiveThorns = "CarpetIOASCII CarpetIOBasic" +IO::out_dir = $parfile +IO::parfile_write = "no" +IO::out_fileinfo = "none" +IOBasic::outInfo_every = 1 +Cactus::cctk_full_warnings = yes +Carpet::print_timestats_every = 0 +CarpetReduce::verbose = yes +IOASCII::out1D_every = 1 +IOASCII::out0D_every = 1 +IOASCII::out1D_vars = "CarpetReduce::weight" +IOASCII::out0D_vars = "CarpetReduce::weight" diff --git a/Carpet/CarpetReduce/test/staggered/weight..asc b/Carpet/CarpetReduce/test/staggered/weight..asc new file mode 100644 index 000000000..d1c9d026c --- /dev/null +++ b/Carpet/CarpetReduce/test/staggered/weight..asc @@ -0,0 +1,8 @@ +# 0D ASCII output created by CarpetIOASCII +# +0 0 0 0 0 0 5 2 0 0 0 0.125 1 + +1 0 0 0 0 0 5 2 1 0 0 0.125 1 + +2 0 0 0 0 0 5 2 2 0 0 0.125 1 + diff --git a/Carpet/CarpetReduce/test/staggered/weight.d.asc b/Carpet/CarpetReduce/test/staggered/weight.d.asc new file mode 100644 index 000000000..34bbb487e --- /dev/null +++ b/Carpet/CarpetReduce/test/staggered/weight.d.asc @@ -0,0 +1,11 @@ +# 1D ASCII output created by CarpetIOASCII +# +0 0 0 0 0 0 0 0 0 nan -2.5 -0.375 0 + + +1 0 0 0 0 0 0 0 1 nan -2.5 -0.375 0 + + +2 0 0 0 0 0 0 0 2 nan -2.5 -0.375 0 + + diff --git a/Carpet/CarpetReduce/test/staggered/weight.x.asc b/Carpet/CarpetReduce/test/staggered/weight.x.asc new file mode 100644 index 000000000..260f30083 --- /dev/null +++ b/Carpet/CarpetReduce/test/staggered/weight.x.asc @@ -0,0 +1,11 @@ +# 1D ASCII output created by CarpetIOASCII +# +0 0 0 0 0 0 5 2 0 0 0 0.125 1 + + +1 0 0 0 0 0 5 2 1 0 0 0.125 1 + + +2 0 0 0 0 0 5 2 2 0 0 0.125 1 + + diff --git a/Carpet/CarpetReduce/test/staggered/weight.y.asc b/Carpet/CarpetReduce/test/staggered/weight.y.asc new file mode 100644 index 000000000..2097dc53e --- /dev/null +++ b/Carpet/CarpetReduce/test/staggered/weight.y.asc @@ -0,0 +1,41 @@ +# 1D ASCII output created by CarpetIOASCII +# +0 0 0 0 0 0 0 2 0 0 -2.5 0.125 0 +0 0 0 0 0 0 1 2 0 0 -2 0.125 0 +0 0 0 0 0 0 2 2 0 0 -1.5 0.125 0 +0 0 0 0 0 0 3 2 0 0 -1 0.125 0.5 +0 0 0 0 0 0 4 2 0 0 -0.5 0.125 1 +0 0 0 0 0 0 5 2 0 0 0 0.125 1 +0 0 0 0 0 0 6 2 0 0 0.5 0.125 1 +0 0 0 0 0 0 7 2 0 0 1 0.125 0.5 +0 0 0 0 0 0 8 2 0 0 1.5 0.125 0 +0 0 0 0 0 0 9 2 0 0 2 0.125 0 +0 0 0 0 0 0 10 2 0 0 2.5 0.125 0 + + +1 0 0 0 0 0 0 2 1 0 -2.5 0.125 0 +1 0 0 0 0 0 1 2 1 0 -2 0.125 0 +1 0 0 0 0 0 2 2 1 0 -1.5 0.125 0 +1 0 0 0 0 0 3 2 1 0 -1 0.125 0.5 +1 0 0 0 0 0 4 2 1 0 -0.5 0.125 1 +1 0 0 0 0 0 5 2 1 0 0 0.125 1 +1 0 0 0 0 0 6 2 1 0 0.5 0.125 1 +1 0 0 0 0 0 7 2 1 0 1 0.125 0.5 +1 0 0 0 0 0 8 2 1 0 1.5 0.125 0 +1 0 0 0 0 0 9 2 1 0 2 0.125 0 +1 0 0 0 0 0 10 2 1 0 2.5 0.125 0 + + +2 0 0 0 0 0 0 2 2 0 -2.5 0.125 0 +2 0 0 0 0 0 1 2 2 0 -2 0.125 0 +2 0 0 0 0 0 2 2 2 0 -1.5 0.125 0 +2 0 0 0 0 0 3 2 2 0 -1 0.125 0.5 +2 0 0 0 0 0 4 2 2 0 -0.5 0.125 1 +2 0 0 0 0 0 5 2 2 0 0 0.125 1 +2 0 0 0 0 0 6 2 2 0 0.5 0.125 1 +2 0 0 0 0 0 7 2 2 0 1 0.125 0.5 +2 0 0 0 0 0 8 2 2 0 1.5 0.125 0 +2 0 0 0 0 0 9 2 2 0 2 0.125 0 +2 0 0 0 0 0 10 2 2 0 2.5 0.125 0 + + diff --git a/Carpet/CarpetReduce/test/staggered/weight.z.asc b/Carpet/CarpetReduce/test/staggered/weight.z.asc new file mode 100644 index 000000000..24ecb45ad --- /dev/null +++ b/Carpet/CarpetReduce/test/staggered/weight.z.asc @@ -0,0 +1,32 @@ +# 1D ASCII output created by CarpetIOASCII +# +0 0 0 0 0 0 5 0 0 0 0 -0.375 0 +0 0 0 0 0 0 5 1 0 0 0 -0.125 0 +0 0 0 0 0 0 5 2 0 0 0 0.125 1 +0 0 0 0 0 0 5 3 0 0 0 0.375 1 +0 0 0 0 0 0 5 4 0 0 0 0.625 1 +0 0 0 0 0 0 5 5 0 0 0 0.875 1 +0 0 0 0 0 0 5 6 0 0 0 1.125 0 +0 0 0 0 0 0 5 7 0 0 0 1.375 0 + + +1 0 0 0 0 0 5 0 1 0 0 -0.375 0 +1 0 0 0 0 0 5 1 1 0 0 -0.125 0 +1 0 0 0 0 0 5 2 1 0 0 0.125 1 +1 0 0 0 0 0 5 3 1 0 0 0.375 1 +1 0 0 0 0 0 5 4 1 0 0 0.625 1 +1 0 0 0 0 0 5 5 1 0 0 0.875 1 +1 0 0 0 0 0 5 6 1 0 0 1.125 0 +1 0 0 0 0 0 5 7 1 0 0 1.375 0 + + +2 0 0 0 0 0 5 0 2 0 0 -0.375 0 +2 0 0 0 0 0 5 1 2 0 0 -0.125 0 +2 0 0 0 0 0 5 2 2 0 0 0.125 1 +2 0 0 0 0 0 5 3 2 0 0 0.375 1 +2 0 0 0 0 0 5 4 2 0 0 0.625 1 +2 0 0 0 0 0 5 5 2 0 0 0.875 1 +2 0 0 0 0 0 5 6 2 0 0 1.125 0 +2 0 0 0 0 0 5 7 2 0 0 1.375 0 + + |