Skip to content

Commit 28b85bf

Browse files
Update insert statements
1 parent 6ee8bb3 commit 28b85bf

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
@@ -218,13 +218,13 @@ TEST(JacobianTests, test_wall_jacobian_build)
218218
auto sol1 = newSolution("h2o2.yaml");
219219
sol1->thermo()->setState_TPY(1000.0, OneAtm, " O2:1.0");
220220
IdealGasMoleReactor reactor1;
221-
reactor1.insert(sol1);
221+
reactor1.setSolution(sol1);
222222
reactor1.setInitialVolume(1.0);
223223
// create second reactor
224224
auto sol2 = newSolution("h2o2.yaml");
225225
sol2->thermo()->setState_TPY(900.0, OneAtm, " O2:1.0");
226226
IdealGasConstPressureMoleReactor reactor2;
227-
reactor2.insert(sol2);
227+
reactor2.setSolution(sol2);
228228
reactor2.setInitialVolume(1.0);
229229
// create the wall
230230
Wall w;
@@ -305,10 +305,10 @@ TEST(JacobianTests, test_flow_jacobian_build)
305305
auto sol = newSolution("h2o2.yaml");
306306
sol->thermo()->setState_TPY(1000.0, OneAtm, "O2:1.0");
307307
Reservoir res;
308-
res.insert(sol);
308+
res.setSolution(sol);
309309
// create reactor
310310
IdealGasConstPressureMoleReactor reactor;
311-
reactor.insert(sol);
311+
reactor.setSolution(sol);
312312
reactor.setInitialVolume(1.0);
313313
// create the flow device
314314
MassFlowController mfc;

0 commit comments

Comments
 (0)