Skip to content

Commit 51eb21c

Browse files
Update insert statements
1 parent 852e3d3 commit 51eb21c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/zeroD/test_zeroD.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,13 @@ TEST(JacobianTests, test_wall_jacobian_build)
214214
auto sol1 = newSolution("h2o2.yaml");
215215
sol1->thermo()->setState_TPY(1000.0, OneAtm, " O2:1.0");
216216
IdealGasMoleReactor reactor1;
217-
reactor1.insert(sol1);
217+
reactor1.setSolution(sol1);
218218
reactor1.setInitialVolume(1.0);
219219
// create second reactor
220220
auto sol2 = newSolution("h2o2.yaml");
221221
sol2->thermo()->setState_TPY(900.0, OneAtm, " O2:1.0");
222222
IdealGasConstPressureMoleReactor reactor2;
223-
reactor2.insert(sol2);
223+
reactor2.setSolution(sol2);
224224
reactor2.setInitialVolume(1.0);
225225
// create the wall
226226
Wall w;
@@ -301,10 +301,10 @@ TEST(JacobianTests, test_flow_jacobian_build)
301301
auto sol = newSolution("h2o2.yaml");
302302
sol->thermo()->setState_TPY(1000.0, OneAtm, "O2:1.0");
303303
Reservoir res;
304-
res.insert(sol);
304+
res.setSolution(sol);
305305
// create reactor
306306
IdealGasConstPressureMoleReactor reactor;
307-
reactor.insert(sol);
307+
reactor.setSolution(sol);
308308
reactor.setInitialVolume(1.0);
309309
// create the flow device
310310
MassFlowController mfc;

0 commit comments

Comments
 (0)