Skip to content

Commit

Permalink
CVODE: Print some frequent output to monitor how CVODE is doing
Browse files Browse the repository at this point in the history
  • Loading branch information
johnomotani committed Sep 5, 2023
1 parent 302b00d commit 0df4e4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cvode_time_solver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ function time_solve_with_cvode(mk_ddt_state...; reltol=1e-3, abstol=1e-6)
rhs_counter = 0
function cvode_rhs_call!(simtime, y, dydt)
rhs_counter += 1
rhs_counter % 100 == 0 && println("$rhs_counter t=$simtime")
unpack_cvode_data!(y, fvec, moments, composition.n_neutral_species)

# Tell other processes to keep going.
Expand Down

0 comments on commit 0df4e4b

Please sign in to comment.