From 42fa73e6674fa27c01d6f34c4881ef523bb288f1 Mon Sep 17 00:00:00 2001 From: Anthony Walker Date: Sun, 3 Mar 2024 10:00:32 -0500 Subject: [PATCH] Update insert statements --- test/zeroD/test_zeroD.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/zeroD/test_zeroD.cpp b/test/zeroD/test_zeroD.cpp index 1de487c723..358f7593f9 100644 --- a/test/zeroD/test_zeroD.cpp +++ b/test/zeroD/test_zeroD.cpp @@ -218,13 +218,13 @@ TEST(JacobianTests, test_wall_jacobian_build) auto sol1 = newSolution("h2o2.yaml"); sol1->thermo()->setState_TPY(1000.0, OneAtm, " O2:1.0"); IdealGasMoleReactor reactor1; - reactor1.insert(sol1); + reactor1.setSolution(sol1); reactor1.setInitialVolume(1.0); // create second reactor auto sol2 = newSolution("h2o2.yaml"); sol2->thermo()->setState_TPY(900.0, OneAtm, " O2:1.0"); IdealGasConstPressureMoleReactor reactor2; - reactor2.insert(sol2); + reactor2.setSolution(sol2); reactor2.setInitialVolume(1.0); // create the wall Wall w; @@ -305,10 +305,10 @@ TEST(JacobianTests, test_flow_jacobian_build) auto sol = newSolution("h2o2.yaml"); sol->thermo()->setState_TPY(1000.0, OneAtm, "O2:1.0"); Reservoir res; - res.insert(sol); + res.setSolution(sol); // create reactor IdealGasConstPressureMoleReactor reactor; - reactor.insert(sol); + reactor.setSolution(sol); reactor.setInitialVolume(1.0); // create the flow device MassFlowController mfc;