Skip to content

Commit

Permalink
Update insert statements
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-walker committed Mar 3, 2024
1 parent 6ee8bb3 commit 28b85bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/zeroD/test_zeroD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,13 @@ TEST(JacobianTests, test_wall_jacobian_build)
auto sol1 = newSolution("h2o2.yaml");
sol1->thermo()->setState_TPY(1000.0, OneAtm, " O2:1.0");
IdealGasMoleReactor reactor1;
reactor1.insert(sol1);
reactor1.setSolution(sol1);
reactor1.setInitialVolume(1.0);
// create second reactor
auto sol2 = newSolution("h2o2.yaml");
sol2->thermo()->setState_TPY(900.0, OneAtm, " O2:1.0");
IdealGasConstPressureMoleReactor reactor2;
reactor2.insert(sol2);
reactor2.setSolution(sol2);
reactor2.setInitialVolume(1.0);
// create the wall
Wall w;
Expand Down Expand Up @@ -305,10 +305,10 @@ TEST(JacobianTests, test_flow_jacobian_build)
auto sol = newSolution("h2o2.yaml");
sol->thermo()->setState_TPY(1000.0, OneAtm, "O2:1.0");
Reservoir res;
res.insert(sol);
res.setSolution(sol);
// create reactor
IdealGasConstPressureMoleReactor reactor;
reactor.insert(sol);
reactor.setSolution(sol);
reactor.setInitialVolume(1.0);
// create the flow device
MassFlowController mfc;
Expand Down

0 comments on commit 28b85bf

Please sign in to comment.