Skip to content

Commit

Permalink
Update examples/arkode/C_serial/lsrk_analytic_VarJac.c
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel R. Reynolds <reynolds@smu.edu>
  • Loading branch information
maggul and drreynolds authored Jul 19, 2024
1 parent 15833f1 commit 10fe217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/arkode/C_serial/lsrk_analytic_VarJac.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ int main(void)

/* Print final statistics */
printf("\nFinal Statistics:\n");
flag = ARKStepPrintAllStats(arkode_mem, stdout, SUN_OUTPUTFORMAT_TABLE);
flag = ARKodePrintAllStats(arkode_mem, stdout, SUN_OUTPUTFORMAT_TABLE);

/* Print final statistics to a file in CSV format */
FID = fopen("ark_analytic_nonlin_stats.csv", "w");
flag = ARKStepPrintAllStats(arkode_mem, FID, SUN_OUTPUTFORMAT_CSV);
flag = ARKodePrintAllStats(arkode_mem, FID, SUN_OUTPUTFORMAT_CSV);
fclose(FID);

/* check the solution error */
Expand Down

0 comments on commit 10fe217

Please sign in to comment.