31 integer(I4B),
intent(in) :: kstp
32 integer(I4B),
intent(in) :: kper
33 real(DP),
intent(in) :: dt
34 character(len=*),
intent(in) :: sloc
35 integer(I4B),
intent(in),
optional :: idir
41 if (.not. this%isAdaptivePeriod(kper))
return
45 call mpi_allreduce(this%dtstable, global_dt, 1, mpi_double_precision, &
46 mpi_min, mpi_world%comm, ierr)
49 this%dtstable = global_dt
51 call this%AtsType%ats_submit_delt(kstp, kper, dt, sloc, idir)
62 integer(I4B),
intent(in) :: kstp
63 integer(I4B),
intent(in) :: kper
64 real(DP),
intent(inout) :: pertim
65 real(DP),
intent(in) :: perlencurrent
66 real(DP),
intent(inout) :: delt
70 real(DP) :: global_delt
74 call mpi_allreduce(delt, global_delt, 1, mpi_double_precision, &
75 mpi_min, mpi_world%comm, ierr)
80 call this%AtsType%ats_set_delt(kstp, kper, pertim, perlencurrent, delt)
subroutine ats_submit_delt(this, kstp, kper, dt, sloc, idir)
@ brief Allow and external caller to submit preferred time step
subroutine ats_set_delt(this, kstp, kper, pertim, perlencurrent, delt)
@ brief Set time step
This module defines variable data types.
type(mpiworldtype) function, pointer, public get_mpi_world()
subroutine, public check_mpi(mpi_error_code)
Check the MPI error code, report, and.
subroutine par_ats_submit_delt(this, kstp, kper, dt, sloc, idir)
@ brief Allow and external caller to submit preferred time step
subroutine par_ats_set_delt(this, kstp, kper, pertim, perlencurrent, delt)
@ brief Set time step
This module contains simulation variables.
Extends ATS so we can do synchronization.