MPI-AMRVAC  3.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Functions/Subroutines
setdt.t File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine setdt ()
 setdt - set dt for all levels between levmin and levmax. dtpar>0 --> use fixed dtpar for all level dtpar<=0 --> determine CFL limited timestep More...
 
subroutine getdt_courant (w, ixIL, ixOL, dtnew, dxD, x, cmax_mype, a2max_mype)
 compute CFL limited dt (for variable time stepping) More...
 

Function/Subroutine Documentation

◆ getdt_courant()

subroutine setdt::getdt_courant ( double precision, dimension(ixi^s,1:nw), intent(inout)  w,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, intent(inout)  dtnew,
double precision, intent(in)  dx,
double precision, intent(in)  D,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
double precision, intent(inout)  cmax_mype,
double precision, dimension(ndim), intent(inout)  a2max_mype 
)

compute CFL limited dt (for variable time stepping)

Definition at line 175 of file setdt.t.

◆ setdt()

subroutine setdt

setdt - set dt for all levels between levmin and levmax. dtpar>0 --> use fixed dtpar for all level dtpar<=0 --> determine CFL limited timestep

Test case, fixed cutoff temperature do nothing here

1D TRAC method

LTRAC method, by iijima et al. 2021 do nothing here

2D or 3D TRACL(ine) method

2D or 3D TRACB(lock) method

2D or 3D TRACL(ine) method with mask

2D or 3D TRACB(lock) method with mask

Definition at line 5 of file setdt.t.

Here is the call graph for this function: