|
13 | 13 | #ATS:t4 = test( SELF, "--graphics None --clearDirectories True --checkError True --dataDirBase 'dumps-planar-reproducing' --domainIndependent True --outputFile 'Noh-planar-1proc-reproducing.txt'", label="Planar Noh problem -- 1-D (serial reproducing test setup)") |
14 | 14 | #ATS:t5 = testif(t4, SELF, "--graphics None --clearDirectories False --checkError True --dataDirBase 'dumps-planar-reproducing' --domainIndependent True --outputFile 'Noh-planar-4proc-reproducing.txt' --comparisonFile 'Noh-planar-1proc-reproducing.txt'", np=4, label="Planar Noh problem -- 1-D (4 proc reproducing test)") |
15 | 15 | # |
| 16 | +# Ordinary SPH with RAJA |
| 17 | +# |
| 18 | +#ATS:t50 = test( SELF, "--raja True --graphics None --clearDirectories True --checkError True --restartStep 20", label="Planar Noh problem -- 1-D (serial RAJA)") |
| 19 | +#ATS:t51 = testif(t50, SELF, "--raja True --graphics None --clearDirectories False --checkError False --restartStep 20 --restoreCycle 20 --steps 20 --checkRestart True", label="Planar Noh problem -- 1-D (serial RAJA) RESTART CHECK") |
| 20 | +#ATS:t52 = test( SELF, "--raja True --graphics None --clearDirectories True --checkError True --dataDirBase 'dumps-planar-restartcheck' --restartStep 20", np=2, label="Planar Noh problem -- 1-D (parallel RAJA)") |
| 21 | +#ATS:t53 = testif(t52, SELF, "--raja True --graphics None --clearDirectories False --checkError False --dataDirBase 'dumps-planar-restartcheck' --restartStep 20 --restoreCycle 20 --steps 20 --checkRestart True", np=2, label="Planar Noh problem -- 1-D (parallel RAJA) RESTART CHECK") |
| 22 | +#ATS:t54 = test( SELF, "--raja True --graphics None --clearDirectories True --checkError True --dataDirBase 'dumps-planar-reproducing' --domainIndependent True --outputFile 'Noh-planar-1proc-reproducing.txt'", label="Planar Noh problem -- 1-D (serial RAJA reproducing test setup)") |
| 23 | +#ATS:t55 = testif(t54, SELF, "--raja True --graphics None --clearDirectories False --checkError True --dataDirBase 'dumps-planar-reproducing' --domainIndependent True --outputFile 'Noh-planar-4proc-reproducing.txt' --comparisonFile 'Noh-planar-1proc-reproducing.txt'", np=4, label="Planar Noh problem -- 1-D (4 proc RAJA reproducing test)") |
| 24 | +# |
16 | 25 | # Ordinary SPH restart check for SidreFileIO |
17 | 26 | # |
18 | 27 | #ATS:t10 = test( SELF, "--graphics None --clearDirectories True --checkError True --dataDir 'dumps-planar-sidre' --restartStep 20 --restartFileConstructor SidreFileIO", label="Planar Noh problem -- 1-D (serial) with Sidre") |
|
25 | 34 | # Ordinary solid SPH |
26 | 35 | # |
27 | 36 | #ATS:t100 = test( SELF, "--solid True --graphics None --clearDirectories True --checkError True --restartStep 20", label="Planar Noh problem with solid SPH -- 1-D (serial)") |
28 | | -#ATS:t101 = testif(t100, SELF, "--solid True --graphics None --clearDirectories False --checkError False --restartStep 20 --restoreCycle 20 --steps 20 --checkRestart True", label="Planar Noh problem with solid SPH -- 1-D (serial) RESTART CHECK") |
29 | | -#ATS:t102 = test( SELF, "--solid True --graphics None --clearDirectories True --checkError True --dataDirBase 'dumps-planar-restartcheck' --restartStep 20", np=2, label="Planar Noh problem with solid SPH -- 1-D (parallel)") |
30 | | -#ATS:t103 = testif(t102, SELF, "--solid True --graphics None --clearDirectories False --checkError False --dataDirBase 'dumps-planar-restartcheck' --restartStep 20 --restoreCycle 20 --steps 20 --checkRestart True", np=2, label="Planar Noh problem with solid SPH -- 1-D (parallel) RESTART CHECK") |
31 | | -#ATS:t104 = test( SELF, "--solid True --graphics None --clearDirectories True --checkError True --dataDirBase 'dumps-planar-reproducing' --domainIndependent True --outputFile 'Noh-planar-1proc-reproducing.txt'", label="Planar Noh problem with solid SPH -- 1-D (serial reproducing test setup)") |
32 | | -#ATS:t105 = testif(t104, SELF, "--solid True --graphics None --clearDirectories False --checkError True --dataDirBase 'dumps-planar-reproducing' --domainIndependent True --outputFile 'Noh-planar-4proc-reproducing.txt' --comparisonFile 'Noh-planar-1proc-reproducing.txt'", np=4, label="Planar Noh problem with solid SPH -- 1-D (4 proc reproducing test)") |
| 37 | +#ATS:t101 = testif(t100, SELF, "--solid True --graphics None --clearDirectories False --checkError False --restartStep 20 --restoreCycle 20 --steps 20 --checkRestart True", label="Planar Noh problem with solid SPH -- 1-D (serial RAJA) RESTART CHECK") |
| 38 | +#ATS:t102 = test( SELF, "--solid True --graphics None --clearDirectories True --checkError True --dataDirBase 'dumps-planar-restartcheck' --restartStep 20", np=2, label="Planar Noh problem with solid SPH -- 1-D (parallel RAJA)") |
| 39 | +#ATS:t103 = testif(t102, SELF, "--solid True --graphics None --clearDirectories False --checkError False --dataDirBase 'dumps-planar-restartcheck' --restartStep 20 --restoreCycle 20 --steps 20 --checkRestart True", np=2, label="Planar Noh problem with solid SPH -- 1-D (parallel RAJA) RESTART CHECK") |
| 40 | +#ATS:t104 = test( SELF, "--solid True --graphics None --clearDirectories True --checkError True --dataDirBase 'dumps-planar-reproducing' --domainIndependent True --outputFile 'Noh-planar-1proc-reproducing.txt'", label="Planar Noh problem with solid SPH -- 1-D (serial RAJA reproducing test setup)") |
| 41 | +#ATS:t105 = testif(t104, SELF, "--solid True --graphics None --clearDirectories False --checkError True --dataDirBase 'dumps-planar-reproducing' --domainIndependent True --outputFile 'Noh-planar-4proc-reproducing.txt' --comparisonFile 'Noh-planar-1proc-reproducing.txt'", np=4, label="Planar Noh problem with solid SPH -- 1-D (4 proc RAJA reproducing test)") |
| 42 | +# |
| 43 | +# Ordinary solid SPH with RAJA |
| 44 | +# |
| 45 | +#ATS:t150 = test( SELF, "--raja True --solid True --graphics None --clearDirectories True --checkError True --restartStep 20", label="Planar Noh problem with solid SPH -- 1-D (serial)") |
| 46 | +#ATS:t151 = testif(t150, SELF, "--raja True --solid True --graphics None --clearDirectories False --checkError False --restartStep 20 --restoreCycle 20 --steps 20 --checkRestart True", label="Planar Noh problem with solid SPH -- 1-D (serial) RESTART CHECK") |
| 47 | +#ATS:t152 = test( SELF, "--raja True --solid True --graphics None --clearDirectories True --checkError True --dataDirBase 'dumps-planar-restartcheck' --restartStep 20", np=2, label="Planar Noh problem with solid SPH -- 1-D (parallel)") |
| 48 | +#ATS:t153 = testif(t152, SELF, "--raja True --solid True --graphics None --clearDirectories False --checkError False --dataDirBase 'dumps-planar-restartcheck' --restartStep 20 --restoreCycle 20 --steps 20 --checkRestart True", np=2, label="Planar Noh problem with solid SPH -- 1-D (parallel) RESTART CHECK") |
| 49 | +#ATS:t154 = test( SELF, "--raja True --solid True --graphics None --clearDirectories True --checkError True --dataDirBase 'dumps-planar-reproducing' --domainIndependent True --outputFile 'Noh-planar-1proc-reproducing.txt'", label="Planar Noh problem with solid SPH -- 1-D (serial reproducing test setup)") |
| 50 | +#ATS:t155 = testif(t154, SELF, "--raja True --solid True --graphics None --clearDirectories False --checkError True --dataDirBase 'dumps-planar-reproducing' --domainIndependent True --outputFile 'Noh-planar-4proc-reproducing.txt' --comparisonFile 'Noh-planar-1proc-reproducing.txt'", np=4, label="Planar Noh problem with solid SPH -- 1-D (4 proc reproducing test)") |
33 | 51 | # |
34 | 52 | # CRK |
35 | 53 | # |
|
99 | 117 | hydroType = "SPH", # one of (SPH, SVPH, CRKSPH, PSPH, FSISPH, GSPH, MFM, MFV) |
100 | 118 | crktype = "default", # one of ("default", "variant") |
101 | 119 | asph = False, # For H update algorithm, applies to all hydros |
| 120 | + raja = False, # Use RAJA variant of hydro (only SPH currently) |
102 | 121 | gsphReconstructionGradient = RiemannGradient, #one of (RiemannGradient, HydroAccelerationGradient, SPHGradient, MixedGradient, OnlyDvDxGradient) |
103 | 122 | evolveTotalEnergy = False, # Only for SPH variants -- evolve total rather than specific energy |
104 | 123 | boolReduceViscosity = False, |
|
204 | 223 | if solid: |
205 | 224 | hydroPath = "Solid" + hydroPath |
206 | 225 |
|
| 226 | +if raja: |
| 227 | + hydroPath += "_RAJA" |
| 228 | + |
207 | 229 | if dataDirBase: |
208 | 230 | dataDir = os.path.join(dataDirBase, |
209 | 231 | hydroPath, |
|
525 | 547 | epsTensile = epsilonTensile, |
526 | 548 | nTensile = nTensile, |
527 | 549 | HUpdate = HUpdate, |
528 | | - ASPH = asph) |
| 550 | + ASPH = asph, |
| 551 | + RAJA = raja) |
529 | 552 | output("hydro") |
530 | 553 | try: |
531 | 554 | output("hydro.kernel") |
|
0 commit comments