From 68a09f1bbd74d0c1569a2458fceb45369aa6d6f6 Mon Sep 17 00:00:00 2001 From: allen Date: Sun, 21 Jan 2001 09:30:56 +0000 Subject: Adding testsuites for different boundary conditions git-svn-id: http://svn.cactuscode.org/arrangements/CactusWave/WaveToyF90/trunk@57 f80f6fb6-8356-4fd4-90bc-d84ad503c100 --- test/test_wavef90_flat.par | 43 +++++++++ test/test_wavef90_flat/phi.xl | 198 ++++++++++++++++++++++++++++++++++++++ test/test_wavef90_flat/phi_max.tl | 12 +++ test/test_wavef90_flat/phi_min.tl | 12 +++ test/test_wavef90_flat/phi_nm1.tl | 12 +++ test/test_wavef90_flat/phi_nm2.tl | 12 +++ test/test_wavef90_zero.par | 43 +++++++++ 7 files changed, 332 insertions(+) create mode 100644 test/test_wavef90_flat.par create mode 100644 test/test_wavef90_flat/phi.xl create mode 100644 test/test_wavef90_flat/phi_max.tl create mode 100644 test/test_wavef90_flat/phi_min.tl create mode 100644 test/test_wavef90_flat/phi_nm1.tl create mode 100644 test/test_wavef90_flat/phi_nm2.tl create mode 100644 test/test_wavef90_zero.par diff --git a/test/test_wavef90_flat.par b/test/test_wavef90_flat.par new file mode 100644 index 0000000..90b599e --- /dev/null +++ b/test/test_wavef90_flat.par @@ -0,0 +1,43 @@ +!DESC "Octant evolution with flat boundaries" +# $Id$ +# +# /*@@ +# @file test_rad.par +# @date Saturday 18th September 1999 +# @author Gabrielle Allen +# @desc +# Wavetoy parameter file demonstrating radiation boundaries in Octant +# @enddesc +# @@*/ + +ActiveThorns = "boundary iobasic idscalarwave time wavetoyf90 pugh pughreduce cartgrid3d ioutil ioascii" + +time::dtfac = 0.5 + +idscalarwave::initial_data = "gaussian" +idscalarwave::sigma = 2.8 +idscalarwave::radius = 5 + +wavetoyf90::bound = "flat" + +grid::type = "BySpacing" +grid::domain = "octant" +grid::dxyz = 0.6 + +driver::global_nx = 15 +driver::global_ny = 15 +driver::global_nz = 15 + +cactus::cctk_itlast = 10 + +IOBasic::outScalar_every = 1 +IOBasic::outScalar_vars = "wavetoy::phi" + +IOASCII::out1D_every = 1 +IOASCII::out1D_z = "no" +IOASCII::out1D_y = "no" +IOASCII::out1D_d = "no" +IOASCII::out1D_vars = "wavetoy::phi " + +IO::outdir = "test_wavef90_flat" + diff --git a/test/test_wavef90_flat/phi.xl b/test/test_wavef90_flat/phi.xl new file mode 100644 index 0000000..d32b165 --- /dev/null +++ b/test/test_wavef90_flat/phi.xl @@ -0,0 +1,198 @@ + + +"Time = 0.000000 +-0.300000 0.0772707537752 +0.300000 0.0772707537752 +0.900000 0.1292593546971 +1.500000 0.2208214420284 +2.100000 0.3529089299372 +2.700000 0.5192102694005 +3.300000 0.6998161919677 +3.900000 0.8624762718586 +4.500000 0.9710346043534 +5.100000 0.9982370567948 +5.700000 0.9367420144351 +6.300000 0.8022624770949 +6.900000 0.6270073768484 +7.500000 0.4471508970148 +8.100000 0.2909622162579 + + +"Time = 0.300000 +-0.300000 0.1393184064019 +0.300000 0.1393184064019 +0.900000 0.1975847110096 +1.500000 0.3062741452991 +2.100000 0.4554646524072 +2.700000 0.6299296619766 +3.300000 0.8021921868134 +3.900000 0.9366725320316 +4.500000 1.0007334088932 +5.100000 0.9771783117087 +5.700000 0.8714871457426 +6.300000 0.7095808925903 +6.900000 0.5273417858140 +7.500000 0.3576688235253 +8.100000 0.3576688235253 + + +"Time = 0.600000 +-0.300000 0.2450657874844 +0.300000 0.2450657874844 +0.900000 0.3063938562633 +1.500000 0.4275754994725 +2.100000 0.5875326742492 +2.700000 0.7594519468076 +3.300000 0.9090544974737 +3.900000 1.0007207893735 +4.500000 1.0095375644101 +5.100000 0.9313582488327 +5.700000 0.7847341927681 +6.300000 0.6033335286836 +6.900000 0.4230286782330 +7.500000 0.3044772474800 +8.100000 0.3044772474800 + + +"Time = 0.900000 +-0.300000 0.3968092201510 +0.300000 0.3968092201510 +0.900000 0.4612542907489 +1.500000 0.5868097261730 +2.100000 0.7462961828157 +2.700000 0.9011863559196 +3.300000 1.0121890493922 +3.900000 1.0475533118886 +4.500000 0.9938122606057 +5.100000 0.8613525959984 +5.700000 0.6803008397561 +6.300000 0.4885565892616 +6.900000 0.3268789718190 +7.500000 0.2752067677878 +8.100000 0.2752067677878 + + +"Time = 1.200000 +-0.300000 0.5968864557660 +0.300000 0.5968864557660 +0.900000 0.6634200568401 +1.500000 0.7832867114987 +2.100000 0.9262870132775 +2.700000 1.0464509311060 +3.300000 1.1026365452681 +3.900000 1.0708606286750 +4.500000 0.9516509078131 +5.100000 0.7695373165573 +5.700000 0.5631271680828 +6.300000 0.3726110352397 +6.900000 0.2516438268870 +7.500000 0.2533242806955 +8.100000 0.2533242806955 + + +"Time = 1.500000 +-0.300000 0.8468638921866 +0.300000 0.8468638921866 +0.900000 0.9096824905158 +1.500000 1.0118902155622 +2.100000 1.1191797723429 +2.700000 1.1850521641052 +3.300000 1.1715777583589 +3.900000 1.0658428285460 +4.500000 0.8831617240967 +5.100000 0.6598679115944 +5.700000 0.4393066881146 +6.300000 0.2658534766538 +6.900000 0.2011123490317 +7.500000 0.2255919085594 +8.100000 0.2255919085594 + + +"Time = 1.800000 +-0.300000 1.1439552773541 +0.300000 1.1439552773541 +0.900000 1.1928303039108 +1.500000 1.2623590177638 +2.100000 1.3137084038740 +2.700000 1.3061063451054 +3.300000 1.2112923140727 +3.900000 1.0298141343834 +4.500000 0.7905117480480 +5.100000 0.5376092449779 +5.700000 0.3166213800603 +6.300000 0.1787724364553 +6.900000 0.1673512871504 +7.500000 0.1864695542677 +8.100000 0.1864695542677 + + +"Time = 2.100000 +-0.300000 1.4777029324391 +0.300000 1.4777029324391 +0.900000 1.5007144586172 +1.500000 1.5197917554214 +2.100000 1.4960135325299 +2.700000 1.3989571738336 +3.300000 1.2160435134256 +3.900000 0.9625645974774 +4.500000 0.6777512803570 +5.100000 0.4092762366095 +5.700000 0.2045159839281 +6.300000 0.1165051938211 +6.900000 0.1359268071477 +7.500000 0.1375978100000 +8.100000 0.1375978100000 + + +"Time = 2.400000 +-0.300000 1.8287092321577 +0.300000 1.8287092321577 +0.900000 1.8146817721101 +1.500000 1.7655652525217 +2.100000 1.6506551991273 +2.700000 1.4540918571554 +3.300000 1.1827266218174 +3.900000 0.8664242308277 +4.500000 0.5505496920364 +5.100000 0.2827509946339 +5.700000 0.1121381041175 +6.300000 0.0748641086558 +6.900000 0.0949631657894 +7.500000 0.0837778489223 +8.100000 0.0837778489223 + + +"Time = 2.700000 +-0.300000 2.1691949368406 +0.300000 2.1691949368406 +0.900000 2.1093269062751 +1.500000 1.9782272412690 +2.100000 1.7620671001176 +2.700000 1.4640042823334 +3.300000 1.1111601469061 +3.900000 0.7460461820190 +4.500000 0.4159974511215 +5.100000 0.1669551146035 +5.700000 0.0444927745857 +6.300000 0.0417170783619 +6.900000 0.0413984540186 +7.500000 0.0287521775995 +8.100000 0.0287521775995 + + +"Time = 3.000000 +-0.300000 2.4647796185994 +0.300000 2.4647796185994 +0.900000 2.3541828216963 +1.500000 2.1347782118799 +2.100000 1.8160434930701 +2.700000 1.4238958183860 +3.300000 1.0039893220007 +3.900000 0.6080083033763 +4.500000 0.2824264328710 +5.100000 0.0702386639675 +5.700000 -0.0010331467926 +6.300000 0.0036481995989 +6.900000 -0.0195053936218 +7.500000 -0.0265435853212 +8.100000 -0.0265435853212 diff --git a/test/test_wavef90_flat/phi_max.tl b/test/test_wavef90_flat/phi_max.tl new file mode 100644 index 0000000..6ca871c --- /dev/null +++ b/test/test_wavef90_flat/phi_max.tl @@ -0,0 +1,12 @@ +"phi maximum v time +0.000000 0.9999198827161 +0.300000 1.0032036387356 +0.600000 1.0165679308821 +0.900000 1.0475533118886 +1.200000 1.1036047450756 +1.500000 1.1902041732567 +1.800000 1.3188502049547 +2.100000 1.5204576862657 +2.400000 1.8287092321577 +2.700000 2.1691949368406 +3.000000 2.4647796185994 diff --git a/test/test_wavef90_flat/phi_min.tl b/test/test_wavef90_flat/phi_min.tl new file mode 100644 index 0000000..c0a91e0 --- /dev/null +++ b/test/test_wavef90_flat/phi_min.tl @@ -0,0 +1,12 @@ +"phi minimum v time +0.000000 0.0000304406955 +0.300000 0.0001465972066 +0.600000 0.0001143216163 +0.900000 0.0000964170217 +1.200000 -0.0013687670109 +1.500000 -0.0114672988868 +1.800000 -0.0351488213380 +2.100000 -0.0715040334407 +2.400000 -0.1142636448684 +2.700000 -0.1591448955696 +3.000000 -0.2025646937270 diff --git a/test/test_wavef90_flat/phi_nm1.tl b/test/test_wavef90_flat/phi_nm1.tl new file mode 100644 index 0000000..4c10a1a --- /dev/null +++ b/test/test_wavef90_flat/phi_nm1.tl @@ -0,0 +1,12 @@ +"phi norm1 v time +0.000000 0.3981503311756 +0.300000 0.3713690693778 +0.600000 0.3383168162696 +0.900000 0.3067874541905 +1.200000 0.2756864662442 +1.500000 0.2451156880568 +1.800000 0.2182889145403 +2.100000 0.1981884358341 +2.400000 0.1866573423961 +2.700000 0.1839153116634 +3.000000 0.1894786214680 diff --git a/test/test_wavef90_flat/phi_nm2.tl b/test/test_wavef90_flat/phi_nm2.tl new file mode 100644 index 0000000..e8cf1c9 --- /dev/null +++ b/test/test_wavef90_flat/phi_nm2.tl @@ -0,0 +1,12 @@ +"phi norm2 v time +0.000000 0.5254444636163 +0.300000 0.5023078517618 +0.600000 0.4780830633687 +0.900000 0.4572246442845 +1.200000 0.4409206328223 +1.500000 0.4300443703310 +1.800000 0.4248526818201 +2.100000 0.4246649022785 +2.400000 0.4276629880761 +2.700000 0.4310485190783 +3.000000 0.4314829295938 diff --git a/test/test_wavef90_zero.par b/test/test_wavef90_zero.par new file mode 100644 index 0000000..dd6225e --- /dev/null +++ b/test/test_wavef90_zero.par @@ -0,0 +1,43 @@ +!DESC "Octant evolution with zero boundaries" +# $Id$ +# +# /*@@ +# @file test_rad.par +# @date Saturday 18th September 1999 +# @author Gabrielle Allen +# @desc +# Wavetoy parameter file demonstrating radiation boundaries in Octant +# @enddesc +# @@*/ + +ActiveThorns = "boundary iobasic idscalarwave time wavetoyf90 pugh pughreduce cartgrid3d ioutil ioascii" + +time::dtfac = 0.5 + +idscalarwave::initial_data = "gaussian" +idscalarwave::sigma = 2.8 +idscalarwave::radius = 5 + +wavetoyf90::bound = "zero" + +grid::type = "BySpacing" +grid::domain = "octant" +grid::dxyz = 0.6 + +driver::global_nx = 15 +driver::global_ny = 15 +driver::global_nz = 15 + +cactus::cctk_itlast = 10 + +IOBasic::outScalar_every = 1 +IOBasic::outScalar_vars = "wavetoy::phi" + +IOASCII::out1D_every = 1 +IOASCII::out1D_z = "no" +IOASCII::out1D_y = "no" +IOASCII::out1D_d = "no" +IOASCII::out1D_vars = "wavetoy::phi " + +IO::outdir = "test_wavef90_zero" + -- cgit v1.2.3