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