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 @@ -218,13 +218,13 @@ TEST(JacobianTests, test_wall_jacobian_build)
218
218
auto sol1 = newSolution (" h2o2.yaml" );
219
219
sol1->thermo ()->setState_TPY (1000.0 , OneAtm, " O2:1.0" );
220
220
IdealGasMoleReactor reactor1;
221
- reactor1.insert (sol1);
221
+ reactor1.setSolution (sol1);
222
222
reactor1.setInitialVolume (1.0 );
223
223
// create second reactor
224
224
auto sol2 = newSolution (" h2o2.yaml" );
225
225
sol2->thermo ()->setState_TPY (900.0 , OneAtm, " O2:1.0" );
226
226
IdealGasConstPressureMoleReactor reactor2;
227
- reactor2.insert (sol2);
227
+ reactor2.setSolution (sol2);
228
228
reactor2.setInitialVolume (1.0 );
229
229
// create the wall
230
230
Wall w;
@@ -305,10 +305,10 @@ TEST(JacobianTests, test_flow_jacobian_build)
305
305
auto sol = newSolution (" h2o2.yaml" );
306
306
sol->thermo ()->setState_TPY (1000.0 , OneAtm, " O2:1.0" );
307
307
Reservoir res;
308
- res.insert (sol);
308
+ res.setSolution (sol);
309
309
// create reactor
310
310
IdealGasConstPressureMoleReactor reactor;
311
- reactor.insert (sol);
311
+ reactor.setSolution (sol);
312
312
reactor.setInitialVolume (1.0 );
313
313
// create the flow device
314
314
MassFlowController mfc;
You can’t perform that action at this time.
0 commit comments