dougshidong / PHiLiP

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

Default function definition for get_adaptive_time_step #151

Open jbrillon opened 2 years ago

jbrillon commented 2 years ago

In PR #150, the typical advection based CFL condition for determining the time step on the fly was implemented for the periodic_turbulence case. However, the definition for get_adaptive_time_step() in flow_solver_case_base.cpp was not defined as the implementation is a bit more involved since one must consider the general case of having a non-uniform grid. For the implementation, we would need to find the minimum approximate_grid_spacing for a given dg->triangulation.