Skip to content

Commit

Permalink
Fixed one more CVode *.out file and print code to look cleaner.
Browse files Browse the repository at this point in the history
  • Loading branch information
danmm16 committed Jul 22, 2023
1 parent 7b72b06 commit 50958ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/cvode/F2003_serial/cv_advdiff_bnd_f2003.f90
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ program main
print *, ' '
print *, 'Finished initialization, starting time steps'
print *, ' '
print *, ' t max.norm(u) | lnst'
print *, ' ------------------------------------------'
print *, ' t max.norm(u) | lnst'
print *, ' ------------------------------'

unorm = maxval(abs(u))
print '(2x,f6.2,2x,es14.6,2x,i5)', tcur, unorm, lnst
Expand Down Expand Up @@ -351,7 +351,7 @@ program main
tout = tout + dtout

end do
print *, ' ------------------------------------------'
print *, ' ------------------------------'

! diagnostics output
call CVodeStats(cvode_mem)
Expand Down
6 changes: 3 additions & 3 deletions examples/cvode/F2003_serial/cv_advdiff_bnd_f2003.out
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

Finished initialization, starting time steps

t max.norm(u) | lnst
------------------------------------------
t max.norm(u) | lnst
------------------------------
0.00 8.954716E+01 0
0.10 4.132889E+00 85
0.20 1.039294E+00 103
Expand All @@ -17,7 +17,7 @@
0.80 6.953434E-04 137
0.90 2.115983E-04 140
1.00 6.556853E-05 142
------------------------------------------
------------------------------

General Solver Stats:
Total internal steps taken = 142
Expand Down

0 comments on commit 50958ab

Please sign in to comment.