dougshidong / PHiLiP

Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
Other
45 stars 37 forks source link

Flow solver - make exact end time optional #215

Closed cpethrick closed 1 year ago

cpethrick commented 1 year ago

This is a follow-up to PR #211. The adjustment to finish exactly at end_time is good for most cases, but adjusting the target timestep size does not work well for RRK time refinement studies. Therefore, I am proposing to add a parameter to make this optional, and have adjusted the tests likewise.

The issue arises in the following case:

The following text file demonstrates the behaviour: convergence_behaviour.txt .

I've also included some improvements/corrections to the time refinement study tests from my branch in PR #195.