Skip to content

Commit

Permalink
Add test for ropmat value
Browse files Browse the repository at this point in the history
  • Loading branch information
hwpang committed Jan 23, 2024
1 parent 2624531 commit 7819ee5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TestReactors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,8 @@ end;
sol = solve(react.ode, CVODE_BDF(), abstol=1e-20, reltol=1e-12) #solve the ode associated with the reactor
sim = Simulation(sol, domain)

rops(sim, "H2", 220.44002454)
ropmat = rops(sim, "H2", 20.44002454)
@test ropmat[1] -5.304207075533127e-13 rtol = 1e-4

spcnames = getfield.(ig.species, :name)
h2ind = findfirst(isequal("H2"), spcnames)
Expand Down

0 comments on commit 7819ee5

Please sign in to comment.