Skip to content

Commit f61c5de

Browse files
committed
fix typo
1 parent ea5e99c commit f61c5de

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

TestCases/parallel_regression.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,17 +1479,17 @@ def main():
14791479
pywrapper_buoyancy = TestCase('pywrapper_buoyancy')
14801480
pywrapper_buoyancy.cfg_dir = "py_wrapper/custom_source_buoyancy"
14811481
pywrapper_buoyancy.cfg_file = "lam_buoyancy_cavity.cfg"
1482-
pywrapper_buoyancy.test_iter = 0
1483-
pywrapper_buoyancy.test_vals = [0.500000, 0.000000, -3.037859, -1.603563, -2.074259, 2.424288, 7.762848, -0.220436]
1482+
pywrapper_buoyancy.test_iter = 1
1483+
pywrapper_buoyancy.test_vals = [0.500000]
14841484
pywrapper_buoyancy.command = TestCase.Command("mpirun -np 2", "python", "run.py")
14851485
test_list.append(pywrapper_buoyancy)
14861486

14871487
# custom source: turbulent flamespeed closure (Zimont model) for PSI testcase
14881488
pywrapper_zimont = TestCase('pywrapper_zimont')
14891489
pywrapper_zimont.cfg_dir = "py_wrapper/turbulent_premixed_psi"
14901490
pywrapper_zimont.cfg_file = "psi.cfg"
1491-
pywrapper_zimont.test_iter = 0
1492-
pywrapper_zimont.test_vals = [0.500000, 0.000000, -3.037859, -1.603563, -2.074259, 2.424288, 7.762848, -0.220436]
1491+
pywrapper_zimont.test_iter = 1
1492+
pywrapper_zimont.test_vals = [0.500000]
14931493
pywrapper_zimont.command = TestCase.Command("mpirun -np 2", "python", "run.py")
14941494
test_list.append(pywrapper_zimont)
14951495

TestCases/py_wrapper/turbulent_premixed_psi/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def main():
231231
driver.SetPointCustomSource(iSPECIESSOLVER, i_node,S)
232232

233233
# for the update of temperature, we need to update also the halo nodes
234-
for i_node in range(driver.GetNumberNodes():
234+
for i_node in range(driver.GetNumberNodes()):
235235
# set the temperature to T = c*Tf + (1-c)*Tu
236236
update_temperature(driver, i_node)
237237

0 commit comments

Comments
 (0)