File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments