Skip to content

Commit 2bc0ddb

Browse files
committed
CVODE: Print some frequent output to monitor how CVODE is doing
1 parent cb1052a commit 2bc0ddb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cvode_time_solver.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ function time_solve_with_cvode(mk_ddt_state...; reltol=1e-3, abstol=1e-6)
100100
rhs_counter = 0
101101
function cvode_rhs_call!(simtime, y, dydt)
102102
rhs_counter += 1
103+
rhs_counter % 100 == 0 && println("$rhs_counter t=$simtime")
103104
unpack_cvode_data!(y, fvec, moments, composition.n_neutral_species)
104105

105106
# Tell other processes to keep going.

0 commit comments

Comments
 (0)